Added Android code
[wl-app.git] / Android / app / src / main / res / layout / fragment_book_details.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3               xmlns:tools="http://schemas.android.com/tools"
4               android:layout_width="match_parent"
5               android:layout_height="wrap_content"
6               android:orientation="horizontal">
7
8     <LinearLayout
9         android:layout_width="wrap_content"
10         android:layout_height="wrap_content"
11         android:layout_gravity="center"
12         android:orientation="vertical">
13
14         <ImageView
15             android:layout_width="wrap_content"
16             android:layout_height="wrap_content"
17             android:src="@drawable/ic_glass_big"
18             android:tint="@color/gray_very_dark"
19             tools:ignore="ContentDescription"/>
20
21         <TextView
22             android:layout_width="wrap_content"
23             android:layout_height="wrap_content"
24             android:text="@string/pages"/>
25
26         <TextView
27             android:id="@+id/tvBookPages"
28             android:layout_width="wrap_content"
29             android:layout_height="wrap_content"/>
30     </LinearLayout>
31
32     <View
33         android:layout_width="1dp"
34         android:layout_height="match_parent"
35         android:layout_marginBottom="15dp"
36         android:layout_marginTop="15dp"
37         android:background="@color/gray_very_dark"/>
38
39     <LinearLayout
40         android:layout_width="match_parent"
41         android:layout_height="wrap_content"
42         android:orientation="vertical">
43
44         <TextView
45             android:layout_width="match_parent"
46             android:layout_height="wrap_content"
47             android:layout_marginTop="20dp"
48             android:text="@string/book_epoch"/>
49
50         <TextView
51             android:id="@+id/tvBookEpoch"
52             android:layout_width="match_parent"
53             android:layout_height="wrap_content"/>
54
55         <TextView
56             android:layout_width="match_parent"
57             android:layout_height="wrap_content"
58             android:layout_marginTop="20dp"
59             android:text="@string/book_kind"/>
60
61         <TextView
62             android:id="@+id/tvBookKind"
63             android:layout_width="match_parent"
64             android:layout_height="wrap_content"/>
65
66         <TextView
67             android:layout_width="match_parent"
68             android:layout_height="wrap_content"
69             android:layout_marginTop="20dp"
70             android:text="@string/book_genre"/>
71
72         <TextView
73             android:id="@+id/tvBookGenre"
74             android:layout_width="match_parent"
75             android:layout_height="wrap_content"/>
76     </LinearLayout>
77
78 </LinearLayout>