diff options
-rwxr-xr-x | res/drawable-hdpi/ic_menu_savephoto_disabled.png | bin | 0 -> 1434 bytes | |||
-rwxr-xr-x | res/drawable-mdpi/ic_menu_savephoto_disabled.png | bin | 0 -> 1033 bytes | |||
-rwxr-xr-x | res/drawable-xhdpi/ic_menu_savephoto_disabled.png | bin | 0 -> 1912 bytes | |||
-rw-r--r-- | res/drawable/menu_save_photo.xml | 20 | ||||
-rw-r--r-- | res/layout/filtershow_actionbar.xml | 2 | ||||
-rw-r--r-- | res/layout/trim_menu.xml | 2 |
6 files changed, 22 insertions, 2 deletions
diff --git a/res/drawable-hdpi/ic_menu_savephoto_disabled.png b/res/drawable-hdpi/ic_menu_savephoto_disabled.png Binary files differnew file mode 100755 index 000000000..afb34ec7a --- /dev/null +++ b/res/drawable-hdpi/ic_menu_savephoto_disabled.png diff --git a/res/drawable-mdpi/ic_menu_savephoto_disabled.png b/res/drawable-mdpi/ic_menu_savephoto_disabled.png Binary files differnew file mode 100755 index 000000000..dc9b406b6 --- /dev/null +++ b/res/drawable-mdpi/ic_menu_savephoto_disabled.png diff --git a/res/drawable-xhdpi/ic_menu_savephoto_disabled.png b/res/drawable-xhdpi/ic_menu_savephoto_disabled.png Binary files differnew file mode 100755 index 000000000..fab1c5582 --- /dev/null +++ b/res/drawable-xhdpi/ic_menu_savephoto_disabled.png diff --git a/res/drawable/menu_save_photo.xml b/res/drawable/menu_save_photo.xml new file mode 100644 index 000000000..0b92ac968 --- /dev/null +++ b/res/drawable/menu_save_photo.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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_enabled="true" android:drawable="@drawable/ic_menu_savephoto" /> + <item android:state_enabled="false" android:drawable="@drawable/ic_menu_savephoto_disabled" /> +</selector> diff --git a/res/layout/filtershow_actionbar.xml b/res/layout/filtershow_actionbar.xml index 93c8c595d..5f0aa3ff6 100644 --- a/res/layout/filtershow_actionbar.xml +++ b/res/layout/filtershow_actionbar.xml @@ -23,5 +23,5 @@ android:text="@string/save" android:gravity="center_vertical" android:textSize="14sp" - android:drawableLeft="@drawable/ic_menu_savephoto" + android:drawableLeft="@drawable/menu_save_photo" android:drawablePadding="8dip" />
\ No newline at end of file diff --git a/res/layout/trim_menu.xml b/res/layout/trim_menu.xml index b61922083..e2333921a 100644 --- a/res/layout/trim_menu.xml +++ b/res/layout/trim_menu.xml @@ -27,6 +27,6 @@ android:textAllCaps="true" android:textSize="14sp" android:gravity="left|center_vertical" - android:drawableLeft="@drawable/ic_menu_savephoto" + android:drawableLeft="@drawable/menu_save_photo" android:drawablePadding="8dp" /> </FrameLayout> |