diff options
author | Mindy Pereira <mindyp@google.com> | 2011-12-16 14:30:34 -0800 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2011-12-16 14:30:34 -0800 |
commit | 3da5aa0ceb8e870d43fa6747330064d6ddf4775e (patch) | |
tree | 8b4ddbf3e229a03f2e87712c362cc185b0d85bc3 /chips/res | |
parent | a11c2b0e1ea043aa4d8745285f2dcbe20448b417 (diff) | |
download | android_frameworks_ex-3da5aa0ceb8e870d43fa6747330064d6ddf4775e.tar.gz android_frameworks_ex-3da5aa0ceb8e870d43fa6747330064d6ddf4775e.tar.bz2 android_frameworks_ex-3da5aa0ceb8e870d43fa6747330064d6ddf4775e.zip |
Add styleable attributes to chips. This first one is a test.
We will need this in order to be able to support both dark and
light themes for chips fields. If nothing is specified, just falls
back to the default background.
Change-Id: Ibc0e5391969bfee1615b14bafe83f065d81c6331
Diffstat (limited to 'chips/res')
-rw-r--r-- | chips/res/values/attrs.xml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/chips/res/values/attrs.xml b/chips/res/values/attrs.xml index 6a09b69..2dd1623 100644 --- a/chips/res/values/attrs.xml +++ b/chips/res/values/attrs.xml @@ -13,15 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - <resources> - <add-resource type="dimen" name="chip_padding" /> - <add-resource type="dimen" name="chip_height" /> - <add-resource type="dimen" name="chip_text_size" /> - <add-resource type="color" name="default_chip_background" /> - <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="string" name="copy" /> - <add-resource type="style" name="RecipientEditTextView" /> + <declare-styleable name="RecipientEditTextView"> + <attr name="chipBackground" format="reference" /> + </declare-styleable> </resources> |