dialog_select.xml 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="fill_parent"
  4. android:layout_height="fill_parent"
  5. android:background="@drawable/choosebg"
  6. android:orientation="vertical" >
  7. <include
  8. android:id="@+id/include_lay_ntitle"
  9. layout="@layout/fragment_title"
  10. android:visibility="gone" />
  11. <LinearLayout
  12. android:id="@+id/ll_original_title"
  13. android:layout_width="fill_parent"
  14. android:layout_height="60dp"
  15. android:background="@color/oldred"
  16. android:orientation="horizontal" >
  17. <TextView
  18. android:layout_width="60dp"
  19. android:layout_height="fill_parent"
  20. android:gravity="center"
  21. android:textColor="@color/white"
  22. android:textSize="18sp" />
  23. <TextView
  24. android:id="@+id/title"
  25. android:layout_width="wrap_content"
  26. android:layout_height="fill_parent"
  27. android:layout_weight="1"
  28. android:gravity="center"
  29. android:text="请 选 择"
  30. android:textColor="@color/white"
  31. android:textSize="18sp" />
  32. <TextView
  33. android:id="@+id/dialog_select_right"
  34. android:layout_width="60dp"
  35. android:layout_height="fill_parent"
  36. android:gravity="center"
  37. android:text="确定"
  38. android:textColor="@color/white"
  39. android:textSize="18sp" />
  40. </LinearLayout>
  41. <LinearLayout
  42. android:id="@+id/layout_dialog_select_search"
  43. android:layout_width="fill_parent"
  44. android:layout_height="50dp"
  45. android:background="@drawable/ss3"
  46. android:orientation="vertical" >
  47. <EditText
  48. android:id="@+id/et_dialog_select_search"
  49. android:layout_width="match_parent"
  50. android:layout_height="match_parent"
  51. android:layout_margin="10dp"
  52. android:background="@drawable/ss2"
  53. android:drawableLeft="@drawable/ss1"
  54. android:ems="10"
  55. android:hint="搜索" >
  56. <requestFocus />
  57. </EditText>
  58. </LinearLayout>
  59. <View
  60. android:layout_width="match_parent"
  61. android:layout_height="1dp"
  62. android:background="@color/EBEBEB" />
  63. <ListView
  64. android:id="@+id/lv_dialog_select_list"
  65. android:layout_width="fill_parent"
  66. android:layout_height="match_parent"
  67. android:background="#fff"
  68. android:cacheColorHint="#00000000"
  69. android:divider="@null"
  70. android:paddingBottom="@dimen/lv_paddingBottom_20" >
  71. </ListView>
  72. <!--
  73. android:fastScrollEnabled="true"
  74. android:focusable="true"
  75. android:listSelector="@drawable/list_null"
  76. -->
  77. </LinearLayout>