aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'java/res/layout')
-rw-r--r--java/res/layout/setup_welcome_video.xml26
1 files changed, 20 insertions, 6 deletions
diff --git a/java/res/layout/setup_welcome_video.xml b/java/res/layout/setup_welcome_video.xml
index a72fbd72f..3aa4f3ca8 100644
--- a/java/res/layout/setup_welcome_video.xml
+++ b/java/res/layout/setup_welcome_video.xml
@@ -19,12 +19,26 @@
-->
<merge xmlns:android="http://schemas.android.com/apk/res/android">
- <VideoView
- android:id="@+id/setup_welcome_video"
- android:layout_margin="36dp"
- android:layout_width="240dp"
- android:layout_height="150dp"
- android:layout_centerHorizontal="true" />
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+ <View
+ android:layout_weight="@integer/setup_welcome_video_left_padding_weight_in_screen"
+ android:layout_width="0dp"
+ android:layout_height="0dp" />
+ <VideoView
+ android:id="@+id/setup_welcome_video"
+ android:layout_weight="@integer/setup_welcome_video_weight_in_screen"
+ android:layout_marginTop="24dp"
+ android:layout_marginBottom="24dp"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content" />
+ <View
+ android:layout_weight="@integer/setup_welcome_video_right_padding_weight_in_screen"
+ android:layout_width="0dp"
+ android:layout_height="0dp" />
+ </LinearLayout>
<com.android.inputmethod.latin.setup.SetupStartIndicatorView
android:layout_width="match_parent"
android:layout_height="wrap_content" />