summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorPeeyush Agarwal <apeeyush@google.com>2016-12-15 15:09:58 +0000
committerPeeyush Agarwal <apeeyush@google.com>2016-12-20 17:53:20 +0000
commite2c893fc2d26fd2a3c1accb8fc78dddc8022e1bf (patch)
treec8f1fcbf08f7f69034c22d133d55310fe59cd556 /tools/aapt2/java/JavaClassGenerator.cpp
parent0de5d03c9d6cca001706e93f5e35a95f6320b77b (diff)
Fix keyboard shortcut display layout
The keyboard_shortcuts_keyword TextView in keyboard_shortcut_app_item layout was wrap_content making it take all the space in case the text is too long. The TextView is now rendered indide a KeyboardShortcutsLayout which extends the RelativeLayout and sets the maxWidth of keyboard_shortcuts_keyword TextView to 70% when onMeasure is called with EXACT MeasureSpec. Bug: 32980732 Fixes: 32980732 Test: Manual Change-Id: I1250802af0a4ad011e842318384ca6fe5686989c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions