1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- 3 /* 4 ** 5 ** Copyright 2013, The Android Open Source Project 6 ** 7 ** Licensed under the Apache License, Version 2.0 (the "License"); 8 ** you may not use this file except in compliance with the License. 9 ** You may obtain a copy of the License at 10 ** 11 ** http://www.apache.org/licenses/LICENSE-2.0 12 ** 13 ** Unless required by applicable law or agreed to in writing, software 14 ** distributed under the License is distributed on an "AS IS" BASIS, 15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 ** See the License for the specific language governing permissions and 17 ** limitations under the License. 18 */ 19 --> 20 21 <merge xmlns:android="http://schemas.android.com/apk/res/android"> 22 <LinearLayout 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:orientation="horizontal" 26 android:paddingTop="@dimen/setup_welcome_video_top_padding" 27 android:paddingBottom="@dimen/setup_welcome_video_bottom_padding"> 28 <LinearLayout 29 android:layout_weight="@integer/setup_welcome_video_weight_in_screen" 30 android:layout_width="0dp" 31 android:layout_height="wrap_content" 32 android:orientation="horizontal" 33 android:padding="1dp" 34 android:background="@color/setup_welcome_video_margin_color" > 35 <VideoView 36 android:id="@+id/setup_welcome_video" 37 android:layout_width="match_parent" 38 android:layout_height="wrap_content" 39 android:background="@color/setup_background" /> 40 <ImageView 41 android:id="@+id/setup_welcome_image" 42 android:layout_width="match_parent" 43 android:layout_height="wrap_content" 44 android:adjustViewBounds="true" 45 android:visibility="gone" /> 46 </LinearLayout> 47 <View 48 android:layout_weight="@integer/setup_welcome_video_end_padding_weight_in_screen" 49 android:layout_width="0dp" 50 android:layout_height="0dp" /> 51 </LinearLayout> 52 <com.android.inputmethod.latin.setup.SetupStartIndicatorView 53 android:layout_width="match_parent" 54 android:layout_height="wrap_content" /> 55 </merge> 56