Merge "Switch the default text selection handles to Material style." into nyc-dev

This commit is contained in:
TreeHugger Robot
2016-05-12 00:53:01 +00:00
committed by Android (Google) Code Review
20 changed files with 10 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -81,8 +81,6 @@
<item>@drawable/edit_text_holo_dark</item> <item>@drawable/edit_text_holo_dark</item>
<item>@drawable/text_cursor_holo_light</item> <item>@drawable/text_cursor_holo_light</item>
<item>@drawable/text_cursor_holo_dark</item> <item>@drawable/text_cursor_holo_dark</item>
<item>@drawable/text_select_handle_left</item>
<item>@drawable/text_select_handle_right</item>
<item>@drawable/text_edit_paste_window</item> <item>@drawable/text_edit_paste_window</item>
<item>@drawable/expander_close_holo_dark</item> <item>@drawable/expander_close_holo_dark</item>
<item>@drawable/expander_close_holo_light</item> <item>@drawable/expander_close_holo_light</item>

View File

@@ -1232,9 +1232,6 @@
<java-symbol type="drawable" name="tab_bottom_right" /> <java-symbol type="drawable" name="tab_bottom_right" />
<java-symbol type="drawable" name="tab_bottom_right_v4" /> <java-symbol type="drawable" name="tab_bottom_right_v4" />
<java-symbol type="drawable" name="tab_indicator_v4" /> <java-symbol type="drawable" name="tab_indicator_v4" />
<java-symbol type="drawable" name="text_select_handle_left" />
<java-symbol type="drawable" name="text_select_handle_middle" />
<java-symbol type="drawable" name="text_select_handle_right" />
<java-symbol type="drawable" name="unknown_image" /> <java-symbol type="drawable" name="unknown_image" />
<java-symbol type="drawable" name="unlock_default" /> <java-symbol type="drawable" name="unlock_default" />
<java-symbol type="drawable" name="unlock_halo" /> <java-symbol type="drawable" name="unlock_halo" />

View File

@@ -248,9 +248,9 @@ please see themes_device_defaults.xml.
<item name="scrollbarTrackVertical">@null</item> <item name="scrollbarTrackVertical">@null</item>
<!-- Text selection handle attributes --> <!-- Text selection handle attributes -->
<item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> <item name="textSelectHandleLeft">@drawable/text_select_handle_left_material</item>
<item name="textSelectHandleRight">@drawable/text_select_handle_right</item> <item name="textSelectHandleRight">@drawable/text_select_handle_right_material</item>
<item name="textSelectHandle">@drawable/text_select_handle_middle</item> <item name="textSelectHandle">@drawable/text_select_handle_middle_material</item>
<item name="textSelectHandleWindowStyle">@style/Widget.TextSelectHandle</item> <item name="textSelectHandleWindowStyle">@style/Widget.TextSelectHandle</item>
<item name="textEditPasteWindowLayout">@layout/text_edit_paste_window</item> <item name="textEditPasteWindowLayout">@layout/text_edit_paste_window</item>
<item name="textEditNoPasteWindowLayout">@layout/text_edit_no_paste_window</item> <item name="textEditNoPasteWindowLayout">@layout/text_edit_no_paste_window</item>

View File

@@ -247,9 +247,9 @@ please see themes_device_defaults.xml.
<item name="scrollbarTrackVertical">@null</item> <item name="scrollbarTrackVertical">@null</item>
<!-- Text selection handle attributes --> <!-- Text selection handle attributes -->
<item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> <item name="textSelectHandleLeft">@drawable/text_select_handle_left_material</item>
<item name="textSelectHandleRight">@drawable/text_select_handle_right</item> <item name="textSelectHandleRight">@drawable/text_select_handle_right_material</item>
<item name="textSelectHandle">@drawable/text_select_handle_middle</item> <item name="textSelectHandle">@drawable/text_select_handle_middle_material</item>
<item name="textSelectHandleWindowStyle">@style/Widget.Holo.TextSelectHandle</item> <item name="textSelectHandleWindowStyle">@style/Widget.Holo.TextSelectHandle</item>
<item name="textCursorDrawable">@drawable/text_cursor_holo_dark</item> <item name="textCursorDrawable">@drawable/text_cursor_holo_dark</item>
@@ -588,9 +588,9 @@ please see themes_device_defaults.xml.
<item name="scrollbarTrackVertical">@null</item> <item name="scrollbarTrackVertical">@null</item>
<!-- Text selection handle attributes --> <!-- Text selection handle attributes -->
<item name="textSelectHandleLeft">@drawable/text_select_handle_left</item> <item name="textSelectHandleLeft">@drawable/text_select_handle_left_material</item>
<item name="textSelectHandleRight">@drawable/text_select_handle_right</item> <item name="textSelectHandleRight">@drawable/text_select_handle_right_material</item>
<item name="textSelectHandle">@drawable/text_select_handle_middle</item> <item name="textSelectHandle">@drawable/text_select_handle_middle_material</item>
<item name="textSelectHandleWindowStyle">@style/Widget.Holo.TextSelectHandle</item> <item name="textSelectHandleWindowStyle">@style/Widget.Holo.TextSelectHandle</item>
<item name="textCursorDrawable">@drawable/text_cursor_holo_light</item> <item name="textCursorDrawable">@drawable/text_cursor_holo_light</item>

View File

@@ -42,7 +42,7 @@ public class AssetsAtlasActivity extends Activity {
BitmapsView(Context c) { BitmapsView(Context c) {
super(c); super(c);
Drawable d = c.getResources().getDrawable(R.drawable.text_select_handle_left); Drawable d = c.getResources().getDrawable(R.drawable.star_big_on);
mBitmap = ((BitmapDrawable) d).getBitmap(); mBitmap = ((BitmapDrawable) d).getBitmap();
} }