diff options
author | Mady Mellor <madym@google.com> | 2015-05-14 12:41:18 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2015-05-15 15:51:47 -0700 |
commit | 709386f501c5a496c8bbfa0336af03f3e09e5484 (patch) | |
tree | c352bfdd7c39aa39819b42ad6ddb0c090e71db93 /core/res/res/drawable-hdpi | |
parent | 2a576d9ec1ec353ee2278f2da01e685b6b7b24ee (diff) | |
download | frameworks_base-709386f501c5a496c8bbfa0336af03f3e09e5484.zip frameworks_base-709386f501c5a496c8bbfa0336af03f3e09e5484.tar.gz frameworks_base-709386f501c5a496c8bbfa0336af03f3e09e5484.tar.bz2 |
Fix selection handles on older API versions
The new assets didn't have the same padding on the edges as assets on older
versions. The adjustments to the getHotspotX code for the new assets broke
how the handles on older API versions were placed.
This CL updates the assets to have the same padding (i.e. handleWidth / 2
on each side of the handle and changes the getHotspotX methods for this.
Bug: 20829391
Change-Id: If7e466d200ef7757831bc763c3c3ce4a8bbf63fc
Diffstat (limited to 'core/res/res/drawable-hdpi')
-rw-r--r-- | core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png | bin | 368 -> 14872 bytes |
-rw-r--r-- | core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png | bin | 349 -> 14852 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png Binary files differindex 1550b44..7ccb70a 100644 --- a/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png +++ b/core/res/res/drawable-hdpi/text_select_handle_left_mtrl_alpha.png diff --git a/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png b/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png Binary files differindex b309dfd..e65b89d 100644 --- a/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png +++ b/core/res/res/drawable-hdpi/text_select_handle_right_mtrl_alpha.png |