Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3.  
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="wrap_content"
  8. android:background="?attr/colorPrimaryDark">
  9.  
  10. <RelativeLayout
  11. android:id="@+id/btn_updown"
  12. android:layout_width="48dp"
  13. android:layout_height="48dp"
  14. android:layout_alignParentEnd="true"
  15. android:layout_alignParentRight="true"
  16. android:gravity="center"
  17. android:textColor="@android:color/white">
  18.  
  19. <View
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:background="@drawable/ic_up"/>
  23.  
  24. </RelativeLayout>
  25.  
  26. <TextView
  27. android:id="@+id/tv_archive_year"
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:padding="8dp"
  31. android:gravity="center"
  32. android:textStyle="bold"
  33. android:text="This item with child"
  34. android:textColor="@android:color/black"
  35. android:textSize="20sp"/>
  36.  
  37. <com.github.aakira.expandablelayout.ExpandableLinearLayout
  38. android:id="@+id/expandable_archive"
  39. android:layout_width="match_parent"
  40. android:layout_height="wrap_content"
  41. android:layout_below="@id/tv_archive_year"
  42. android:orientation="vertical"
  43. app:ael_expanded="true"
  44. app:ael_interpolator="bounce">
  45.  
  46. <LinearLayout
  47. android:background="#FFFF"
  48. android:layout_width="match_parent"
  49. android:layout_height="400dp">
  50.  
  51.  
  52. <android.support.v7.widget.RecyclerView
  53. android:id="@+id/list_archive_child"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:textSize="20sp"/>
  57.  
  58. </LinearLayout>
  59. </com.github.aakira.expandablelayout.ExpandableLinearLayout>
  60.  
  61. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement