diff options
author | Nancy Chen <nancychen@google.com> | 2014-09-11 15:47:33 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2014-09-11 17:15:42 -0700 |
commit | c40b90b9712d56803d0aeff77a4f12f0cc5ced7f (patch) | |
tree | f74f46403781b348e20e4e3cfc9762941394e3dc /res | |
parent | a56e65fcb4d115545b180ed94459c4a0b6ed57ab (diff) | |
download | android_packages_apps_ContactsCommon-c40b90b9712d56803d0aeff77a4f12f0cc5ced7f.tar.gz android_packages_apps_ContactsCommon-c40b90b9712d56803d0aeff77a4f12f0cc5ced7f.tar.bz2 android_packages_apps_ContactsCommon-c40b90b9712d56803d0aeff77a4f12f0cc5ced7f.zip |
Move scrollbar to the right. Add custom assets.
Added custom scroll bar handle so that the scroll bar track is moved 8dp
to the right.
Bug: 17359310
Change-Id: I4c3de09a8b3412726983a706fcf47bbb50f94720
Diffstat (limited to 'res')
-rw-r--r-- | res/drawable-hdpi/ic_scroll_handle.png | bin | 0 -> 544 bytes | |||
-rw-r--r-- | res/drawable-mdpi/ic_scroll_handle.png | bin | 0 -> 504 bytes | |||
-rw-r--r-- | res/drawable-xhdpi/ic_scroll_handle.png | bin | 0 -> 620 bytes | |||
-rw-r--r-- | res/drawable-xxhdpi/ic_scroll_handle.png | bin | 0 -> 837 bytes | |||
-rw-r--r-- | res/drawable-xxxhdpi/ic_scroll_handle.png | bin | 0 -> 1579 bytes | |||
-rw-r--r-- | res/drawable/fastscroll_thumb.xml | 19 | ||||
-rw-r--r-- | res/drawable/ic_scroll_handle_default.xml | 20 | ||||
-rw-r--r-- | res/drawable/ic_scroll_handle_pressed.xml | 20 |
8 files changed, 59 insertions, 0 deletions
diff --git a/res/drawable-hdpi/ic_scroll_handle.png b/res/drawable-hdpi/ic_scroll_handle.png Binary files differnew file mode 100644 index 00000000..3aa29b85 --- /dev/null +++ b/res/drawable-hdpi/ic_scroll_handle.png diff --git a/res/drawable-mdpi/ic_scroll_handle.png b/res/drawable-mdpi/ic_scroll_handle.png Binary files differnew file mode 100644 index 00000000..af75db4b --- /dev/null +++ b/res/drawable-mdpi/ic_scroll_handle.png diff --git a/res/drawable-xhdpi/ic_scroll_handle.png b/res/drawable-xhdpi/ic_scroll_handle.png Binary files differnew file mode 100644 index 00000000..2d43c4d5 --- /dev/null +++ b/res/drawable-xhdpi/ic_scroll_handle.png diff --git a/res/drawable-xxhdpi/ic_scroll_handle.png b/res/drawable-xxhdpi/ic_scroll_handle.png Binary files differnew file mode 100644 index 00000000..55f1d136 --- /dev/null +++ b/res/drawable-xxhdpi/ic_scroll_handle.png diff --git a/res/drawable-xxxhdpi/ic_scroll_handle.png b/res/drawable-xxxhdpi/ic_scroll_handle.png Binary files differnew file mode 100644 index 00000000..d90782a3 --- /dev/null +++ b/res/drawable-xxxhdpi/ic_scroll_handle.png diff --git a/res/drawable/fastscroll_thumb.xml b/res/drawable/fastscroll_thumb.xml new file mode 100644 index 00000000..eca4b39b --- /dev/null +++ b/res/drawable/fastscroll_thumb.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:state_pressed="true" android:drawable="@drawable/ic_scroll_handle_pressed" /> + <item android:drawable="@drawable/ic_scroll_handle_default" /> +</selector>
\ No newline at end of file diff --git a/res/drawable/ic_scroll_handle_default.xml b/res/drawable/ic_scroll_handle_default.xml new file mode 100644 index 00000000..055005ea --- /dev/null +++ b/res/drawable/ic_scroll_handle_default.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_scroll_handle" + android:tint="@color/dialtacts_secondary_text_color" />
\ No newline at end of file diff --git a/res/drawable/ic_scroll_handle_pressed.xml b/res/drawable/ic_scroll_handle_pressed.xml new file mode 100644 index 00000000..9109c816 --- /dev/null +++ b/res/drawable/ic_scroll_handle_pressed.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/ic_scroll_handle" + android:tint="@color/dialtacts_theme_color" />
\ No newline at end of file |