|
15 | 15 |
|
16 | 16 | <include layout="@layout/toolbar" />
|
17 | 17 |
|
| 18 | + <Button |
| 19 | + android:id="@+id/skip_image" |
| 20 | + android:layout_width="match_parent" |
| 21 | + android:layout_height="25dp" |
| 22 | + android:background="@android:color/transparent" |
| 23 | + android:layout_below="@+id/toolbar" |
| 24 | + android:text="@string/skip_image" |
| 25 | + android:textColor="@color/button_blue_dark" |
| 26 | + android:textStyle="bold" /> |
| 27 | + <ScrollView |
| 28 | + android:layout_width="match_parent" |
| 29 | + android:layout_height="wrap_content" |
| 30 | + android:layout_below="@+id/skip_image" |
| 31 | + android:layout_above="@+id/reviewPagerIndicator" |
| 32 | + > |
| 33 | + |
18 | 34 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
19 | 35 | android:layout_width="match_parent"
|
20 | 36 | android:layout_height="match_parent"
|
21 |
| - android:layout_below="@id/toolbar" |
22 | 37 | android:orientation="vertical"
|
23 |
| - android:weightSum="15"> |
24 |
| - |
25 |
| - <Button |
26 |
| - android:id="@+id/skip_image" |
27 |
| - android:layout_width="match_parent" |
28 |
| - android:layout_height="0dp" |
29 |
| - android:layout_weight="1" |
30 |
| - android:background="@android:color/transparent" |
31 |
| - android:text="SKIP THIS IMAGE" |
32 |
| - android:textColor="@color/button_blue_dark" |
33 |
| - android:textStyle="bold" /> |
| 38 | + > |
34 | 39 |
|
35 | 40 | <RelativeLayout
|
36 | 41 | android:layout_width="match_parent"
|
37 | 42 | android:layout_height="300dp"
|
38 |
| - android:layout_marginTop="5dp"> |
| 43 | + android:layout_marginTop="5dp" |
| 44 | + > |
39 | 45 |
|
40 | 46 | <com.facebook.drawee.view.SimpleDraweeView
|
41 | 47 | android:id="@+id/imageView"
|
|
73 | 79 |
|
74 | 80 | </RelativeLayout>
|
75 | 81 |
|
76 |
| - |
77 | 82 | <fr.free.nrw.commons.review.ReviewViewPager
|
78 | 83 | android:id="@+id/reviewPager"
|
79 | 84 | android:layout_width="match_parent"
|
80 |
| - android:layout_height="0dp" |
81 |
| - android:layout_weight="13.5" |
| 85 | + android:layout_height="300dp" |
82 | 86 | android:fadingEdge="none" />
|
83 | 87 |
|
84 |
| - |
85 |
| - <com.viewpagerindicator.CirclePageIndicator |
86 |
| - android:id="@+id/reviewPagerIndicator" |
87 |
| - android:layout_width="match_parent" |
88 |
| - android:layout_height="0dp" |
89 |
| - android:layout_gravity="center" |
90 |
| - android:layout_weight="0.5" |
91 |
| - android:background="?attr/colorPrimaryDark" |
92 |
| - android:elevation="1dp" |
93 |
| - android:foregroundGravity="center_vertical" /> |
94 |
| - |
95 | 88 | </LinearLayout>
|
| 89 | + </ScrollView> |
| 90 | + <com.viewpagerindicator.CirclePageIndicator |
| 91 | + android:id="@+id/reviewPagerIndicator" |
| 92 | + android:layout_width="match_parent" |
| 93 | + android:layout_height="10dp" |
| 94 | + android:layout_gravity="center" |
| 95 | + android:background="?attr/colorPrimaryDark" |
| 96 | + android:elevation="1dp" |
| 97 | + android:foregroundGravity="center_vertical" |
| 98 | + android:layout_alignParentBottom="true"/> |
| 99 | + |
96 | 100 |
|
97 | 101 | </RelativeLayout>
|
98 | 102 |
|
|
0 commit comments