|
24 | 24 | android:layout_height="wrap_content"
|
25 | 25 | android:layout_marginBottom="@dimen/layout_margin_medium"
|
26 | 26 | android:background="@color/color_primary"
|
27 |
| - android:orientation="horizontal" |
| 27 | + android:orientation="vertical" |
28 | 28 | android:padding="@dimen/padding_medium">
|
29 | 29 |
|
| 30 | + <LinearLayout |
| 31 | + android:layout_width="match_parent" |
| 32 | + android:layout_height="wrap_content"> |
| 33 | + |
| 34 | + <TextView |
| 35 | + android:id="@+id/session_title" |
| 36 | + android:layout_width="0dp" |
| 37 | + android:layout_height="wrap_content" |
| 38 | + android:layout_weight="1" |
| 39 | + android:padding="@dimen/padding_medium" |
| 40 | + android:textColor="@color/white" |
| 41 | + android:textSize="@dimen/heading_text_size" |
| 42 | + tools:text="Session Title" /> |
| 43 | + |
| 44 | + <ImageView |
| 45 | + android:id="@+id/session_bookmark_status" |
| 46 | + android:layout_width="wrap_content" |
| 47 | + android:layout_height="wrap_content" |
| 48 | + android:layout_gravity="end" |
| 49 | + android:background="?attr/selectableItemBackgroundBorderless" |
| 50 | + android:contentDescription="@string/session_bookmark_status" |
| 51 | + android:padding="@dimen/padding_medium" |
| 52 | + app:srcCompat="@drawable/ic_bookmark_border_white_24dp" /> |
| 53 | + |
| 54 | + </LinearLayout> |
| 55 | + |
30 | 56 | <TextView
|
31 |
| - android:id="@+id/session_title" |
32 |
| - android:layout_width="0dp" |
33 |
| - android:layout_height="wrap_content" |
34 |
| - android:layout_weight="1" |
35 |
| - android:padding="@dimen/padding_medium" |
36 |
| - android:textColor="@color/white" |
37 |
| - android:textSize="@dimen/heading_text_size" |
38 |
| - tools:text="Session Title" /> |
39 |
| - |
40 |
| - <ImageView |
41 |
| - android:id="@+id/session_bookmark_status" |
| 57 | + android:id="@+id/subtitle" |
42 | 58 | android:layout_width="wrap_content"
|
43 | 59 | android:layout_height="wrap_content"
|
44 |
| - android:layout_gravity="end" |
45 |
| - android:background="?attr/selectableItemBackgroundBorderless" |
46 |
| - android:contentDescription="@string/session_bookmark_status" |
47 |
| - android:padding="@dimen/padding_medium" |
48 |
| - app:srcCompat="@drawable/ic_bookmark_border_white_24dp" /> |
49 |
| - |
| 60 | + android:layout_marginStart="@dimen/layout_margin_medium" |
| 61 | + android:layout_marginLeft="@dimen/layout_margin_medium" |
| 62 | + android:textSize="@dimen/text_size_medium" |
| 63 | + tools:text="Type"/> |
50 | 64 |
|
51 | 65 | </LinearLayout>
|
52 | 66 |
|
|
0 commit comments