summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-12-21 18:10:03 +0800
committerHung-ying Tyan <tyanh@google.com>2010-12-21 19:08:43 +0800
commit911e2ed564b3f8ffca066c0b7c43469482cbf72a (patch)
treef7cf93a3145344af8c9224cba6283c1513b96e7b /res/drawable
parent86d712e3eef5bcc4524eca64ce14eb9f2bc4836c (diff)
downloadLegacyCamera-911e2ed564b3f8ffca066c0b7c43469482cbf72a.zip
LegacyCamera-911e2ed564b3f8ffca066c0b7c43469482cbf72a.tar.gz
LegacyCamera-911e2ed564b3f8ffca066c0b7c43469482cbf72a.tar.bz2
Make round the border of on-preview text label.
Bug: 3298451 Change-Id: Ie3129d6a358f24d1ebbdd60417b0cd7ca8dbdd01
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/bg_text_on_preview.xml21
-rw-r--r--res/drawable/bg_text_on_preview_pressed.xml21
-rw-r--r--res/drawable/bg_text_on_preview_transparent.xml21
3 files changed, 63 insertions, 0 deletions
diff --git a/res/drawable/bg_text_on_preview.xml b/res/drawable/bg_text_on_preview.xml
new file mode 100644
index 0000000..cdc2b04
--- /dev/null
+++ b/res/drawable/bg_text_on_preview.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="@color/on_viewfinder_label_background_color"/>
+ <corners android:radius="3dp"/>
+</shape>
diff --git a/res/drawable/bg_text_on_preview_pressed.xml b/res/drawable/bg_text_on_preview_pressed.xml
new file mode 100644
index 0000000..7d653d1
--- /dev/null
+++ b/res/drawable/bg_text_on_preview_pressed.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="@color/review_control_pressed_color"/>
+ <corners android:radius="3dp"/>
+</shape>
diff --git a/res/drawable/bg_text_on_preview_transparent.xml b/res/drawable/bg_text_on_preview_transparent.xml
new file mode 100644
index 0000000..21893c6
--- /dev/null
+++ b/res/drawable/bg_text_on_preview_transparent.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2010 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.
+-->
+
+<shape xmlns:android="http://schemas.android.com/apk/res/android"
+ android:shape="rectangle">
+ <solid android:color="@android:color/transparent"/>
+ <corners android:radius="3dp"/>
+</shape>