Skip to content

Commit 08bea77

Browse files
authored
Update activity_main.xml
1 parent d2b82fe commit 08bea77

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88
android:layout_height="match_parent"
99
android:padding="16dp">
1010

11-
<ImageView
12-
android:id="@+id/imgSkin"
13-
android:layout_width="match_parent"
14-
android:layout_height="match_parent"
15-
android:scaleType="fitCenter" />
11+
<ImageView
12+
android:id="@+id/imgSkin"
13+
android:layout_width="wrap_content"
14+
android:layout_height="wrap_content"
15+
android:scaleType="fitCenter"
16+
android:layout_gravity="center" />
17+
1618

1719
<!-- ユーザー名 -->
1820
<TextView

0 commit comments

Comments
 (0)