fragment_record_list.xml 2.7 KB

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