diff options
author | Abodunrinwa Toki <toki@google.com> | 2017-04-11 05:15:25 +0100 |
---|---|---|
committer | Abodunrinwa Toki <toki@google.com> | 2017-04-16 23:07:14 +0100 |
commit | 6eecdc934c6050d67a639116cde600c09e5b76bd (patch) | |
tree | 0128bdd769f6719ed01cd684700b977fe9b59767 /rs/java/android/renderscript/RenderScriptGL.java | |
parent | d8837b6fca23847fcd4dd295ccbb33ef9d4edcec (diff) |
FloatingToolbar: Rules for ordering menu items.
- The assist menu item should always appear first
- Only the assist menu item should have an icon + text label
The description above enforces the expected UX without breaking
existing apps. Previously, apps couldn't have icons + text for a
menu item (we only rendered text for such items). If we don't
enforce that the assist menu item (android.R.id.textAssist) appears
first, then this item could potentially be rendered in a different
position for apps that specify an order number lower than that
specified for the assist menu item.
Test: Included in this cl.
Bug: 35989798
Change-Id: I56c71450c850e1d8cd80d54d4e17a6390823485f
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptGL.java')
0 files changed, 0 insertions, 0 deletions