summaryrefslogtreecommitdiffstats
path: root/chips/res
diff options
context:
space:
mode:
authorMindy Pereira <mindyp@google.com>2011-07-20 10:32:40 -0700
committerMindy Pereira <mindyp@google.com>2011-07-20 10:32:40 -0700
commit66b8155ba31093b219bb8c155853a536086ada88 (patch)
tree3b7b9cb7e06e3ebfb1c9036cdb0c6504cead0c00 /chips/res
parent491c1590357075a6a52249c6e8e1597d93939c93 (diff)
downloadandroid_frameworks_ex-66b8155ba31093b219bb8c155853a536086ada88.tar.gz
android_frameworks_ex-66b8155ba31093b219bb8c155853a536086ada88.tar.bz2
android_frameworks_ex-66b8155ba31093b219bb8c155853a536086ada88.zip
Add styling to the library so apps can have a properly styled widget.
Change-Id: I2a41c661f8395c9521f9c5af8660f7ba08d56717
Diffstat (limited to 'chips/res')
-rw-r--r--chips/res/values/attrs.xml1
-rw-r--r--chips/res/values/styles.xml28
2 files changed, 29 insertions, 0 deletions
diff --git a/chips/res/values/attrs.xml b/chips/res/values/attrs.xml
index 7294db5..d1e3582 100644
--- a/chips/res/values/attrs.xml
+++ b/chips/res/values/attrs.xml
@@ -23,4 +23,5 @@
<add-resource type="color" name="chip_selected" />
<add-resource type="string" name="more_string" />
<add-resource type="string" name="chips_waiting_for_directory_result" />
+ <add-resource type="style" name="RecipientEditTextView" />
</resources>
diff --git a/chips/res/values/styles.xml b/chips/res/values/styles.xml
new file mode 100644
index 0000000..2ce6270
--- /dev/null
+++ b/chips/res/values/styles.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 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.
+-->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <style name="RecipientEditTextView" parent="@android:style/Widget.AutoCompleteTextView">
+ <item name="android:paddingLeft">8dip</item>
+ <item name="android:paddingRight">4dip</item>
+ <item name="android:inputType">textEmailAddress|textMultiLine</item>
+ <item name="android:imeOptions">actionNext</item>
+ <item name="android:textAppearance">?android:attr/textAppearanceMedium</item>
+ <item name="android:background">@null</item>
+ <item name="android:layout_height">wrap_content</item>
+ <item name="android:dropDownVerticalOffset">0dip</item>
+ <item name="android:dropDownHorizontalOffset">0dip</item>
+ </style>
+</resources> \ No newline at end of file