layout_alertview_actionsheet.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:orientation="vertical" android:layout_width="match_parent"
  4. android:layout_height="wrap_content">
  5. <LinearLayout
  6. android:id="@+id/loAlertHeader"
  7. android:background="@drawable/bg_actionsheet_header"
  8. android:layout_weight="1.0"
  9. android:layout_width="match_parent"
  10. android:layout_height="wrap_content"
  11. android:orientation="vertical">
  12. <TextView
  13. android:id="@+id/tvAlertTitle"
  14. android:layout_width="match_parent"
  15. android:layout_height="@dimen/height_actionsheet_title"
  16. android:gravity="center"
  17. android:textColor="@color/textColor_actionsheet_title"
  18. android:textSize="@dimen/textSize_actionsheet_title" />
  19. <TextView
  20. android:id="@+id/tvAlertMsg"
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:layout_marginBottom="@dimen/marginBottom_actionsheet_msg"
  24. android:gravity="center"
  25. android:textColor="@color/textColor_actionsheet_msg"
  26. android:textSize="@dimen/textSize_actionsheet_msg" />
  27. <ListView
  28. android:id="@+id/alertButtonListView"
  29. android:layout_weight="1.0"
  30. android:layout_width="match_parent"
  31. android:layout_height="match_parent"
  32. android:listSelector="@drawable/bg_alertbutton_none"
  33. android:cacheColorHint="@android:color/transparent"
  34. android:divider="@null"
  35. android:scrollbars="none"/>
  36. </LinearLayout>
  37. <TextView
  38. android:id="@+id/tvAlertCancel"
  39. android:visibility="gone"
  40. android:layout_marginTop="@dimen/margin_actionsheet_left_right"
  41. android:layout_width="match_parent"
  42. android:layout_height="@dimen/height_alert_button"
  43. android:gravity="center"
  44. android:clickable="true"
  45. android:background="@drawable/bg_actionsheet_cancel"
  46. android:textColor="@color/textColor_alert_button_cancel"
  47. android:textStyle="bold"
  48. android:textSize="@dimen/textSize_alert_button" />
  49. </LinearLayout>