aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/layout-land
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-04-19 19:14:41 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-04-19 20:53:40 +0900
commit42afa82d54f10d7faf8c4ba50516dd450606f98b (patch)
tree823cd46f0e3f4d4338221f9756a9384f5dc3af6d /java/res/layout-land
parent68e4de1e78c62802fb18be120d58646ca35fe320 (diff)
downloadlatinime-42afa82d54f10d7faf8c4ba50516dd450606f98b.tar.gz
latinime-42afa82d54f10d7faf8c4ba50516dd450606f98b.tar.xz
latinime-42afa82d54f10d7faf8c4ba50516dd450606f98b.zip
Support landscape orientation for setup wizard
Bug: 8159728 Change-Id: Ic0f73a7ebfea6e5e98aa320eb1ebc2a677271665
Diffstat (limited to 'java/res/layout-land')
-rw-r--r--java/res/layout-land/setup_steps_screen.xml40
-rw-r--r--java/res/layout-land/setup_welcome_screen.xml40
2 files changed, 80 insertions, 0 deletions
diff --git a/java/res/layout-land/setup_steps_screen.xml b/java/res/layout-land/setup_steps_screen.xml
new file mode 100644
index 000000000..0b4a096cc
--- /dev/null
+++ b/java/res/layout-land/setup_steps_screen.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2013, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ android:baselineAligned="false">
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="@integer/setup_title_weight_in_screen"
+ android:orientation="vertical">
+ <include layout="@layout/setup_steps_title" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="@integer/setup_body_weight_in_screen"
+ android:orientation="vertical">
+ <include layout="@layout/setup_steps_cards" />
+ </LinearLayout>
+</LinearLayout>
diff --git a/java/res/layout-land/setup_welcome_screen.xml b/java/res/layout-land/setup_welcome_screen.xml
new file mode 100644
index 000000000..8b162e27f
--- /dev/null
+++ b/java/res/layout-land/setup_welcome_screen.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+**
+** Copyright 2013, The Android Open Source Project
+**
+** Licensed under the Apache License, Version 2.0 (the "License");
+** you may not use this file except in compliance with the License.
+** You may obtain a copy of the License at
+**
+** http://www.apache.org/licenses/LICENSE-2.0
+**
+** Unless required by applicable law or agreed to in writing, software
+** distributed under the License is distributed on an "AS IS" BASIS,
+** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+** See the License for the specific language governing permissions and
+** limitations under the License.
+*/
+-->
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="horizontal"
+ android:baselineAligned="false">
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="@integer/setup_title_weight_in_screen"
+ android:orientation="vertical">
+ <include layout="@layout/setup_welcome_title" />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="match_parent"
+ android:layout_weight="@integer/setup_body_weight_in_screen"
+ android:orientation="vertical">
+ <include layout="@layout/setup_welcome_video" />
+ </LinearLayout>
+</LinearLayout>