summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptC.java
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2017-04-11 05:15:25 +0100
committerAbodunrinwa Toki <toki@google.com>2017-04-16 23:07:14 +0100
commit6eecdc934c6050d67a639116cde600c09e5b76bd (patch)
tree0128bdd769f6719ed01cd684700b977fe9b59767 /rs/java/android/renderscript/ScriptC.java
parentd8837b6fca23847fcd4dd295ccbb33ef9d4edcec (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/ScriptC.java')
0 files changed, 0 insertions, 0 deletions