diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-09-01 14:50:51 -0400 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-09-23 18:32:20 +0000 |
commit | 6f3c88ab863360e2ca05988f06b6aa3fde3fa14b (patch) | |
tree | 5a70d9f2439b893ac4ab781de79285424970e204 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e530998c9edf8210dc8078cd9100a8a904ac556f (diff) |
Swap seekbar vert padding to keep height fixed
Reduce the vertical padding of the seekbar when it's enabled by 2dp to
account for the extra height in the track. That way the height of the
SeekBar view is always 33dp.
This has a nice side effect of properly setting the height of the track
when resuming.
Bug: 160242262
Test: manual
Change-Id: I9b6888f2a6bf5fb118075dea3f849618350ec18b
(cherry picked from commit b84e6ba27f61885a4c5282f19fbbf238bcaeaa91)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions