diff options
| author | Romain Guy <romainguy@android.com> | 2009-05-12 10:54:51 -0700 |
|---|---|---|
| committer | Romain Guy <romainguy@android.com> | 2009-05-12 10:54:51 -0700 |
| commit | 83b2107c4d2f07f46b6ae663115421749486f8b1 (patch) | |
| tree | f7a5d08afc5933d98f5f70adc744184452e5d240 /core/java/android/widget/RelativeLayout.java | |
| parent | 08f3b5261fc31813e35cf04225ed8260f8a3bbe0 (diff) | |
Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
Diffstat (limited to 'core/java/android/widget/RelativeLayout.java')
| -rw-r--r-- | core/java/android/widget/RelativeLayout.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/RelativeLayout.java b/core/java/android/widget/RelativeLayout.java index c4f0abdd85a6..edbb3db255ab 100644 --- a/core/java/android/widget/RelativeLayout.java +++ b/core/java/android/widget/RelativeLayout.java @@ -823,7 +823,7 @@ public class RelativeLayout extends ViewGroup { @ViewDebug.IntToString(from = RIGHT_OF, to = "rightOf") }, mapping = { @ViewDebug.IntToString(from = TRUE, to = "true"), - @ViewDebug.IntToString(from = 0, to = "NO_ID") + @ViewDebug.IntToString(from = 0, to = "FALSE/NO_ID") }) private int[] mRules = new int[VERB_COUNT]; |
