|
84 | 84 | android:layout_marginStart="5dp" |
85 | 85 | app:shape_radius="6dp" |
86 | 86 | app:shape="rectangle" |
87 | | - app:shape_bg="rectangle" |
| 87 | + app:shape_border="rectangle" |
88 | 88 | android:padding="10dp" |
89 | | - app:shape_bg_strokeWidth="3dp" |
90 | | - app:shape_bg_angle="45" |
91 | | - app:shape_bg_radius="10dp" |
92 | | - app:shape_bg_gradient="true" |
93 | | - app:shape_bg_startColor="@color/purple_200" |
94 | | - app:shape_bg_endColor="@color/teal_700" |
| 89 | + app:shape_border_width="3dp" |
| 90 | + app:shape_border_angle="45" |
| 91 | + app:shape_border_radius="10dp" |
| 92 | + app:shape_border_gradient="true" |
| 93 | + app:shape_border_startColor="@color/purple_200" |
| 94 | + app:shape_border_endColor="@color/teal_700" |
95 | 95 | android:scaleType="center" /> |
96 | 96 |
|
97 | 97 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
101 | 101 | android:layout_marginStart="10dp" |
102 | 102 | android:padding="10dp" |
103 | 103 | app:shape="rectangle" |
104 | | - app:shape_bg="rectangle" |
105 | | - app:shape_bg_strokeWidth="3dp" |
106 | | - app:shape_bg_angle="45" |
| 104 | + app:shape_border="rectangle" |
| 105 | + app:shape_border_width="3dp" |
| 106 | + app:shape_border_angle="45" |
107 | 107 | app:shape_left_top_radius="8dp" |
108 | 108 | app:shape_right_top_radius="12dp" |
109 | 109 | app:shape_right_bottom_radius="16dp" |
110 | 110 | app:shape_left_bottom_radius="20dp" |
111 | | - app:shape_bg_left_top_radius="10dp" |
112 | | - app:shape_bg_right_top_radius="15dp" |
113 | | - app:shape_bg_right_bottom_radius="20dp" |
114 | | - app:shape_bg_left_bottom_radius="25dp" |
115 | | - app:shape_bg_gradient="true" |
116 | | - app:shape_bg_startColor="@color/purple_200" |
117 | | - app:shape_bg_endColor="@color/teal_700" |
| 111 | + app:shape_border_left_top_radius="10dp" |
| 112 | + app:shape_border_right_top_radius="15dp" |
| 113 | + app:shape_border_right_bottom_radius="20dp" |
| 114 | + app:shape_border_left_bottom_radius="25dp" |
| 115 | + app:shape_border_gradient="true" |
| 116 | + app:shape_border_startColor="@color/purple_200" |
| 117 | + app:shape_border_endColor="@color/teal_700" |
118 | 118 | android:scaleType="centerCrop" /> |
119 | 119 |
|
120 | 120 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
124 | 124 | android:layout_marginStart="10dp" |
125 | 125 | app:shape_radius="6dp" |
126 | 126 | app:shape="oval" |
127 | | - app:shape_bg="oval" |
| 127 | + app:shape_border="oval" |
128 | 128 | android:padding="10dp" |
129 | | - app:shape_bg_strokeWidth="3dp" |
130 | | - app:shape_bg_angle="45" |
131 | | - app:shape_bg_radius="10dp" |
132 | | - app:shape_bg_gradient="true" |
133 | | - app:shape_bg_startColor="@color/purple_200" |
134 | | - app:shape_bg_endColor="@color/teal_700" |
| 129 | + app:shape_border_width="3dp" |
| 130 | + app:shape_border_angle="45" |
| 131 | + app:shape_border_radius="10dp" |
| 132 | + app:shape_border_gradient="true" |
| 133 | + app:shape_border_startColor="@color/purple_200" |
| 134 | + app:shape_border_endColor="@color/teal_700" |
135 | 135 | android:scaleType="centerInside" /> |
136 | 136 | </LinearLayout> |
137 | 137 |
|
|
176 | 176 | android:padding="10dp" |
177 | 177 | app:shape_radius="8dp" |
178 | 178 | app:shape="oval" |
179 | | - app:shape_bg="oval" |
180 | | - app:shape_bg_strokeWidth="3dp" |
181 | | - app:shape_bg_radius="10dp" |
182 | | - app:shape_bg_gradient="true" |
183 | | - app:shape_bg_startColor="@color/purple_200" |
184 | | - app:shape_bg_endColor="@color/teal_700" |
| 179 | + app:shape_border="oval" |
| 180 | + app:shape_border_width="3dp" |
| 181 | + app:shape_border_radius="10dp" |
| 182 | + app:shape_border_gradient="true" |
| 183 | + app:shape_border_startColor="@color/purple_200" |
| 184 | + app:shape_border_endColor="@color/teal_700" |
185 | 185 | android:scaleType="fitStart" /> |
186 | 186 |
|
187 | 187 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
192 | 192 | android:padding="10dp" |
193 | 193 | app:shape_radius="8dp" |
194 | 194 | app:shape="oval" |
195 | | - app:shape_bg="oval" |
196 | | - app:shape_bg_strokeWidth="3dp" |
197 | | - app:shape_bg_radius="10dp" |
198 | | - app:shape_bg_gradient="true" |
199 | | - app:shape_bg_startColor="@color/purple_200" |
200 | | - app:shape_bg_endColor="@color/teal_700" |
| 195 | + app:shape_border="oval" |
| 196 | + app:shape_border_width="3dp" |
| 197 | + app:shape_border_radius="10dp" |
| 198 | + app:shape_border_gradient="true" |
| 199 | + app:shape_border_startColor="@color/purple_200" |
| 200 | + app:shape_border_endColor="@color/teal_700" |
201 | 201 | android:scaleType="fitCenter" /> |
202 | 202 |
|
203 | 203 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
208 | 208 | android:padding="8dp" |
209 | 209 | app:shape_radius="8dp" |
210 | 210 | app:shape="oval" |
211 | | - app:shape_bg="oval" |
212 | | - app:shape_bg_strokeWidth="3dp" |
213 | | - app:shape_bg_radius="10dp" |
214 | | - app:shape_bg_gradient="true" |
215 | | - app:shape_bg_startColor="@color/purple_200" |
216 | | - app:shape_bg_endColor="@color/teal_700" |
| 211 | + app:shape_border="oval" |
| 212 | + app:shape_border_width="3dp" |
| 213 | + app:shape_border_radius="10dp" |
| 214 | + app:shape_border_gradient="true" |
| 215 | + app:shape_border_startColor="@color/purple_200" |
| 216 | + app:shape_border_endColor="@color/teal_700" |
217 | 217 | android:scaleType="fitEnd" /> |
218 | 218 | </LinearLayout> |
219 | 219 |
|
|
259 | 259 | android:layout_marginStart="5dp" |
260 | 260 | android:padding="10dp" |
261 | 261 | app:shape="rectangle" |
262 | | - app:shape_bg="rectangle" |
263 | | - app:shape_bg_strokeWidth="3dp" |
264 | | - app:shape_bg_angle="45" |
| 262 | + app:shape_border="rectangle" |
| 263 | + app:shape_border_width="3dp" |
| 264 | + app:shape_border_angle="45" |
265 | 265 | app:shape_start_top_radius="8dp" |
266 | 266 | app:shape_end_top_radius="12dp" |
267 | 267 | app:shape_end_bottom_radius="16dp" |
268 | 268 | app:shape_start_bottom_radius="20dp" |
269 | | - app:shape_bg_start_top_radius="10dp" |
270 | | - app:shape_bg_end_top_radius="15dp" |
271 | | - app:shape_bg_end_bottom_radius="20dp" |
272 | | - app:shape_bg_start_bottom_radius="25dp" |
273 | | - app:shape_bg_gradient="true" |
274 | | - app:shape_bg_rtl_angle="true" |
275 | | - app:shape_bg_startColor="@color/purple_200" |
276 | | - app:shape_bg_endColor="@color/teal_700" |
| 269 | + app:shape_border_start_top_radius="10dp" |
| 270 | + app:shape_border_end_top_radius="15dp" |
| 271 | + app:shape_border_end_bottom_radius="20dp" |
| 272 | + app:shape_border_start_bottom_radius="25dp" |
| 273 | + app:shape_border_gradient="true" |
| 274 | + app:shape_border_rtl_angle="true" |
| 275 | + app:shape_border_startColor="@color/purple_200" |
| 276 | + app:shape_border_endColor="@color/teal_700" |
277 | 277 | android:scaleType="fitXY" /> |
278 | 278 |
|
279 | 279 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
284 | 284 | android:padding="8dp" |
285 | 285 | app:shape_radius="6dp" |
286 | 286 | app:shape="rectangle" |
287 | | - app:shape_bg="rectangle" |
288 | | - app:shape_bg_strokeWidth="3dp" |
289 | | - app:shape_bg_angle="45" |
290 | | - app:shape_bg_radius="10dp" |
291 | | - app:shape_bg_gradient="true" |
292 | | - app:shape_bg_startColor="@color/purple_200" |
293 | | - app:shape_bg_endColor="@color/teal_700" |
| 287 | + app:shape_border="rectangle" |
| 288 | + app:shape_border_width="3dp" |
| 289 | + app:shape_border_angle="45" |
| 290 | + app:shape_border_radius="10dp" |
| 291 | + app:shape_border_gradient="true" |
| 292 | + app:shape_border_startColor="@color/purple_200" |
| 293 | + app:shape_border_endColor="@color/teal_700" |
294 | 294 | app:shapeScaleType="startCrop" /> |
295 | 295 |
|
296 | 296 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
301 | 301 | android:padding="6dp" |
302 | 302 | app:shape_radius="8dp" |
303 | 303 | app:shape="oval" |
304 | | - app:shape_bg="oval" |
305 | | - app:shape_bg_strokeWidth="3dp" |
306 | | - app:shape_bg_radius="10dp" |
307 | | - app:shape_bg_gradient="true" |
308 | | - app:shape_bg_startColor="@color/purple_200" |
309 | | - app:shape_bg_endColor="@color/teal_700" |
| 304 | + app:shape_border="oval" |
| 305 | + app:shape_border_width="3dp" |
| 306 | + app:shape_border_radius="10dp" |
| 307 | + app:shape_border_gradient="true" |
| 308 | + app:shape_border_startColor="@color/purple_200" |
| 309 | + app:shape_border_endColor="@color/teal_700" |
310 | 310 | app:shapeScaleType="endCrop" /> |
311 | 311 | </LinearLayout> |
312 | 312 |
|
|
346 | 346 | android:padding="6dp" |
347 | 347 | app:shape_radius="6dp" |
348 | 348 | app:shape="rectangle" |
349 | | - app:shape_bg="rectangle" |
350 | | - app:shape_bg_strokeWidth="2dp" |
| 349 | + app:shape_border="rectangle" |
| 350 | + app:shape_border_width="2dp" |
351 | 351 | app:autoCrop_height_width_ratio="2" |
352 | | - app:shape_bg_radius="10dp" |
353 | | - app:shape_bg_color="@color/teal_200" |
| 352 | + app:shape_border_radius="10dp" |
| 353 | + app:shape_border_color="@color/teal_200" |
354 | 354 | app:shapeScaleType="autoStartCenterCrop" /> |
355 | 355 |
|
356 | 356 | <com.flyjingfish.shapeimageviewlib.ShapeImageView |
|
360 | 360 | android:layout_marginStart="10dp" |
361 | 361 | android:padding="6dp" |
362 | 362 | app:shape="oval" |
363 | | - app:shape_bg="oval" |
364 | | - app:shape_bg_strokeWidth="2dp" |
| 363 | + app:shape_border="oval" |
| 364 | + app:shape_border_width="2dp" |
365 | 365 | app:autoCrop_height_width_ratio="2" |
366 | | - app:shape_bg_color="@color/teal_200" |
| 366 | + app:shape_border_color="@color/teal_200" |
367 | 367 | app:shapeScaleType="autoEndCenterCrop" /> |
368 | 368 | </LinearLayout> |
369 | 369 |
|
|
0 commit comments