code cleanup
[fanfix.git] / res / layout / fragment_android_reader_book.xml
CommitLineData
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"
a18ba536 4 android:id="@+id/Book"
64968418
NR
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
a18ba536 18 android:id="@+id/Book_lblTitle"
64968418
NR
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"
a18ba536
NR
24 android:textStyle="bold"
25 app:layout_constraintEnd_toStartOf="@+id/Book_imgCover"
64968418 26 app:layout_constraintStart_toStartOf="parent"
a18ba536 27 app:layout_constraintTop_toTopOf="@+id/Book_imgCover" />
64968418
NR
28
29 <ImageView
a18ba536 30 android:id="@+id/Book_imgCover"
64968418
NR
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" />
a18ba536
NR
40
41 <TextView
42 android:id="@+id/Book_lblAuthor"
43 android:layout_width="0dp"
44 android:layout_height="wrap_content"
45 android:layout_marginEnd="8dp"
46 android:layout_marginTop="8dp"
47 android:textColor="@android:color/darker_gray"
48 app:layout_constraintEnd_toStartOf="@+id/Book_imgCover"
49 app:layout_constraintStart_toEndOf="@+id/Book_lblBy"
50 app:layout_constraintTop_toBottomOf="@+id/Book_lblTitle" />
51
52 <TextView
53 android:id="@+id/Book_lblBy"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_marginStart="8dp"
57 android:layout_marginTop="8dp"
58 android:text="By "
59 android:textColor="@android:color/darker_gray"
60 app:layout_constraintStart_toStartOf="parent"
61 app:layout_constraintTop_toBottomOf="@+id/Book_lblTitle" />
64968418
NR
62 </android.support.constraint.ConstraintLayout>
63</FrameLayout>