SHOW:
|
|
- or go back to the newest paste.
| 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" |
| 68 | + | android:layout_width="match_parent" |
| 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" |
| 73 | + | android:layout_alignParentTop="true"/> |
| 74 | - | android:layout_alignParentLeft="true" |
| 74 | + | |
| 75 | - | android:layout_alignParentStart="true" /> |
| 75 | + | |
| 76 | <RelativeLayout | |
| 77 | android:layout_width="0dp" | |
| 78 | android:layout_height="match_parent" | |
| 79 | android:background="@drawable/card" | |
| 80 | android:layout_weight="0.33"> | |
| 81 | ||
| 82 | <ImageView | |
| 83 | android:layout_width="match_parent" | |
| 84 | - | android:layout_alignParentStart="true" |
| 84 | + | |
| 85 | android:padding="8dp" | |
| 86 | android:id="@+id/imageView" | |
| 87 | android:src="@drawable/img_football" | |
| 88 | - | android:layout_width="wrap_content" |
| 88 | + | android:layout_alignParentTop="true"/> |
| 89 | </RelativeLayout> | |
| 90 | ||
| 91 | <RelativeLayout | |
| 92 | android:layout_width="0dp" | |
| 93 | - | android:layout_alignParentTop="true" |
| 93 | + | |
| 94 | - | android:layout_alignParentLeft="true" |
| 94 | + | |
| 95 | - | android:layout_alignParentStart="true" /> |
| 95 | + | |
| 96 | ||
| 97 | <ImageView | |
| 98 | android:layout_width="match_parent" | |
| 99 | android:layout_height="wrap_content" | |
| 100 | android:padding="8dp" | |
| 101 | android:id="@+id/imageView" | |
| 102 | android:src="@drawable/img_football" | |
| 103 | android:layout_alignParentTop="true" /> | |
| 104 | </RelativeLayout> | |
| 105 | - | android:layout_width="wrap_content" |
| 105 | + | |
| 106 | </LinearLayout> | |
| 107 | ||
| 108 | </RelativeLayout> |