diff options
author | Yorke Lee <yorkelee@google.com> | 2013-11-25 16:24:15 -0800 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2013-11-25 16:24:15 -0800 |
commit | f67d2e9a29257600a1560bc677cdd53cecaa0aec (patch) | |
tree | a47b0819d3c7f78dcfdfdeaa1e8e870a77dfad56 /res | |
parent | dc3381a23c9bb3711f6283fe1b3663a502770892 (diff) | |
download | android_packages_apps_ContactsCommon-f67d2e9a29257600a1560bc677cdd53cecaa0aec.tar.gz android_packages_apps_ContactsCommon-f67d2e9a29257600a1560bc677cdd53cecaa0aec.tar.bz2 android_packages_apps_ContactsCommon-f67d2e9a29257600a1560bc677cdd53cecaa0aec.zip |
Copy quickcontact badge drawable in framework to ContactsCommon
Remove private reference to quickcontact badge drawable
Bug: 6948882
Change-Id: I4f9c9cce48e94632802bd056beed7e80f1c25f22
Diffstat (limited to 'res')
16 files changed, 97 insertions, 0 deletions
diff --git a/res/drawable-hdpi/quickcontact_badge_overlay_focused_dark_am.9.png b/res/drawable-hdpi/quickcontact_badge_overlay_focused_dark_am.9.png Binary files differnew file mode 100644 index 00000000..cbd8c5cc --- /dev/null +++ b/res/drawable-hdpi/quickcontact_badge_overlay_focused_dark_am.9.png diff --git a/res/drawable-hdpi/quickcontact_badge_overlay_normal_dark_am.9.png b/res/drawable-hdpi/quickcontact_badge_overlay_normal_dark_am.9.png Binary files differnew file mode 100644 index 00000000..a82e7ac0 --- /dev/null +++ b/res/drawable-hdpi/quickcontact_badge_overlay_normal_dark_am.9.png diff --git a/res/drawable-hdpi/quickcontact_badge_overlay_pressed_dark_am.9.png b/res/drawable-hdpi/quickcontact_badge_overlay_pressed_dark_am.9.png Binary files differnew file mode 100644 index 00000000..4e40eda9 --- /dev/null +++ b/res/drawable-hdpi/quickcontact_badge_overlay_pressed_dark_am.9.png diff --git a/res/drawable-mdpi/quickcontact_badge_overlay_focused_dark_am.9.png b/res/drawable-mdpi/quickcontact_badge_overlay_focused_dark_am.9.png Binary files differnew file mode 100644 index 00000000..d12a1966 --- /dev/null +++ b/res/drawable-mdpi/quickcontact_badge_overlay_focused_dark_am.9.png diff --git a/res/drawable-mdpi/quickcontact_badge_overlay_normal_dark_am.9.png b/res/drawable-mdpi/quickcontact_badge_overlay_normal_dark_am.9.png Binary files differnew file mode 100644 index 00000000..99c42c57 --- /dev/null +++ b/res/drawable-mdpi/quickcontact_badge_overlay_normal_dark_am.9.png diff --git a/res/drawable-mdpi/quickcontact_badge_overlay_pressed_dark_am.9.png b/res/drawable-mdpi/quickcontact_badge_overlay_pressed_dark_am.9.png Binary files differnew file mode 100644 index 00000000..a70615ad --- /dev/null +++ b/res/drawable-mdpi/quickcontact_badge_overlay_pressed_dark_am.9.png diff --git a/res/drawable-xhdpi/quickcontact_badge_overlay_focused_dark_am.9.png b/res/drawable-xhdpi/quickcontact_badge_overlay_focused_dark_am.9.png Binary files differnew file mode 100644 index 00000000..69278346 --- /dev/null +++ b/res/drawable-xhdpi/quickcontact_badge_overlay_focused_dark_am.9.png diff --git a/res/drawable-xhdpi/quickcontact_badge_overlay_normal_dark_am.9.png b/res/drawable-xhdpi/quickcontact_badge_overlay_normal_dark_am.9.png Binary files differnew file mode 100644 index 00000000..99dbfcca --- /dev/null +++ b/res/drawable-xhdpi/quickcontact_badge_overlay_normal_dark_am.9.png diff --git a/res/drawable-xhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png b/res/drawable-xhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png Binary files differnew file mode 100644 index 00000000..16c1e00e --- /dev/null +++ b/res/drawable-xhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png diff --git a/res/drawable-xxhdpi/quickcontact_badge_overlay_focused_dark_am.9.png b/res/drawable-xxhdpi/quickcontact_badge_overlay_focused_dark_am.9.png Binary files differnew file mode 100644 index 00000000..8eda0f10 --- /dev/null +++ b/res/drawable-xxhdpi/quickcontact_badge_overlay_focused_dark_am.9.png diff --git a/res/drawable-xxhdpi/quickcontact_badge_overlay_normal_dark_am.9.png b/res/drawable-xxhdpi/quickcontact_badge_overlay_normal_dark_am.9.png Binary files differnew file mode 100644 index 00000000..09c8cbd1 --- /dev/null +++ b/res/drawable-xxhdpi/quickcontact_badge_overlay_normal_dark_am.9.png diff --git a/res/drawable-xxhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png b/res/drawable-xxhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png Binary files differnew file mode 100644 index 00000000..432436f1 --- /dev/null +++ b/res/drawable-xxhdpi/quickcontact_badge_overlay_pressed_dark_am.9.png diff --git a/res/drawable/quickcontact_badge_overlay_dark.xml b/res/drawable/quickcontact_badge_overlay_dark.xml new file mode 100644 index 00000000..6bd74035 --- /dev/null +++ b/res/drawable/quickcontact_badge_overlay_dark.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2009 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/quickcontact_badge_overlay_pressed_dark" /> + <item + android:state_pressed="false" + android:state_focused="true" + android:drawable="@drawable/quickcontact_badge_overlay_focused_dark" /> + <item + android:drawable="@drawable/quickcontact_badge_overlay_normal_dark" /> + +</selector> diff --git a/res/drawable/quickcontact_badge_overlay_focused_dark.xml b/res/drawable/quickcontact_badge_overlay_focused_dark.xml new file mode 100644 index 00000000..21fb9327 --- /dev/null +++ b/res/drawable/quickcontact_badge_overlay_focused_dark.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2013, 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. + */ +--> + +<nine-patch xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/quickcontact_badge_overlay_focused_dark_am" + android:autoMirrored="true"> +</nine-patch> diff --git a/res/drawable/quickcontact_badge_overlay_normal_dark.xml b/res/drawable/quickcontact_badge_overlay_normal_dark.xml new file mode 100644 index 00000000..ff17781d --- /dev/null +++ b/res/drawable/quickcontact_badge_overlay_normal_dark.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2013, 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. + */ +--> + +<nine-patch xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/quickcontact_badge_overlay_normal_dark_am" + android:autoMirrored="true"> +</nine-patch> diff --git a/res/drawable/quickcontact_badge_overlay_pressed_dark.xml b/res/drawable/quickcontact_badge_overlay_pressed_dark.xml new file mode 100644 index 00000000..9ca8a88e --- /dev/null +++ b/res/drawable/quickcontact_badge_overlay_pressed_dark.xml @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* + * Copyright 2013, 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. + */ +--> + +<nine-patch xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/quickcontact_badge_overlay_pressed_dark_am" + android:autoMirrored="true"> +</nine-patch> |