summaryrefslogtreecommitdiffstats
path: root/res/layout/cling_widget.xml
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2014-03-31 15:27:40 -0700
committerDoris Liu <tianliu@google.com>2014-03-31 17:49:55 -0700
commite7d7b9ef5e09ba464306565c6c62302a4d9bbe5e (patch)
treef6503ad11bd8c4cef9da9cd9ea4497dd1bfc79b1 /res/layout/cling_widget.xml
parent4e0a464166fca881fa93d51f43aeb334c874e4b1 (diff)
downloadandroid_packages_apps_Camera2-e7d7b9ef5e09ba464306565c6c62302a4d9bbe5e.tar.gz
android_packages_apps_Camera2-e7d7b9ef5e09ba464306565c6c62302a4d9bbe5e.tar.bz2
android_packages_apps_Camera2-e7d7b9ef5e09ba464306565c6c62302a4d9bbe5e.zip
New generic cling widget, add cling for refocus editor button
Bug: 13307036 Change-Id: If3a1759cbc0cbc66de1d3d15a3ae18999bf0bd1f
Diffstat (limited to 'res/layout/cling_widget.xml')
-rw-r--r--res/layout/cling_widget.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/res/layout/cling_widget.xml b/res/layout/cling_widget.xml
new file mode 100644
index 000000000..78aaaddc2
--- /dev/null
+++ b/res/layout/cling_widget.xml
@@ -0,0 +1,28 @@
+<?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.
+-->
+
+<com.android.camera.widget.Cling xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="@dimen/default_cling_width"
+ android:layout_height="wrap_content"
+ android:paddingLeft="15dp"
+ android:paddingTop="12dp"
+ android:paddingRight="15dp"
+ android:paddingBottom="25dp"
+ android:background="@drawable/cling"
+ android:textColor="@android:color/white"
+ android:textSize="14sp"
+ />