diff options
author | Mindy Pereira <mindyp@google.com> | 2013-09-23 19:12:13 -0700 |
---|---|---|
committer | Mindy Pereira <mindyp@google.com> | 2013-09-24 14:05:29 -0700 |
commit | 29e7a34e01e791641030f7687402f12bc091a70d (patch) | |
tree | 5c10b587a710f7de88f3e3a20bbd5040c42e2e67 /res | |
parent | 4863db01e3629a0a29c718b94445332ef74441e9 (diff) | |
download | android_packages_apps_Snap-29e7a34e01e791641030f7687402f12bc091a70d.tar.gz android_packages_apps_Snap-29e7a34e01e791641030f7687402f12bc091a70d.tar.bz2 android_packages_apps_Snap-29e7a34e01e791641030f7687402f12bc091a70d.zip |
De-blue camera
fixes b/10914366 de-blue camera
Change-Id: I36616639e701d7d76fb354e0911e5e64c973060d
Diffstat (limited to 'res')
18 files changed, 104 insertions, 0 deletions
diff --git a/res/drawable-hdpi-v19/btn_shutter_pressed.png b/res/drawable-hdpi-v19/btn_shutter_pressed.png Binary files differnew file mode 100644 index 000000000..c38f2d5df --- /dev/null +++ b/res/drawable-hdpi-v19/btn_shutter_pressed.png diff --git a/res/drawable-hdpi-v19/list_pressed_holo_light.9.png b/res/drawable-hdpi-v19/list_pressed_holo_light.9.png Binary files differnew file mode 100644 index 000000000..2054530ed --- /dev/null +++ b/res/drawable-hdpi-v19/list_pressed_holo_light.9.png diff --git a/res/drawable-hdpi-v19/menu_bg_pressed.png b/res/drawable-hdpi-v19/menu_bg_pressed.png Binary files differnew file mode 100644 index 000000000..c38f2d5df --- /dev/null +++ b/res/drawable-hdpi-v19/menu_bg_pressed.png diff --git a/res/drawable-mdpi-v19/btn_shutter_pressed.png b/res/drawable-mdpi-v19/btn_shutter_pressed.png Binary files differnew file mode 100644 index 000000000..68f8cef2b --- /dev/null +++ b/res/drawable-mdpi-v19/btn_shutter_pressed.png diff --git a/res/drawable-mdpi-v19/list_pressed_holo_light.9.png b/res/drawable-mdpi-v19/list_pressed_holo_light.9.png Binary files differnew file mode 100644 index 000000000..061904c42 --- /dev/null +++ b/res/drawable-mdpi-v19/list_pressed_holo_light.9.png diff --git a/res/drawable-mdpi-v19/menu_bg_pressed.png b/res/drawable-mdpi-v19/menu_bg_pressed.png Binary files differnew file mode 100644 index 000000000..68f8cef2b --- /dev/null +++ b/res/drawable-mdpi-v19/menu_bg_pressed.png diff --git a/res/drawable-v19/circle_bg_pressed_exit_fading.xml b/res/drawable-v19/circle_bg_pressed_exit_fading.xml new file mode 100644 index 000000000..239673c07 --- /dev/null +++ b/res/drawable-v19/circle_bg_pressed_exit_fading.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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" + android:exitFadeDuration="@android:integer/config_mediumAnimTime"> + <item android:state_pressed="true" android:drawable="@drawable/menu_bg_pressed" /> + <item android:drawable="@android:color/transparent" /> +</selector> diff --git a/res/drawable-v19/photopage_bottom_button_background.xml b/res/drawable-v19/photopage_bottom_button_background.xml new file mode 100644 index 000000000..78571dafe --- /dev/null +++ b/res/drawable-v19/photopage_bottom_button_background.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/list_pressed_holo_light" android:state_pressed="true"/> + <item android:drawable="@color/button_dark_transparent_background" android:state_selected="false"/> +</selector> diff --git a/res/drawable-v19/transparent_button_background.xml b/res/drawable-v19/transparent_button_background.xml new file mode 100644 index 000000000..26b1b7c0c --- /dev/null +++ b/res/drawable-v19/transparent_button_background.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<selector xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/list_pressed_holo_light" android:state_pressed="true"/> + <item android:drawable="@drawable/list_pressed_holo_light" android:state_pressed="true"/> + <item android:drawable="@android:color/transparent" android:state_selected="false"/> +</selector>
\ No newline at end of file diff --git a/res/drawable-xhdpi-v19/btn_shutter_pressed.png b/res/drawable-xhdpi-v19/btn_shutter_pressed.png Binary files differnew file mode 100644 index 000000000..aa6e65454 --- /dev/null +++ b/res/drawable-xhdpi-v19/btn_shutter_pressed.png diff --git a/res/drawable-xhdpi-v19/list_pressed_holo_light.9.png b/res/drawable-xhdpi-v19/list_pressed_holo_light.9.png Binary files differnew file mode 100644 index 000000000..f4af92657 --- /dev/null +++ b/res/drawable-xhdpi-v19/list_pressed_holo_light.9.png diff --git a/res/drawable-xhdpi-v19/menu_bg_pressed.png b/res/drawable-xhdpi-v19/menu_bg_pressed.png Binary files differnew file mode 100644 index 000000000..aa6e65454 --- /dev/null +++ b/res/drawable-xhdpi-v19/menu_bg_pressed.png diff --git a/res/drawable-xxhdpi-v19/btn_shutter_pressed.png b/res/drawable-xxhdpi-v19/btn_shutter_pressed.png Binary files differnew file mode 100644 index 000000000..fb4d4f4e1 --- /dev/null +++ b/res/drawable-xxhdpi-v19/btn_shutter_pressed.png diff --git a/res/drawable-xxhdpi-v19/list_pressed_holo_light.9.png b/res/drawable-xxhdpi-v19/list_pressed_holo_light.9.png Binary files differnew file mode 100644 index 000000000..1352a1702 --- /dev/null +++ b/res/drawable-xxhdpi-v19/list_pressed_holo_light.9.png diff --git a/res/drawable-xxhdpi-v19/menu_bg_pressed.png b/res/drawable-xxhdpi-v19/menu_bg_pressed.png Binary files differnew file mode 100644 index 000000000..fb4d4f4e1 --- /dev/null +++ b/res/drawable-xxhdpi-v19/menu_bg_pressed.png diff --git a/res/layout-land-v19/switcher_popup.xml b/res/layout-land-v19/switcher_popup.xml new file mode 100644 index 000000000..07ed8cc09 --- /dev/null +++ b/res/layout-land-v19/switcher_popup.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/content" + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|right" + android:layout_marginRight="8dip" + android:layout_marginBottom="8dip" + android:background="#80000000" /> diff --git a/res/layout-port-v19/switcher_popup.xml b/res/layout-port-v19/switcher_popup.xml new file mode 100644 index 000000000..fe0dd6069 --- /dev/null +++ b/res/layout-port-v19/switcher_popup.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/content" + android:orientation="vertical" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|left" + android:layout_marginLeft="8dip" + android:layout_marginBottom="8dip" + android:background="#80000000" /> diff --git a/res/values-v19/styles.xml b/res/values-v19/styles.xml new file mode 100644 index 000000000..d48ef1668 --- /dev/null +++ b/res/values-v19/styles.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 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. +--> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Camera resources below --> + <style name="SwitcherButton"> + <item name="android:layout_width">@dimen/switcher_size</item> + <item name="android:layout_height">@dimen/switcher_size</item> + <item name="android:background">@drawable/circle_bg_pressed_exit_fading</item> + </style> +</resources>
\ No newline at end of file |