Skip to content

Commit 7a83724

Browse files
committed
Use LinearLayouts instead of RelativeLayouts
1 parent f573789 commit 7a83724

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:gravity="center_vertical"
88
>
99

10-
<RelativeLayout
10+
<LinearLayout
1111
android:gravity="center"
1212
android:layout_width="match_parent"
1313
android:layout_height="240dp"
@@ -31,7 +31,7 @@
3131
android:layout_toRightOf="@+id/selfie_x"
3232
/>
3333

34-
</RelativeLayout>
34+
</LinearLayout>
3535

3636
<TextView
3737
android:layout_width="295dp"

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
android:gravity="center_vertical"
88
>
99

10-
<RelativeLayout
10+
<LinearLayout
1111
android:gravity="center"
1212
android:layout_width="match_parent"
1313
android:layout_height="180dp"
@@ -28,12 +28,11 @@
2828
android:layout_width="160dp"
2929
android:layout_height="120dp"
3030
android:layout_gravity="center"
31-
android:layout_centerVertical="true"
3231
android:layout_marginLeft="10dp"
3332
android:layout_toRightOf="@+id/welcome_wikipedia"
3433
/>
3534

36-
</RelativeLayout>
35+
</LinearLayout>
3736

3837
<TextView
3938
android:layout_width="wrap_content"

0 commit comments

Comments
 (0)