diff options
author | Chris Wren <cwren@android.com> | 2012-03-30 18:28:14 -0400 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-17 09:06:21 -0700 |
commit | 3a59d6e26dbec61ede7d6f87d966698e27c91d78 (patch) | |
tree | 1991beeb07ff593a230d994d6712d8a9867bfe6f /core/res | |
parent | 8334679be1a9defb9d52217542ec0a1389c9fcae (diff) | |
download | frameworks_base-3a59d6e26dbec61ede7d6f87d966698e27c91d78.zip frameworks_base-3a59d6e26dbec61ede7d6f87d966698e27c91d78.tar.gz frameworks_base-3a59d6e26dbec61ede7d6f87d966698e27c91d78.tar.bz2 |
A layout that switches between its children based on the requested layout height.
Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51
Diffstat (limited to 'core/res')
-rwxr-xr-x | core/res/res/values/attrs.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/res/res/values/attrs.xml b/core/res/res/values/attrs.xml index 600a834..6f489d4 100755 --- a/core/res/res/values/attrs.xml +++ b/core/res/res/values/attrs.xml @@ -5380,6 +5380,21 @@ </declare-styleable> <!-- =============================== --> + <!-- SizeAdaptiveLayout class attributes --> + <!-- =============================== --> + <eat-comment /> + <declare-styleable name="SizeAdaptiveLayout_Layout"> + <!-- The maximum valid height for this item. --> + <attr name="layout_maxHeight" format="dimension"> + <!-- Indicates that the view may be resized arbitrarily large. --> + <enum name="unbounded" value="-1" /> + </attr> + <!-- The minimum valid height for this item. --> + <attr name="layout_minHeight" format="dimension" /> + </declare-styleable> + <declare-styleable name="SizeAdaptiveLayout" /> + + <!-- =============================== --> <!-- LockPatternView class attributes --> <!-- =============================== --> <eat-comment /> |