Advertisement
Guest User

Untitled

a guest
Sep 30th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@drawable/background"
  6. android:orientation="vertical" >
  7.  
  8. <TextView
  9. android:id="@+id/textView1"
  10. android:layout_width="match_parent"
  11. android:layout_height="50dp"
  12. android:background="@drawable/header_bg"
  13. android:gravity="center"
  14. android:text="@string/header_main"
  15. android:textAppearance="?android:attr/textAppearanceLarge"
  16. android:textColor="#ffffff"
  17. android:textStyle="bold" />
  18.  
  19. <LinearLayout
  20. android:id="@+id/linearLayout1"
  21. android:layout_width="match_parent"
  22. android:layout_height="match_parent"
  23. android:gravity="center"
  24. android:layout_below="@+id/textView2"
  25. android:orientation="horizontal"
  26. >
  27.  
  28. <GridView
  29. android:id="@+id/list"
  30. android:layout_width="wrap_content"
  31. android:layout_height="match_parent"
  32. android:horizontalSpacing="@dimen/photo_spacing"
  33. android:numColumns="4"
  34. android:gravity="center"
  35. android:padding="4dp"
  36. android:scrollbars="none"
  37. android:stretchMode="columnWidth"
  38. android:layout_gravity="center"
  39. android:verticalSpacing="@dimen/photo_spacing" />
  40.  
  41. </LinearLayout>
  42.  
  43. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement