Advertisement
Guest User

Untitled

a guest
Oct 31st, 2014
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. values/
  2. integers.xml
  3. values-small/
  4. integers.xml
  5. values-large/
  6. integers.xml
  7. values-xlarge/
  8. integers.xml
  9.  
  10. <?xml version="1.0" encoding="utf-8"?>
  11. <resources>
  12. <integer name="grid_column_count">2</integer>
  13. </resources>
  14.  
  15. <?xml version="1.0" encoding="utf-8"?>
  16. <FrameLayout
  17. xmlns:android="http://schemas.android.com/apk/res/android"
  18. xmlns:app="http://schemas.android.com/apk/res-auto"
  19. android:layout_width="match_parent"
  20. android:layout_height="match_parent"
  21. >
  22. <com.etsy.android.grid.StaggeredGridView
  23. android:id="@+id/grid_view"
  24. android:layout_width="match_parent"
  25. android:layout_height="match_parent"
  26. app:item_margin="8dp"
  27. app:column_count="@integer/grid_column_count" />
  28.  
  29. <ViewStub
  30. android:id="@android:id/empty"
  31. android:layout_width="wrap_content"
  32. android:layout_height="wrap_content"
  33. android:gravity="center"
  34. android:layout="@layout/empty_view"/>
  35.  
  36. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement