Skip to content

Commit 7339d4b

Browse files
committed
Merge remote-tracking branch 'refs/remotes/commons-app/master'
2 parents 6f1c148 + 80a0bb1 commit 7339d4b

File tree

4 files changed

+12
-43
lines changed

4 files changed

+12
-43
lines changed

app/src/main/res/layout-land/welcome_do_upload.xml

+5-12
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
>
1010

1111

12-
<RelativeLayout
13-
android:gravity="center"
12+
<GridLayout
1413
android:layout_width="300dp"
15-
android:layout_height="match_parent"
14+
android:layout_height="wrap_content"
15+
android:layout_gravity="center_vertical"
1616
android:layout_marginLeft="10dp"
1717
android:layout_marginRight="10dp"
18+
android:columnCount="2"
1819
>
1920

2021
<ImageView
@@ -30,7 +31,6 @@
3031
android:id="@+id/llamas"
3132
android:layout_width="150dp"
3233
android:layout_height="118dp"
33-
android:layout_toRightOf="@+id/mount_zao"
3434
android:scaleType="fitXY"
3535
/>
3636

@@ -39,25 +39,18 @@
3939
android:id="@+id/rainbow_bridge"
4040
android:layout_width="150dp"
4141
android:layout_height="118dp"
42-
android:layout_below="@+id/mount_zao"
43-
4442
android:scaleType="fitXY"
4543
/>
4644

4745
<ImageView
4846
android:src="@drawable/tulip"
4947
android:id="@+id/tulip"
50-
5148
android:layout_width="150dp"
5249
android:layout_height="118dp"
53-
android:layout_toRightOf="@+id/rainbow_bridge"
54-
55-
56-
android:layout_below="@+id/llamas"
5750
android:scaleType="fitXY"
5851
/>
5952

60-
</RelativeLayout>
53+
</GridLayout>
6154

6255

6356
<LinearLayout android:orientation="vertical"

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

+1-9
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,10 @@
4444
android:textColor="@android:color/white"
4545
android:singleLine="false"/>
4646

47-
<TextView
48-
android:layout_width="wrap_content"
49-
android:layout_height="wrap_content"
50-
android:maxWidth="240dp"
51-
android:layout_gravity="center"
52-
android:textAlignment="center"
53-
android:paddingTop="16dp"
54-
android:gravity="center_horizontal"/>
55-
5647
<Button
5748
android:layout_width="120dp"
5849
android:layout_height="40dp"
50+
android:layout_marginTop="16dp"
5951
android:text="@string/welcome_final_button_text"
6052
android:id="@+id/welcomeYesButton"
6153
android:layout_gravity="center"

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

+5-12
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
android:weightSum="1"
1010
android:layout_centerHorizontal="true">
1111

12-
<RelativeLayout
13-
android:gravity="center"
14-
android:layout_width="match_parent"
12+
<GridLayout
13+
android:layout_width="wrap_content"
1514
android:layout_height="240dp"
15+
android:layout_gravity="center_horizontal"
1616
android:layout_marginLeft="10dp"
1717
android:layout_marginRight="10dp"
18+
android:columnCount="2"
1819
>
1920

2021
<ImageView
@@ -30,7 +31,6 @@
3031
android:id="@+id/llamas"
3132
android:layout_width="150dp"
3233
android:layout_height="118dp"
33-
android:layout_toRightOf="@+id/mount_zao"
3434
android:scaleType="fitXY"
3535
/>
3636

@@ -39,25 +39,18 @@
3939
android:id="@+id/rainbow_bridge"
4040
android:layout_width="150dp"
4141
android:layout_height="118dp"
42-
android:layout_below="@+id/mount_zao"
43-
4442
android:scaleType="fitXY"
4543
/>
4644

4745
<ImageView
4846
android:src="@drawable/tulip"
4947
android:id="@+id/tulip"
50-
5148
android:layout_width="150dp"
5249
android:layout_height="118dp"
53-
android:layout_toRightOf="@+id/rainbow_bridge"
54-
55-
56-
android:layout_below="@+id/llamas"
5750
android:scaleType="fitXY"
5851
/>
5952

60-
</RelativeLayout>
53+
</GridLayout>
6154

6255
<TextView
6356
android:layout_width="295dp"

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

+1-10
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,10 @@
4848
android:singleLine="false"
4949
/>
5050

51-
<TextView
52-
android:layout_width="wrap_content"
53-
android:layout_height="wrap_content"
54-
android:maxWidth="240dp"
55-
android:layout_gravity="center"
56-
android:textAlignment="center"
57-
android:paddingTop="16dp"
58-
android:gravity="center_horizontal"
59-
/>
60-
6151
<Button
6252
android:layout_width="120dp"
6353
android:layout_height="40dp"
54+
android:layout_marginTop="16dp"
6455
android:text="@string/welcome_final_button_text"
6556
android:id="@+id/welcomeYesButton"
6657
android:layout_gravity="center"

0 commit comments

Comments
 (0)