|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" |
3 | | - xmlns:app="http://schemas.android.com/apk/res-auto" |
4 | | - android:id="@+id/rootView" |
5 | | - android:layout_width="match_parent" |
6 | | - android:layout_height="match_parent" |
7 | | - android:background="@color/pick_review_background"> |
| 3 | + xmlns:app="http://schemas.android.com/apk/res-auto" |
| 4 | + android:id="@+id/rootView" |
| 5 | + android:layout_width="match_parent" |
| 6 | + android:layout_height="match_parent" |
| 7 | + android:background="@color/pick_review_background"> |
8 | 8 |
|
9 | 9 | <pizzk.media.picker.view.PhotoViewPager |
10 | | - android:id="@+id/photoPager" |
11 | | - android:layout_width="0dp" |
12 | | - android:layout_height="0dp" |
13 | | - app:layout_constraintBottom_toBottomOf="parent" |
14 | | - app:layout_constraintLeft_toLeftOf="parent" |
15 | | - app:layout_constraintRight_toRightOf="parent" |
16 | | - app:layout_constraintTop_toTopOf="parent" /> |
| 10 | + android:id="@+id/photoPager" |
| 11 | + android:layout_width="0dp" |
| 12 | + android:layout_height="0dp" |
| 13 | + app:layout_constraintBottom_toBottomOf="parent" |
| 14 | + app:layout_constraintLeft_toLeftOf="parent" |
| 15 | + app:layout_constraintRight_toRightOf="parent" |
| 16 | + app:layout_constraintTop_toTopOf="parent"/> |
17 | 17 |
|
18 | 18 | <android.support.v7.widget.Toolbar |
19 | | - android:id="@+id/toolbar" |
20 | | - style="@style/PickToolbar" |
21 | | - app:layout_constraintTop_toTopOf="parent" |
22 | | - app:theme="@style/PickToolbarTheme" /> |
| 19 | + app:layout_constraintLeft_toLeftOf="parent" |
| 20 | + app:layout_constraintRight_toRightOf="parent" |
| 21 | + android:id="@+id/toolbar" |
| 22 | + style="@style/PickToolbar" |
| 23 | + app:layout_constraintTop_toTopOf="parent" |
| 24 | + app:theme="@style/PickToolbarTheme"/> |
23 | 25 |
|
24 | 26 | <android.support.v7.widget.RecyclerView |
25 | | - android:id="@+id/selectRecycleView" |
26 | | - android:layout_width="match_parent" |
27 | | - android:layout_height="@dimen/album_preview_bottom_gallery" |
28 | | - android:background="@color/pick_preview_overlay" |
29 | | - app:layout_constraintBottom_toTopOf="@+id/rlBottom" /> |
| 27 | + android:id="@+id/selectRecycleView" |
| 28 | + android:layout_width="match_parent" |
| 29 | + android:layout_height="@dimen/album_preview_bottom_gallery" |
| 30 | + android:background="@color/pick_preview_overlay" |
| 31 | + app:layout_constraintBottom_toTopOf="@+id/rlBottom"/> |
30 | 32 |
|
31 | 33 | <RelativeLayout |
32 | | - android:id="@+id/rlBottom" |
33 | | - android:layout_width="match_parent" |
34 | | - android:layout_height="@dimen/picker_toolbar_height" |
35 | | - android:background="@color/pick_preview_overlay" |
36 | | - app:layout_constraintBottom_toBottomOf="parent"> |
| 34 | + android:id="@+id/rlBottom" |
| 35 | + android:layout_width="match_parent" |
| 36 | + android:layout_height="@dimen/picker_toolbar_height" |
| 37 | + android:background="@color/pick_preview_overlay" |
| 38 | + app:layout_constraintBottom_toBottomOf="parent"> |
37 | 39 |
|
38 | 40 | <View |
39 | | - android:id="@+id/vBottomLine" |
40 | | - android:layout_width="match_parent" |
41 | | - android:layout_height="@dimen/album_preview_bottom_line" |
42 | | - android:background="@color/pick_review_bottom_line" /> |
| 41 | + android:id="@+id/vBottomLine" |
| 42 | + android:layout_width="match_parent" |
| 43 | + android:layout_height="@dimen/album_preview_bottom_line" |
| 44 | + android:background="@color/pick_review_bottom_line"/> |
43 | 45 |
|
44 | 46 | <TextView |
45 | | - android:id="@+id/tvEdit" |
46 | | - style="@style/BottomToolText" |
47 | | - android:layout_alignParentLeft="true" |
48 | | - android:layout_centerVertical="true" |
49 | | - android:text="@string/pick_media_edit" |
50 | | - android:visibility="gone" /> |
| 47 | + android:id="@+id/tvEdit" |
| 48 | + style="@style/BottomToolText" |
| 49 | + android:layout_alignParentLeft="true" |
| 50 | + android:layout_centerVertical="true" |
| 51 | + android:text="@string/pick_media_edit" |
| 52 | + android:visibility="gone"/> |
51 | 53 |
|
52 | 54 | <LinearLayout |
53 | | - android:id="@+id/llCenter" |
54 | | - android:layout_width="wrap_content" |
55 | | - android:layout_height="match_parent" |
56 | | - android:layout_centerInParent="true" |
57 | | - android:orientation="horizontal" |
58 | | - android:visibility="gone"> |
| 55 | + android:id="@+id/llCenter" |
| 56 | + android:layout_width="wrap_content" |
| 57 | + android:layout_height="match_parent" |
| 58 | + android:layout_centerInParent="true" |
| 59 | + android:orientation="horizontal" |
| 60 | + android:visibility="gone"> |
59 | 61 |
|
60 | 62 | <View |
61 | | - android:id="@+id/vCenter" |
62 | | - android:layout_width="@dimen/pick_radio_size" |
63 | | - android:layout_height="@dimen/pick_radio_size" |
64 | | - android:layout_gravity="center_vertical" |
65 | | - android:background="@drawable/pick_radio_checked" /> |
| 63 | + android:id="@+id/vCenter" |
| 64 | + android:layout_width="@dimen/pick_radio_size" |
| 65 | + android:layout_height="@dimen/pick_radio_size" |
| 66 | + android:layout_gravity="center_vertical" |
| 67 | + android:background="@drawable/pick_radio_checked"/> |
66 | 68 |
|
67 | 69 | <TextView |
68 | | - android:id="@+id/tvCenter" |
69 | | - style="@style/BottomToolText" |
70 | | - android:paddingLeft="@dimen/pick_radio_margin" |
71 | | - android:paddingRight="0dp" |
72 | | - android:text="@string/pick_media_origin_picture" /> |
| 70 | + android:id="@+id/tvCenter" |
| 71 | + style="@style/BottomToolText" |
| 72 | + android:paddingLeft="@dimen/pick_radio_margin" |
| 73 | + android:paddingRight="0dp" |
| 74 | + android:text="@string/pick_media_origin_picture"/> |
73 | 75 | </LinearLayout> |
74 | 76 |
|
75 | 77 |
|
76 | 78 | <LinearLayout |
77 | | - android:id="@+id/llSelect" |
78 | | - android:layout_width="wrap_content" |
79 | | - android:layout_height="match_parent" |
80 | | - android:layout_alignParentRight="true" |
81 | | - android:orientation="horizontal"> |
| 79 | + android:id="@+id/llSelect" |
| 80 | + android:layout_width="wrap_content" |
| 81 | + android:layout_height="match_parent" |
| 82 | + android:layout_alignParentRight="true" |
| 83 | + android:orientation="horizontal"> |
82 | 84 |
|
83 | 85 | <ImageView |
84 | | - android:id="@+id/check" |
85 | | - style="@style/PickCheckbox" |
86 | | - android:layout_gravity="center_vertical" |
87 | | - android:padding="10dp" /> |
| 86 | + android:id="@+id/check" |
| 87 | + style="@style/PickCheckbox" |
| 88 | + android:layout_gravity="center_vertical" |
| 89 | + android:padding="10dp"/> |
88 | 90 |
|
89 | 91 | <TextView |
90 | | - android:id="@+id/tvSelect" |
91 | | - style="@style/BottomToolText" |
92 | | - android:paddingLeft="0dp" |
93 | | - android:text="@string/pick_media_select" /> |
| 92 | + android:id="@+id/tvSelect" |
| 93 | + style="@style/BottomToolText" |
| 94 | + android:paddingLeft="0dp" |
| 95 | + android:text="@string/pick_media_select"/> |
94 | 96 | </LinearLayout> |
95 | 97 |
|
96 | 98 | </RelativeLayout> |
|
0 commit comments