diff options
author | Chet Haase <chet@google.com> | 2016-11-28 16:11:42 -0800 |
---|---|---|
committer | Chet Haase <chet@google.com> | 2016-11-30 07:39:57 -0800 |
commit | 40b2de5d1cfbc96f6e310760dc98c8bd3fe5df73 (patch) | |
tree | 84c7fb3d2887c0183b0f8514806e4f37aba8e7f8 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 58feeac96b585867195444ce6c2dd794abe61869 (diff) |
Add layout_marginHorizontal|Vertical attributes
These two new attributes are a short-hand way for specifying the
separate left/right (or start/end) and top/bottom margin attributes.
It is common to use the same margin on both edges, so these new
attributes make that common case easier and less verbose.
Issue: 30261490 Better way to define paddingTop/Bottom/Left/Right in XML if vertical paddings are the same and horizontal paddings are the same
Test: new CTS test in ViewGroup_MarginLayoutParamsTest
Change-Id: I183ace956892187b6ea086e61ed5b195c8903d7d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions