fragment_record_list.xml 3.1 KB

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