diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-10-04 20:35:34 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-10-06 17:21:28 +0800 |
commit | c5019f4d58412da6227b3f2e6461bba5b7c671a3 (patch) | |
tree | 7dd6069c58588803fbacb41dceb4c8ec84f84191 /res/drawable | |
parent | e6da834b082439299bb60529e690845e14dfdbc4 (diff) | |
download | packages_apps_LegacyCamera-c5019f4d58412da6227b3f2e6461bba5b7c671a3.zip packages_apps_LegacyCamera-c5019f4d58412da6227b3f2e6461bba5b7c671a3.tar.gz packages_apps_LegacyCamera-c5019f4d58412da6227b3f2e6461bba5b7c671a3.tar.bz2 |
Add zoom picker for xlarge layout.
The zoom of on-screen controls is not created if zoom picker
exists.
Change-Id: I229108aa8bc3eac7175acec46e14240627c7da7c
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/btn_zoom_picker_down.xml | 20 | ||||
-rw-r--r-- | res/drawable/btn_zoom_picker_up.xml | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/res/drawable/btn_zoom_picker_down.xml b/res/drawable/btn_zoom_picker_down.xml new file mode 100644 index 0000000..38f1270 --- /dev/null +++ b/res/drawable/btn_zoom_picker_down.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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/zoompicker_down_pressed" /> + <item android:drawable="@drawable/zoompicker_down_normal" /> +</selector> diff --git a/res/drawable/btn_zoom_picker_up.xml b/res/drawable/btn_zoom_picker_up.xml new file mode 100644 index 0000000..0a2249b --- /dev/null +++ b/res/drawable/btn_zoom_picker_up.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 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/zoompicker_up_pressed" /> + <item android:drawable="@drawable/zoompicker_up_normal" /> +</selector> |