Merge "Renaming NumberPicker resources to be consistent." into honeycomb
@@ -478,7 +478,7 @@ public class NumberPicker extends LinearLayout {
|
||||
mDecrementButton.setOnLongClickListener(onLongClickListener);
|
||||
|
||||
// input text
|
||||
mInputText = (EditText) findViewById(R.id.timepicker_input);
|
||||
mInputText = (EditText) findViewById(R.id.numberpicker_input);
|
||||
mInputText.setOnFocusChangeListener(new OnFocusChangeListener() {
|
||||
public void onFocusChange(View v, boolean hasFocus) {
|
||||
if (!hasFocus) {
|
||||
|
||||
|
Before Width: | Height: | Size: 554 B After Width: | Height: | Size: 554 B |
|
Before Width: | Height: | Size: 786 B After Width: | Height: | Size: 786 B |
|
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 458 B |
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 732 B |
|
Before Width: | Height: | Size: 664 B After Width: | Height: | Size: 664 B |
|
Before Width: | Height: | Size: 734 B After Width: | Height: | Size: 734 B |
|
Before Width: | Height: | Size: 573 B After Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 473 B After Width: | Height: | Size: 473 B |
|
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 493 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
|
Before Width: | Height: | Size: 537 B After Width: | Height: | Size: 537 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 391 B After Width: | Height: | Size: 391 B |
|
Before Width: | Height: | Size: 694 B After Width: | Height: | Size: 694 B |
|
Before Width: | Height: | Size: 970 B After Width: | Height: | Size: 970 B |
|
Before Width: | Height: | Size: 662 B After Width: | Height: | Size: 662 B |
|
Before Width: | Height: | Size: 710 B After Width: | Height: | Size: 710 B |
|
Before Width: | Height: | Size: 946 B After Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 546 B |
|
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
|
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 455 B |
|
Before Width: | Height: | Size: 672 B After Width: | Height: | Size: 672 B |
|
Before Width: | Height: | Size: 656 B After Width: | Height: | Size: 656 B |
|
Before Width: | Height: | Size: 757 B After Width: | Height: | Size: 757 B |
|
Before Width: | Height: | Size: 560 B After Width: | Height: | Size: 560 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 457 B After Width: | Height: | Size: 457 B |
|
Before Width: | Height: | Size: 470 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 756 B After Width: | Height: | Size: 756 B |
|
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 525 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 507 B After Width: | Height: | Size: 507 B |
|
Before Width: | Height: | Size: 574 B After Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
|
Before Width: | Height: | Size: 809 B After Width: | Height: | Size: 809 B |
|
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
|
Before Width: | Height: | Size: 415 B After Width: | Height: | Size: 415 B |
|
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
|
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 463 B |
|
Before Width: | Height: | Size: 504 B After Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 671 B After Width: | Height: | Size: 671 B |
|
Before Width: | Height: | Size: 777 B After Width: | Height: | Size: 777 B |
|
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 987 B |
|
Before Width: | Height: | Size: 1003 B After Width: | Height: | Size: 1003 B |
|
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 422 B |
|
Before Width: | Height: | Size: 580 B After Width: | Height: | Size: 580 B |
|
Before Width: | Height: | Size: 588 B After Width: | Height: | Size: 588 B |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
|
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 456 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 666 B After Width: | Height: | Size: 666 B |
|
Before Width: | Height: | Size: 718 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 795 B After Width: | Height: | Size: 795 B |
|
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 481 B After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 737 B After Width: | Height: | Size: 737 B |
|
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 495 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 280 B After Width: | Height: | Size: 280 B |
|
Before Width: | Height: | Size: 582 B After Width: | Height: | Size: 582 B |
|
Before Width: | Height: | Size: 604 B After Width: | Height: | Size: 604 B |
|
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
|
Before Width: | Height: | Size: 491 B After Width: | Height: | Size: 491 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 728 B |
|
Before Width: | Height: | Size: 571 B After Width: | Height: | Size: 571 B |
|
Before Width: | Height: | Size: 559 B After Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 484 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 458 B After Width: | Height: | Size: 458 B |
|
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 711 B |
|
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 652 B |
|
Before Width: | Height: | Size: 703 B After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 472 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 717 B After Width: | Height: | Size: 717 B |
|
Before Width: | Height: | Size: 480 B After Width: | Height: | Size: 480 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 258 B |
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_normal" />
|
||||
android:drawable="@drawable/numberpicker_down_normal" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_up_pressed" />
|
||||
android:drawable="@drawable/numberpicker_down_pressed" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_selected" />
|
||||
android:drawable="@drawable/numberpicker_down_selected" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_disabled" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_disabled_focused" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled_focused" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_normal_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_down_normal_holo_dark" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_up_pressed_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_down_pressed_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_focused_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_down_focused_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_disabled_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_disabled_focused_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled_focused_holo_dark" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_normal_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_down_normal_holo_light" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_up_pressed_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_down_pressed_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_focused_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_down_focused_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_up_focused_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_up_disabled_focused_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_down_disabled_focused_holo_light" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_input_normal" />
|
||||
android:drawable="@drawable/numberpicker_input_normal" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_input_pressed" />
|
||||
android:drawable="@drawable/numberpicker_input_pressed" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_input_selected" />
|
||||
android:drawable="@drawable/numberpicker_input_selected" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_input_disabled" />
|
||||
android:drawable="@drawable/numberpicker_input_disabled" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_input_normal" />
|
||||
android:drawable="@drawable/numberpicker_input_normal" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_normal" />
|
||||
android:drawable="@drawable/numberpicker_up_normal" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_down_pressed" />
|
||||
android:drawable="@drawable/numberpicker_up_pressed" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_selected" />
|
||||
android:drawable="@drawable/numberpicker_up_selected" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_disabled" />
|
||||
android:drawable="@drawable/numberpicker_up_disabled" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_disabled_focused" />
|
||||
android:drawable="@drawable/numberpicker_up_disabled_focused" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_normal_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_up_normal_holo_dark" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_down_pressed_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_up_pressed_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_focused_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_up_focused_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_disabled_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_up_disabled_holo_dark" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_disabled_focused_holo_dark" />
|
||||
android:drawable="@drawable/numberpicker_up_disabled_focused_holo_dark" />
|
||||
|
||||
</selector>
|
||||
@@ -19,25 +19,25 @@
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_normal_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_up_normal_holo_light" />
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/timepicker_down_pressed_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_up_pressed_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_focused_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_up_focused_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="false"
|
||||
android:drawable="@drawable/timepicker_down_disabled_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_up_focused_holo_light" />
|
||||
|
||||
<item android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/timepicker_down_disabled_focused_holo_light" />
|
||||
android:drawable="@drawable/numberpicker_up_disabled_focused_holo_light" />
|
||||
|
||||
</selector>
|
||||