diff options
author | Peeyush Agarwal <apeeyush@google.com> | 2016-12-15 15:09:58 +0000 |
---|---|---|
committer | Peeyush Agarwal <apeeyush@google.com> | 2016-12-20 17:53:20 +0000 |
commit | e2c893fc2d26fd2a3c1accb8fc78dddc8022e1bf (patch) | |
tree | c8f1fcbf08f7f69034c22d133d55310fe59cd556 /tools/aapt2/diff/Diff.cpp | |
parent | 0de5d03c9d6cca001706e93f5e35a95f6320b77b (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/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions