diff options
| author | Mindy Pereira <mindyp@google.com> | 2011-07-20 10:32:40 -0700 |
|---|---|---|
| committer | Mindy Pereira <mindyp@google.com> | 2011-07-20 10:32:40 -0700 |
| commit | b6d7e99a75907aeeda8bf89703197736a1636044 (patch) | |
| tree | aa8287d04daa92a2dee882271eef8a4eef1e8fd6 /res/values | |
| parent | 6d6bd68a492fbbfca50ae4793313083105e6f270 (diff) | |
| download | android_frameworks_opt_chips-b6d7e99a75907aeeda8bf89703197736a1636044.tar.gz android_frameworks_opt_chips-b6d7e99a75907aeeda8bf89703197736a1636044.tar.bz2 android_frameworks_opt_chips-b6d7e99a75907aeeda8bf89703197736a1636044.zip | |
Add styling to the library so apps can have a properly styled widget.
Change-Id: I2a41c661f8395c9521f9c5af8660f7ba08d56717
Diffstat (limited to 'res/values')
| -rw-r--r-- | res/values/attrs.xml | 1 | ||||
| -rw-r--r-- | res/values/styles.xml | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 7294db5..d1e3582 100644 --- a/res/values/attrs.xml +++ b/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/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..2ce6270 --- /dev/null +++ b/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 |
