fragment_record_list.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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/SortButton"/>
  50. </RelativeLayout>
  51. </RelativeLayout>