diff options
| author | Makoto Onuki <omakoto@google.com> | 2011-02-09 16:10:21 -0800 |
|---|---|---|
| committer | Makoto Onuki <omakoto@google.com> | 2011-02-23 13:32:36 -0800 |
| commit | de9e706ed900b2108165f512384e69871e069fa1 (patch) | |
| tree | d985fc326af0ceddcdb6e75b6dc952c4f3abab8c /res/values/attrs.xml | |
| parent | 314a51cb1d5bc538f069b6b13d8dffd575a5cc44 (diff) | |
| download | android_packages_apps_Email-de9e706ed900b2108165f512384e69871e069fa1.tar.gz android_packages_apps_Email-de9e706ed900b2108165f512384e69871e069fa1.tar.bz2 android_packages_apps_Email-de9e706ed900b2108165f512384e69871e069fa1.zip | |
SizeBoundingFrameLayout: framelayout with max width/height
This will be used to set the max width to the account name spinner.
I gave up on writing tests for onMeasure. It wasn't easy without adding
a dummy activity and layout.
It'll be used for a fix to bug 3439694.
Change-Id: Ie7569b0661eb732e270e4521fa0d3306f1bdd12c
Diffstat (limited to 'res/values/attrs.xml')
| -rw-r--r-- | res/values/attrs.xml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml new file mode 100644 index 000000000..8521cf48a --- /dev/null +++ b/res/values/attrs.xml @@ -0,0 +1,24 @@ +<?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. +--> + +<!-- Defines attributes for custom views --> + +<resources> + <declare-styleable name="SizeBoundingFrameLayout_attributes"> + <attr name="maxWidth" format="dimension"/> + <attr name="maxHeight" format="dimension"/> + </declare-styleable> +</resources> |
