Commit | Line | Data |
---|---|---|
64968418 NR |
1 | <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" |
2 | xmlns:app="http://schemas.android.com/apk/res-auto" | |
3 | xmlns:tools="http://schemas.android.com/tools" | |
4 | android:id="@+id/coverWidget" | |
5 | android:layout_width="match_parent" | |
6 | android:layout_height="match_parent" | |
7 | android:clickable="true" | |
8 | android:focusable="true" | |
9 | android:onClick="onFrag"> | |
10 | ||
11 | <!-- TODO: Update blank fragment layout --> | |
12 | ||
13 | <android.support.constraint.ConstraintLayout | |
14 | android:layout_width="match_parent" | |
15 | android:layout_height="wrap_content"> | |
16 | ||
17 | <TextView | |
18 | android:id="@+id/title" | |
19 | android:layout_width="0dp" | |
20 | android:layout_height="wrap_content" | |
21 | android:layout_marginEnd="8dp" | |
22 | android:layout_marginStart="8dp" | |
23 | android:layout_marginTop="8dp" | |
24 | android:text="TITLE" | |
25 | app:layout_constraintEnd_toStartOf="@+id/cover" | |
26 | app:layout_constraintStart_toStartOf="parent" | |
27 | app:layout_constraintTop_toTopOf="@+id/cover" /> | |
28 | ||
29 | <ImageView | |
30 | android:id="@+id/cover" | |
31 | android:layout_width="wrap_content" | |
32 | android:layout_height="wrap_content" | |
33 | android:layout_marginBottom="8dp" | |
34 | android:layout_marginEnd="8dp" | |
35 | android:layout_marginTop="8dp" | |
36 | android:src="@mipmap/ic_launcher" | |
37 | app:layout_constraintBottom_toBottomOf="parent" | |
38 | app:layout_constraintEnd_toEndOf="parent" | |
39 | app:layout_constraintTop_toTopOf="parent" /> | |
40 | </android.support.constraint.ConstraintLayout> | |
41 | </FrameLayout> |