summaryrefslogtreecommitdiffstats
path: root/res/layout/tutorials_placeholder.xml
diff options
context:
space:
mode:
authorSascha Haeberling <haeberling@google.com>2014-04-07 17:29:44 -0700
committerSascha Haeberling <haeberling@google.com>2014-04-07 17:36:44 -0700
commit1e0810c88e791d0f658eb5a6f95d771ee03a7631 (patch)
treef1c57ff178ea808f473b5e646c2c469fddf31afd /res/layout/tutorials_placeholder.xml
parentbd90f35edda63c039a68f24e647b3ce60a9622cd (diff)
downloadandroid_packages_apps_Camera2-1e0810c88e791d0f658eb5a6f95d771ee03a7631.tar.gz
android_packages_apps_Camera2-1e0810c88e791d0f658eb5a6f95d771ee03a7631.tar.bz2
android_packages_apps_Camera2-1e0810c88e791d0f658eb5a6f95d771ee03a7631.zip
Make tutorials render in smaller layout on tablets.
Bug: 13337436 Bug: 12440059 Change-Id: I7886a86189a94483775a5535c69e22090cec1530
Diffstat (limited to 'res/layout/tutorials_placeholder.xml')
-rw-r--r--res/layout/tutorials_placeholder.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/res/layout/tutorials_placeholder.xml b/res/layout/tutorials_placeholder.xml
new file mode 100644
index 000000000..3954b74c6
--- /dev/null
+++ b/res/layout/tutorials_placeholder.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2014 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.
+-->
+<!-- This layout is shared by phone and tablet in landscape orientation. -->
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/tutorials_placeholder"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center" />