diff options
author | Hung-ying Tyan <tyanh@google.com> | 2010-11-16 19:44:29 +0800 |
---|---|---|
committer | Hung-ying Tyan <tyanh@google.com> | 2010-11-17 17:37:10 +0800 |
commit | 53514599c5c11b6fa772f5c577d0be6f6355e3e7 (patch) | |
tree | 0c3afda34f82afde28ba11dfe748004fd9450391 /res/drawable | |
parent | f03d293a6b91d3da559304af7254668f8a868420 (diff) | |
download | LegacyCamera-53514599c5c11b6fa772f5c577d0be6f6355e3e7.zip LegacyCamera-53514599c5c11b6fa772f5c577d0be6f6355e3e7.tar.gz LegacyCamera-53514599c5c11b6fa772f5c577d0be6f6355e3e7.tar.bz2 |
Overlay camera/camcorder switch to preview frame.
+ add new mode switch knob.
+ add new background to mode switch view.
+ add transparent background to entire switcher view.
+ adjust sizes and margins of camera_control and review_thumbnail according to
UI spec.
+ adjust sizes and margins of mode switch view according to UI spec.
+ fix a bug in Switcher where drawing the drawable should not take into account
the left/right paddings.
Bug:3156677
Change-Id: I1e452e5a519aa3fc2cfef418dde6a7c196c8547a
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/btn_mode_switch_knob_v2.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/drawable/btn_mode_switch_knob_v2.xml b/res/drawable/btn_mode_switch_knob_v2.xml new file mode 100644 index 0000000..f00eac7 --- /dev/null +++ b/res/drawable/btn_mode_switch_knob_v2.xml @@ -0,0 +1,22 @@ +<?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_pressed="true" android:drawable="@drawable/btn_mode_switch_knob_v2_pressed" /> + <item android:drawable="@drawable/btn_mode_switch_knob_v2_normal" /> +</selector> + + |