diff options
author | Raph Levien <raph@google.com> | 2015-04-30 16:29:59 -0700 |
---|---|---|
committer | Raph Levien <raph@google.com> | 2015-05-01 15:15:48 -0700 |
commit | 531c30c62b14881aab31a5133920a971b1fbb50e (patch) | |
tree | 71dbfc0935e9b5ce5df3c50ddb9c4099be83b04e /tools/aapt2/JavaClassGenerator_test.cpp | |
parent | ebd66ca600dc2c43edb0830bcf1a92fafec30a5a (diff) |
Expose StaticLayout.Builder publicly
Expose the new Builder pattern for creating StaticLayout. This allows
access to a number of features that have been available to TextView
through a hidden constructor. Some of these features have existed
for a while (mostly maxLines), while others are new (breakStrategy,
indents).
The builder is cleaner and has a better upgrade path than the old
pattern of lots of constructors with varying numbers of arguments.
Bug: 20190561
Change-Id: Ia3cd124825ab0cb469d22d1fc576ad26454545b8
Diffstat (limited to 'tools/aapt2/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions