summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ScriptGroup.java
diff options
context:
space:
mode:
authorAbodunrinwa Toki <toki@google.com>2016-03-17 15:29:36 +0000
committerAbodunrinwa Toki <toki@google.com>2016-03-17 18:55:47 +0000
commit0cf648917fcbea6c91406566639294caacfa6fa1 (patch)
treedbaad5aab8d4de04bf6ffd7c26291985dd1a936a /rs/java/android/renderscript/ScriptGroup.java
parentd3eb078ac7aa1a046d1b23519d91ac0c8d3241bc (diff)
FloatingToolbar: Hide panels when they're invisible.
This patch sets the visibility of a panel to INVISIBLE when it's alpha is 0. This will ensure that a user cannot interact with a view that cannot be seen. Not doing this resulted in a bug where the user will tap on an area of the toolbar and activate an unintended action. It also removes the redundant mResetOverflowButtonDrawable. It's actions are already performed in setPanelsStatesAtRestingPosition. Bug: 27693433 Change-Id: Iafcde23622c7d1604924c520f6748fdbb8b135e7
Diffstat (limited to 'rs/java/android/renderscript/ScriptGroup.java')
0 files changed, 0 insertions, 0 deletions