search_item_datepicker.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content" >
  5. <TextView
  6. android:id="@+id/aname"
  7. android:layout_width="wrap_content"
  8. android:layout_height="wrap_content"
  9. android:layout_alignParentLeft="true"
  10. android:layout_alignParentTop="true"
  11. android:text="Medium Text"
  12. android:textAppearance="?android:attr/textAppearanceMedium" />
  13. <LinearLayout
  14. android:layout_width="fill_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_below="@+id/aname"
  17. android:orientation="vertical" >
  18. <LinearLayout
  19. android:layout_width="match_parent"
  20. android:layout_height="wrap_content" >
  21. <EditText
  22. android:id="@+id/et_from"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_weight="1"
  26. android:ems="10"
  27. android:hint="@string/str_from"
  28. android:focusable="false"
  29. />
  30. <Button
  31. android:id="@+id/btn_clear_from"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:layout_weight="1"
  35. android:text="@string/str_clear" />
  36. </LinearLayout>
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="wrap_content" >
  40. <EditText
  41. android:id="@+id/et_to"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content"
  44. android:layout_weight="1"
  45. android:ems="10"
  46. android:hint="@string/str_to"
  47. android:focusable="false"
  48. >
  49. <requestFocus />
  50. </EditText>
  51. <Button
  52. android:id="@+id/btn_clear_to"
  53. android:layout_width="wrap_content"
  54. android:layout_height="wrap_content"
  55. android:layout_weight="1"
  56. android:text="@string/str_clear"/>
  57. </LinearLayout>
  58. </LinearLayout>
  59. </RelativeLayout>