Advertisement
Guest User

Untitled

a guest
Dec 20th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 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:paddingLeft="@dimen/activity_horizontal_margin"
  6. android:paddingRight="@dimen/activity_horizontal_margin"
  7. android:paddingTop="@dimen/activity_vertical_margin"
  8. android:paddingBottom="@dimen/activity_vertical_margin"
  9. android:background="@color/second_grey"
  10. tools:context="com.favega.groups.MainActivity$PlaceholderFragment">
  11.  
  12. <LinearLayout
  13. android:orientation="vertical"
  14. android:layout_width="fill_parent"
  15. android:layout_height="fill_parent"
  16. android:layout_alignParentBottom="true"
  17. android:layout_marginBottom="244dp"
  18. android:weightSum="1">
  19.  
  20. <RelativeLayout
  21. android:orientation="horizontal"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_alignParentTop="true"
  25. android:layout_alignParentLeft="true"
  26. android:layout_alignParentStart="true">
  27.  
  28. <TextView
  29. android:layout_width="match_parent"
  30. android:layout_height="wrap_content"
  31. android:text="Deportes"
  32. android:textSize="24dp"
  33. android:id="@+id/textView"
  34. android:layout_alignParentTop="true"
  35. android:layout_alignParentLeft="true"
  36. android:layout_alignParentStart="true" />
  37.  
  38. <Button
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:text="VER MÁS"
  42. android:background="@drawable/blue"
  43. android:textSize="12dp"
  44. android:textColor="@android:color/white"
  45. android:id="@+id/button"
  46. android:layout_alignParentTop="true"
  47. android:layout_alignParentRight="true"
  48. android:layout_alignParentEnd="true"
  49. android:layout_marginRight="12dp"
  50. android:layout_alignBottom="@+id/textView" />
  51. </RelativeLayout>
  52.  
  53. <LinearLayout
  54. android:orientation="horizontal"
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:paddingTop="4dp"
  58. android:layout_weight="0.65"
  59. android:weightSum="0.99">
  60.  
  61. <RelativeLayout
  62. android:layout_height="match_parent"
  63. android:background="@drawable/card"
  64. android:layout_width="0dp"
  65. android:layout_weight="0.33">
  66.  
  67. <ImageView
  68. android:layout_width="wrap_content"
  69. android:layout_height="wrap_content"
  70. android:padding="8dp"
  71. android:id="@+id/imageView"
  72. android:src="@drawable/img_football"
  73. android:layout_alignParentTop="true"
  74. android:layout_alignParentLeft="true"
  75. android:layout_alignParentStart="true" />
  76. </RelativeLayout>
  77.  
  78. <RelativeLayout
  79. android:layout_width="0dp"
  80. android:layout_height="match_parent"
  81. android:background="@drawable/card"
  82. android:layout_alignParentTop="true"
  83. android:layout_alignParentLeft="true"
  84. android:layout_alignParentStart="true"
  85. android:layout_weight="0.33">
  86.  
  87. <ImageView
  88. android:layout_width="wrap_content"
  89. android:layout_height="wrap_content"
  90. android:padding="8dp"
  91. android:id="@+id/imageView"
  92. android:src="@drawable/img_football"
  93. android:layout_alignParentTop="true"
  94. android:layout_alignParentLeft="true"
  95. android:layout_alignParentStart="true" />
  96. </RelativeLayout>
  97.  
  98. <RelativeLayout
  99. android:layout_width="0dp"
  100. android:background="@drawable/card"
  101. android:layout_height="match_parent"
  102. android:layout_weight="0.33">
  103.  
  104. <ImageView
  105. android:layout_width="wrap_content"
  106. android:layout_height="wrap_content"
  107. android:padding="8dp"
  108. android:id="@+id/imageView"
  109. android:src="@drawable/img_football"
  110. android:layout_alignParentTop="true"
  111. android:layout_centerHorizontal="true" />
  112. </RelativeLayout>
  113. </LinearLayout>
  114. </LinearLayout>
  115.  
  116. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement