|
5 | 5 | android:id="@+id/layoutContentSearch"
|
6 | 6 | android:layout_width="match_parent"
|
7 | 7 | android:layout_height="match_parent"
|
8 |
| - tools:context="net.bookbuddy.SearchActivity"> |
| 8 | + tools:context="net.bookbuddy.BookActivity"> |
9 | 9 |
|
10 | 10 | <include layout="@layout/nav_app_bar" />
|
11 | 11 |
|
|
23 | 23 |
|
24 | 24 | <LinearLayout
|
25 | 25 | android:id="@+id/selectedBookData"
|
26 |
| - android:visibility="gone" |
27 | 26 | android:layout_width="match_parent"
|
28 | 27 | android:layout_height="wrap_content"
|
29 | 28 | android:orientation="vertical"
|
30 |
| - android:padding="8dp"> |
31 |
| - |
32 |
| - <ImageView |
33 |
| - android:id="@+id/imageViewBook" |
34 |
| - android:layout_width="112dp" |
35 |
| - android:layout_height="148dp" |
36 |
| - android:layout_marginTop="20dp" |
37 |
| - android:layout_marginBottom="20dp" |
38 |
| - android:layout_gravity="center" |
39 |
| - android:contentDescription="@string/content_description_book" /> |
40 |
| - |
41 |
| - <TextView |
42 |
| - android:id="@+id/textViewBookTitle" |
43 |
| - style="@style/Base.TextAppearance.AppCompat.Headline" |
44 |
| - android:layout_width="wrap_content" |
| 29 | + android:visibility="gone"> |
| 30 | + |
| 31 | + <!-- Book data --> |
| 32 | + <LinearLayout |
| 33 | + android:layout_width="match_parent" |
45 | 34 | android:layout_height="wrap_content"
|
46 |
| - android:layout_gravity="center"/> |
| 35 | + android:orientation="vertical" |
| 36 | + android:padding="8dp"> |
| 37 | + |
| 38 | + <ImageView |
| 39 | + android:id="@+id/imageViewBook" |
| 40 | + android:layout_width="112dp" |
| 41 | + android:layout_height="148dp" |
| 42 | + android:layout_gravity="center" |
| 43 | + android:layout_marginBottom="20dp" |
| 44 | + android:layout_marginTop="20dp" |
| 45 | + android:contentDescription="@string/content_description_book" /> |
| 46 | + |
| 47 | + <TextView |
| 48 | + android:id="@+id/textViewBookTitle" |
| 49 | + style="@style/Base.TextAppearance.AppCompat.Headline" |
| 50 | + android:layout_width="wrap_content" |
| 51 | + android:layout_height="wrap_content" |
| 52 | + android:layout_gravity="center" /> |
| 53 | + |
| 54 | + <TextView |
| 55 | + android:id="@+id/textViewBookAuthors" |
| 56 | + style="@style/TextAppearance.AppCompat.Title" |
| 57 | + android:layout_width="wrap_content" |
| 58 | + android:layout_height="wrap_content" |
| 59 | + android:layout_gravity="center" |
| 60 | + android:layout_marginBottom="16dp" |
| 61 | + android:layout_marginTop="8dp" /> |
| 62 | + |
| 63 | + <TextView |
| 64 | + android:id="@+id/textViewBookDescription" |
| 65 | + style="@style/TextAppearance.AppCompat.Medium" |
| 66 | + android:layout_width="wrap_content" |
| 67 | + android:layout_height="wrap_content" |
| 68 | + android:textColor="@android:color/primary_text_light" /> |
| 69 | + </LinearLayout> |
| 70 | + |
| 71 | + <!-- GoodReads attribution --> |
| 72 | + <LinearLayout |
| 73 | + android:layout_width="match_parent" |
| 74 | + android:layout_height="wrap_content" |
| 75 | + android:orientation="vertical"> |
| 76 | + |
| 77 | + <View |
| 78 | + android:layout_width="match_parent" |
| 79 | + android:layout_height="1dp" |
| 80 | + android:layout_marginTop="12dp" |
| 81 | + android:background="?android:attr/dividerVertical" /> |
| 82 | + |
| 83 | + <TextView |
| 84 | + android:id="@+id/textViewGoodReadsBookLink" |
| 85 | + style="@style/TextAppearance.AppCompat.Medium" |
| 86 | + android:layout_width="wrap_content" |
| 87 | + android:layout_height="wrap_content" |
| 88 | + android:layout_gravity="center" |
| 89 | + android:layout_marginBottom="12dp" |
| 90 | + android:layout_marginTop="12dp" /> |
| 91 | + </LinearLayout> |
47 | 92 |
|
48 | 93 | </LinearLayout>
|
49 | 94 |
|
|
0 commit comments