diff options
author | nicolasroard <nicolasroard@google.com> | 2013-01-07 19:43:14 -0800 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-01-08 11:14:48 -0800 |
commit | 9820e7e753b7e1977ef3d2163605431769ce9165 (patch) | |
tree | c33ca6e4d64a2c7f4a61e5a37714919ff21eca6c /res | |
parent | d3aac52ffb88ced53413d5eef29c641dd6982267 (diff) | |
download | android_packages_apps_Gallery2-9820e7e753b7e1977ef3d2163605431769ce9165.tar.gz android_packages_apps_Gallery2-9820e7e753b7e1977ef3d2163605431769ce9165.tar.bz2 android_packages_apps_Gallery2-9820e7e753b7e1977ef3d2163605431769ce9165.zip |
Refactoring UI editors
bug:7688780
Change-Id: I30f8691788332a01d591435474a84cc352b71138
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/filtershow_activity.xml | 26 | ||||
-rw-r--r-- | res/layout/filtershow_crop_button.xml | 27 | ||||
-rw-r--r-- | res/layout/filtershow_curves_button.xml | 27 |
3 files changed, 61 insertions, 19 deletions
diff --git a/res/layout/filtershow_activity.xml b/res/layout/filtershow_activity.xml index c26d858a4..ed562f9d4 100644 --- a/res/layout/filtershow_activity.xml +++ b/res/layout/filtershow_activity.xml @@ -185,25 +185,13 @@ <FrameLayout android:layout_width="fill_parent" android:layout_height="fill_parent" > - <com.android.gallery3d.filtershow.ui.FramedTextButton - android:id="@+id/aspect" - android:layout_width="84dip" - android:layout_height="84dip" - android:layout_gravity="center_vertical|left" - android:background="@drawable/filtershow_button_background" - android:scaleType="centerInside" - android:visibility="gone" - android:text="@string/aspectNone_effect" /> - - <com.android.gallery3d.filtershow.ui.FramedTextButton - android:id="@+id/pickCurvesChannel" - android:layout_width="84dip" - android:layout_height="84dip" - android:layout_gravity="center_vertical|left" - android:background="@drawable/filtershow_button_background" - android:scaleType="centerInside" - android:visibility="gone" - android:text="@string/curves_channel_rgb" /> + + <LinearLayout + android:id="@+id/panelAccessoryViewList" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:orientation="horizontal" + android:visibility="visible" /> <Button android:id="@+id/applyEffect" diff --git a/res/layout/filtershow_crop_button.xml b/res/layout/filtershow_crop_button.xml new file mode 100644 index 000000000..b42d6b656 --- /dev/null +++ b/res/layout/filtershow_crop_button.xml @@ -0,0 +1,27 @@ +<?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. +--> + +<com.android.gallery3d.filtershow.ui.FramedTextButton + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/cropUtilityButton" + android:layout_width="84dip" + android:layout_height="84dip" + android:layout_gravity="center_vertical|left" + android:background="@drawable/filtershow_button_background" + android:scaleType="centerInside" + android:visibility="gone" + android:text="@string/aspectNone_effect" />
\ No newline at end of file diff --git a/res/layout/filtershow_curves_button.xml b/res/layout/filtershow_curves_button.xml new file mode 100644 index 000000000..31e8aedca --- /dev/null +++ b/res/layout/filtershow_curves_button.xml @@ -0,0 +1,27 @@ +<?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. +--> + +<com.android.gallery3d.filtershow.ui.FramedTextButton + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/curvesUtilityButton" + android:layout_width="84dip" + android:layout_height="84dip" + android:layout_gravity="center_vertical|left" + android:background="@drawable/filtershow_button_background" + android:scaleType="centerInside" + android:visibility="gone" + android:text="@string/curves_channel_rgb" /> |