fragment_record_list.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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="match_parent"
  5. android:background="@android:color/transparent"
  6. >
  7. <ExpandableListView
  8. xmlns:android="http://schemas.android.com/apk/res/android"
  9. android:id="@+id/loglistview"
  10. android:layout_width="match_parent"
  11. android:layout_height="match_parent"
  12. android:layout_above="@+id/linearLayout"
  13. android:layout_alignParentLeft="true"
  14. android:layout_alignParentTop="true"
  15. android:layout_marginLeft="0dp"
  16. android:layout_marginTop="0dp"
  17. android:background="@android:color/transparent"
  18. android:choiceMode="singleChoice"
  19. android:divider="@android:color/transparent"
  20. android:dividerHeight="5dp"
  21. android:padding="5dp"
  22. android:headerDividersEnabled="false"
  23. android:childDivider="@android:color/transparent">
  24. </ExpandableListView>
  25. <RelativeLayout
  26. style="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse"
  27. android:orientation="horizontal"
  28. android:layout_width="fill_parent"
  29. android:layout_height="wrap_content"
  30. android:alpha="0.8"
  31. android:id="@+id/linearLayout"
  32. android:layout_alignParentBottom="true"
  33. android:layout_alignParentLeft="true"
  34. android:layout_alignParentStart="true">
  35. <ImageButton
  36. style="@android:style/Widget.DeviceDefault.ActionButton.Overflow"
  37. android:layout_width="wrap_content"
  38. android:layout_height="wrap_content"
  39. android:id="@+id/SortButton"
  40. android:src="@drawable/ic_sort_by_size"
  41. android:layout_gravity="right"
  42. android:layout_alignParentTop="true"
  43. android:layout_alignParentRight="true"
  44. android:layout_alignParentEnd="true"/>
  45. <ImageButton
  46. style="@android:style/Widget.DeviceDefault.ActionButton.Overflow"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:id="@+id/FilterButton"
  50. android:src="@drawable/ic_filter"
  51. android:layout_alignParentTop="true"
  52. android:layout_toLeftOf="@+id/GroupButton"/>
  53. <ImageButton
  54. style="@android:style/Widget.DeviceDefault.ActionButton.Overflow"
  55. android:layout_width="wrap_content"
  56. android:layout_height="wrap_content"
  57. android:id="@+id/GroupButton"
  58. android:src="@drawable/ic_device_access_storage"
  59. android:layout_alignParentTop="true"
  60. android:layout_toLeftOf="@+id/SortButton"/>
  61. </RelativeLayout>
  62. </RelativeLayout>