Blame view
app/src/main/res/layout/layout_rank_row.xml
3.88 KB
7f095a929
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="102dp" android:background="@android:color/white" android:orientation="vertical"> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@android:color/black" /> <RelativeLayout android:layout_width="match_parent" android:layout_height="100dp"> <TextView android:id="@+id/tv_position" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_margin="8dp" |
cf00f22ab
|
23 |
android:layout_alignParentLeft="true" |
7f095a929
|
24 25 26 27 28 |
android:text="1" android:textColor="@android:color/black" android:textSize="36sp" /> <ImageView |
cf00f22ab
|
29 30 31 32 33 34 35 36 37 |
android:id="@+id/imv_position" android:layout_width="56dp" android:layout_height="40dp" android:layout_centerVertical="true" android:layout_marginRight="8dp" android:layout_toRightOf="@id/tv_position" android:layout_marginLeft="2dp"/> <ImageView |
7f095a929
|
38 39 40 41 42 |
android:id="@+id/imv_user_icon" android:layout_width="56dp" android:layout_height="56dp" android:layout_centerVertical="true" android:layout_margin="8dp" |
cf00f22ab
|
43 44 |
android:layout_toRightOf="@id/imv_position" android:background="@drawable/ic_ava" /> |
7f095a929
|
45 46 47 48 49 |
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_centerVertical="true" |
7f095a929
|
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
android:layout_toRightOf="@+id/imv_user_icon" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:layout_width="80dp" android:layout_height="wrap_content" android:text="ユーザー" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="ニックネーム" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:id="@+id/tv_steps" android:layout_width="80dp" android:layout_height="wrap_content" android:text="12345 歩" /> <TextView android:id="@+id/tv_distance" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="123456 km" /> </LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal"> <TextView android:id="@+id/tv_time" android:layout_width="80dp" android:layout_height="wrap_content" android:text="11:22:33" /> <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="" /> </LinearLayout> </LinearLayout> |
cf00f22ab
|
104 |
|
7f095a929
|
105 106 107 108 109 110 111 |
</RelativeLayout> <View android:layout_width="match_parent" android:layout_height="1dp" android:background="@android:color/black" /> </LinearLayout> |