Merge "Use platform assets for brightness scrubber." into ics-mr1

This commit is contained in:
Daniel Sandler
2011-11-09 20:41:03 -08:00
committed by Android (Google) Code Review
10 changed files with 6 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 571 B

View File

@ -80,10 +80,13 @@ public class ToggleSlider extends RelativeLayout
Drawable slider; Drawable slider;
final Resources res = getContext().getResources(); final Resources res = getContext().getResources();
if (checked) { if (checked) {
thumb = res.getDrawable(R.drawable.scrubber_control_disabled_holo); thumb = res.getDrawable(
slider = res.getDrawable(R.drawable.status_bar_settings_slider_disabled); com.android.internal.R.drawable.scrubber_control_disabled_holo);
slider = res.getDrawable(
R.drawable.status_bar_settings_slider_disabled);
} else { } else {
thumb = res.getDrawable(R.drawable.scrubber_control_holo); thumb = res.getDrawable(
com.android.internal.R.drawable.scrubber_control_selector_holo);
slider = res.getDrawable( slider = res.getDrawable(
com.android.internal.R.drawable.scrubber_progress_horizontal_holo_dark); com.android.internal.R.drawable.scrubber_progress_horizontal_holo_dark);
} }