am 8d576dd2: am 47cdb727: am 081a9162: Merge "Set switch to the correct enabling state" into lmp-dev
* commit '8d576dd26ff133079ea835bb531b88101449f3bc': Set switch to the correct enabling state
This commit is contained in:
@@ -124,7 +124,7 @@ public class SwitchBar extends LinearLayout implements CompoundButton.OnCheckedC
|
||||
public void setEnabled(boolean enabled) {
|
||||
super.setEnabled(enabled);
|
||||
mTextView.setEnabled(enabled);
|
||||
mSwitch.setEnabled(false);
|
||||
mSwitch.setEnabled(enabled);
|
||||
}
|
||||
|
||||
public final ToggleSwitch getSwitch() {
|
||||
|
||||
Reference in New Issue
Block a user