diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-07-06 14:56:50 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-07-06 15:12:55 +0800 |
commit | cd4aacd29f860ba6c1769372c698ab1a4517179c (patch) | |
tree | 2953e34d2127774021496ed83e401ed633c60078 /res/layout-w1024dp | |
parent | 02af7e82f97ade581703c7f4a32666e4f578173b (diff) | |
download | LegacyCamera-cd4aacd29f860ba6c1769372c698ab1a4517179c.zip LegacyCamera-cd4aacd29f860ba6c1769372c698ab1a4517179c.tar.gz LegacyCamera-cd4aacd29f860ba6c1769372c698ab1a4517179c.tar.bz2 |
Refactor ZoomPicker.
Zoom buttons will not be in a LinearLayout. Refactor ZoomPicker
so it can accept two zoom buttons as input. It does not matter
where the zoom buttons are.
Change-Id: I445228b03adc96a1e7b4ba90025680c8ef0388a2
Diffstat (limited to 'res/layout-w1024dp')
-rw-r--r-- | res/layout-w1024dp/zoom_picker.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/res/layout-w1024dp/zoom_picker.xml b/res/layout-w1024dp/zoom_picker.xml index 6848d59..fe3bad3 100644 --- a/res/layout-w1024dp/zoom_picker.xml +++ b/res/layout-w1024dp/zoom_picker.xml @@ -17,23 +17,24 @@ */ --> -<com.android.camera.ui.ZoomPicker xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" - android:layout_alignParentRight="true" - android:visibility="gone"> + android:layout_alignParentRight="true"> - <Button android:id="@+id/decrement" + <Button android:id="@+id/zoom_decrement" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="@drawable/btn_zoom_out" /> + android:background="@drawable/btn_zoom_out" + android:visibility="gone" /> - <Button android:id="@+id/increment" + <Button android:id="@+id/zoom_increment" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="@dimen/zoom_picker_distance" - android:background="@drawable/btn_zoom_in" /> -</com.android.camera.ui.ZoomPicker> + android:background="@drawable/btn_zoom_in" + android:visibility="gone" /> +</LinearLayout> |