Skip to content

Commit 63e35ab

Browse files
committed
1,修改demo
1 parent 900b72f commit 63e35ab

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

app/src/main/res/layout/activity_scale_type.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
app:shape_radius="10dp"
8686
app:shape="rectangle"
8787
app:shape_border="none"
88+
android:src="@mipmap/ic_launcher"
8889
android:scaleType="centerCrop" />
8990

9091
<com.flyjingfish.shapeimageviewlib.ShapeImageView
@@ -98,6 +99,7 @@
9899
app:shape_right_top_radius="12dp"
99100
app:shape_right_bottom_radius="16dp"
100101
app:shape_left_bottom_radius="20dp"
102+
android:src="@mipmap/ic_launcher"
101103
android:scaleType="centerCrop" />
102104

103105
<com.flyjingfish.shapeimageviewlib.ShapeImageView
@@ -107,6 +109,7 @@
107109
android:layout_marginStart="10dp"
108110
app:shape="oval"
109111
app:shape_border="none"
112+
android:src="@mipmap/ic_launcher"
110113
android:scaleType="centerCrop" />
111114
</LinearLayout>
112115

@@ -148,6 +151,7 @@
148151
android:layout_width="110dp"
149152
android:layout_height="110dp"
150153
android:layout_marginStart="5dp"
154+
android:src="@mipmap/ic_launcher"
151155
android:padding="10dp"
152156
app:shape_radius="6dp"
153157
app:shape="rectangle"
@@ -165,6 +169,7 @@
165169
android:layout_width="110dp"
166170
android:layout_height="110dp"
167171
android:layout_marginStart="10dp"
172+
android:src="@mipmap/ic_launcher"
168173
android:padding="10dp"
169174
app:shape="rectangle"
170175
app:shape_border="rectangle"
@@ -188,6 +193,7 @@
188193
android:layout_height="110dp"
189194
android:layout_marginStart="10dp"
190195
android:padding="8dp"
196+
android:src="@mipmap/ic_launcher"
191197
app:shape_radius="8dp"
192198
app:shape="oval"
193199
app:shape_border="oval"
@@ -243,6 +249,7 @@
243249
android:layout_height="110dp"
244250
android:layout_marginStart="5dp"
245251
android:padding="8dp"
252+
android:src="@mipmap/ic_launcher"
246253
app:shape_radius="6dp"
247254
app:shape="rectangle"
248255
app:shape_border="none"
@@ -260,6 +267,7 @@
260267
android:layout_height="110dp"
261268
android:layout_marginStart="10dp"
262269
android:padding="6dp"
270+
android:src="@mipmap/ic_launcher"
263271
app:shape_radius="8dp"
264272
app:shape="oval"
265273
app:shape_border="none"
@@ -304,6 +312,7 @@
304312
android:layout_width="110dp"
305313
android:layout_height="110dp"
306314
android:layout_marginStart="5dp"
315+
android:src="@mipmap/ic_launcher"
307316
android:padding="6dp"
308317
app:shape_radius="6dp"
309318
app:shape="rectangle"
@@ -319,6 +328,7 @@
319328
android:layout_width="110dp"
320329
android:layout_height="110dp"
321330
android:layout_marginStart="10dp"
331+
android:src="@mipmap/ic_launcher"
322332
android:padding="6dp"
323333
app:shape="oval"
324334
app:shape_border="none"

0 commit comments

Comments
 (0)