summaryrefslogtreecommitdiffstats
path: root/res/layout/tap_to_focus_toast.xml
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-08-15 23:24:57 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-15 23:24:57 -0700
commit3c5db7d5a010ceb3da8d52d5afa530a117bb556e (patch)
tree7d6d962f36bab6512b3217bb66a5725604106554 /res/layout/tap_to_focus_toast.xml
parent1f227d20aa000d0798581f451b89b1d3b2bcd349 (diff)
parent98d615769af2b08bcddf02ee1b11f5288ec5cf92 (diff)
downloadLegacyCamera-3c5db7d5a010ceb3da8d52d5afa530a117bb556e.zip
LegacyCamera-3c5db7d5a010ceb3da8d52d5afa530a117bb556e.tar.gz
LegacyCamera-3c5db7d5a010ceb3da8d52d5afa530a117bb556e.tar.bz2
Merge "Add tap to focus toast."
Diffstat (limited to 'res/layout/tap_to_focus_toast.xml')
-rw-r--r--res/layout/tap_to_focus_toast.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/tap_to_focus_toast.xml b/res/layout/tap_to_focus_toast.xml
new file mode 100644
index 0000000..1ea67e7
--- /dev/null
+++ b/res/layout/tap_to_focus_toast.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+**
+** Copyright 2011, 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.
+*/
+-->
+<com.android.camera.ui.RotateLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/tap_to_focus_prompt"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_centerInParent="true"
+ android:visibility="gone">
+ <TextView
+ android:text="@string/tap_to_focus"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:paddingLeft="10dp"
+ android:paddingRight="10dp"
+ android:paddingTop="5dp"
+ android:paddingBottom="5dp"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:background="@color/on_viewfinder_label_background_color" />
+</com.android.camera.ui.RotateLayout> \ No newline at end of file