|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | | -<!-- |
| 1 | +<?xml version="1.0" encoding="utf-8"?><!-- |
3 | 2 | ~ Copyright © 2016-2018 Łukasz Rutkowski |
4 | 3 | ~ |
5 | 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
|
15 | 14 | ~ limitations under the License. |
16 | 15 | --> |
17 | 16 |
|
18 | | -<ScrollView |
19 | | - xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
20 | 18 | xmlns:app="http://schemas.android.com/apk/res-auto" |
21 | 19 | xmlns:tools="http://schemas.android.com/tools" |
22 | 20 | android:layout_width="match_parent" |
|
33 | 31 | android:id="@+id/swipe_right" |
34 | 32 | style="@style/SwipeItem"> |
35 | 33 |
|
36 | | - <ImageView style="@style/Icon"/> |
| 34 | + <ImageView style="@style/Icon" /> |
37 | 35 |
|
38 | 36 | <TextView |
39 | 37 | style="@style/Container" |
40 | | - android:text="@string/can_swipe_right"/> |
| 38 | + android:text="@string/can_swipe_right" /> |
41 | 39 | </me.thanel.swipeactionview.SwipeActionView> |
42 | 40 |
|
43 | 41 | <me.thanel.swipeactionview.SwipeActionView |
|
46 | 44 |
|
47 | 45 | <ImageView |
48 | 46 | style="@style/Icon" |
49 | | - android:layout_gravity="end|center_vertical"/> |
| 47 | + android:layout_gravity="end|center_vertical" /> |
50 | 48 |
|
51 | 49 | <TextView |
52 | 50 | style="@style/Container" |
53 | | - android:text="@string/can_swipe_left"/> |
| 51 | + android:text="@string/can_swipe_left" /> |
54 | 52 | </me.thanel.swipeactionview.SwipeActionView> |
55 | 53 |
|
56 | 54 | <me.thanel.swipeactionview.SwipeActionView |
57 | 55 | android:id="@+id/swipe_both" |
58 | 56 | style="@style/SwipeItem" |
59 | 57 | app:sav_tools_previewBackground="swipeLeft"> |
60 | 58 |
|
61 | | - <ImageView style="@style/Icon"/> |
| 59 | + <ImageView style="@style/Icon" /> |
62 | 60 |
|
63 | 61 | <ImageView |
64 | 62 | style="@style/Icon" |
65 | | - android:layout_gravity="end|center_vertical"/> |
| 63 | + android:layout_gravity="end|center_vertical" /> |
66 | 64 |
|
67 | 65 | <TextView |
68 | 66 | style="@style/Container" |
69 | | - android:text="@string/can_swipe_in_both_directions"/> |
| 67 | + android:text="@string/can_swipe_in_both_directions" /> |
70 | 68 | </me.thanel.swipeactionview.SwipeActionView> |
71 | 69 |
|
72 | 70 | <me.thanel.swipeactionview.SwipeActionView |
|
76 | 74 | app:sav_swipeRightRippleColor="@color/colorAccent" |
77 | 75 | app:sav_tools_previewRipple="swipeRight"> |
78 | 76 |
|
79 | | - <ImageView style="@style/Icon"/> |
| 77 | + <ImageView style="@style/Icon" /> |
80 | 78 |
|
81 | 79 | <ImageView |
82 | 80 | style="@style/Icon" |
83 | | - android:layout_gravity="end|center_vertical"/> |
| 81 | + android:layout_gravity="end|center_vertical" /> |
84 | 82 |
|
85 | 83 | <TextView |
86 | 84 | style="@style/Container" |
87 | 85 | android:elevation="8dp" |
88 | | - android:text="@string/animated_ripple"/> |
| 86 | + android:text="@string/animated_ripple" /> |
89 | 87 | </me.thanel.swipeactionview.SwipeActionView> |
90 | 88 |
|
91 | 89 | <me.thanel.swipeactionview.SwipeActionView |
|
94 | 92 | app:sav_swipeLeftRippleColor="@color/colorPrimary" |
95 | 93 | app:sav_tools_previewRipple="swipeLeft"> |
96 | 94 |
|
97 | | - <ImageView style="@style/Icon"/> |
| 95 | + <ImageView style="@style/Icon" /> |
98 | 96 |
|
99 | 97 | <ImageView |
100 | 98 | style="@style/Icon" |
101 | | - android:layout_gravity="end|center_vertical"/> |
| 99 | + android:layout_gravity="end|center_vertical" /> |
102 | 100 |
|
103 | 101 | <androidx.cardview.widget.CardView |
104 | 102 | android:layout_width="match_parent" |
|
108 | 106 |
|
109 | 107 | <TextView |
110 | 108 | style="@style/Container" |
111 | | - android:text="@string/swipe_able_card_view"/> |
| 109 | + android:text="@string/swipe_able_card_view" /> |
112 | 110 | </androidx.cardview.widget.CardView> |
113 | 111 | </me.thanel.swipeactionview.SwipeActionView> |
114 | 112 |
|
115 | 113 | <me.thanel.swipeactionview.SwipeActionView |
116 | 114 | android:id="@+id/swipe_delayed" |
117 | 115 | style="@style/SwipeItem"> |
118 | 116 |
|
119 | | - <ImageView style="@style/Icon"/> |
| 117 | + <ImageView style="@style/Icon" /> |
120 | 118 |
|
121 | 119 | <ImageView |
122 | 120 | style="@style/Icon" |
123 | | - android:layout_gravity="end|center_vertical"/> |
| 121 | + android:layout_gravity="end|center_vertical" /> |
124 | 122 |
|
125 | 123 | <TextView |
126 | 124 | style="@style/Container" |
127 | | - android:text="@string/returns_after_delay"/> |
| 125 | + android:text="@string/returns_after_delay" /> |
128 | 126 | </me.thanel.swipeactionview.SwipeActionView> |
129 | 127 |
|
130 | 128 | <me.thanel.swipeactionview.SwipeActionView |
131 | 129 | android:id="@+id/swipe_layout" |
132 | 130 | style="@style/SwipeItem"> |
133 | 131 |
|
134 | | - <ImageView style="@style/Icon"/> |
| 132 | + <ImageView style="@style/Icon" /> |
135 | 133 |
|
136 | 134 | <TextView |
137 | 135 | android:layout_width="90dp" |
|
140 | 138 | android:gravity="center" |
141 | 139 | android:padding="8dp" |
142 | 140 | android:text="@string/can_be_customized" |
143 | | - android:textColor="@android:color/white"/> |
| 141 | + android:textColor="@android:color/white" /> |
144 | 142 |
|
145 | 143 | <LinearLayout style="@style/Container"> |
146 | 144 |
|
147 | 145 | <ImageView |
148 | 146 | android:layout_width="50dp" |
149 | 147 | android:layout_height="50dp" |
150 | 148 | android:layout_gravity="center_vertical" |
151 | | - android:src="@mipmap/ic_launcher"/> |
| 149 | + android:src="@mipmap/ic_launcher" /> |
152 | 150 |
|
153 | 151 | <LinearLayout |
154 | 152 | android:layout_width="match_parent" |
155 | 153 | android:layout_height="wrap_content" |
156 | | - android:layout_marginLeft="@dimen/activity_horizontal_margin" |
157 | 154 | android:layout_marginStart="@dimen/activity_horizontal_margin" |
| 155 | + android:layout_marginLeft="@dimen/activity_horizontal_margin" |
158 | 156 | android:orientation="vertical"> |
159 | 157 |
|
160 | 158 | <TextView |
161 | 159 | style="@style/TextAppearance.AppCompat.Title" |
162 | 160 | android:layout_width="match_parent" |
163 | 161 | android:layout_height="wrap_content" |
164 | 162 | android:layout_marginBottom="8dp" |
165 | | - android:text="@string/advanced_layout"/> |
| 163 | + android:text="@string/advanced_layout" /> |
166 | 164 |
|
167 | 165 | <TextView |
168 | 166 | style="@style/TextAppearance.AppCompat.Body1" |
169 | 167 | android:layout_width="match_parent" |
170 | 168 | android:layout_height="wrap_content" |
171 | | - android:text="@string/full_control"/> |
| 169 | + android:text="@string/full_control" /> |
172 | 170 |
|
173 | 171 | <Button |
174 | 172 | android:id="@+id/button" |
175 | 173 | android:layout_width="match_parent" |
176 | 174 | android:layout_height="wrap_content" |
177 | | - android:text="@string/click_me"/> |
| 175 | + android:text="@string/click_me" /> |
178 | 176 | </LinearLayout> |
179 | 177 | </LinearLayout> |
180 | 178 | </me.thanel.swipeactionview.SwipeActionView> |
|
0 commit comments