diff options
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/camera_controls.xml | 69 | ||||
-rw-r--r-- | res/layout-land/filtershow_activity.xml | 85 | ||||
-rw-r--r-- | res/layout-land/filtershow_category_panel_new.xml | 32 | ||||
-rw-r--r-- | res/layout-land/filtershow_editor_panel.xml | 127 | ||||
-rw-r--r-- | res/layout-land/filtershow_main_panel.xml | 98 | ||||
-rw-r--r-- | res/layout-land/filtershow_state_panel_new.xml | 33 | ||||
-rw-r--r-- | res/layout-land/keyguard_widget.xml | 63 | ||||
-rw-r--r-- | res/layout-land/on_screen_hint.xml | 29 | ||||
-rw-r--r-- | res/layout-land/review_module_control.xml | 48 | ||||
-rw-r--r-- | res/layout-land/switcher_popup.xml | 28 |
10 files changed, 612 insertions, 0 deletions
diff --git a/res/layout-land/camera_controls.xml b/res/layout-land/camera_controls.xml new file mode 100644 index 000000000..432ae9ebd --- /dev/null +++ b/res/layout-land/camera_controls.xml @@ -0,0 +1,69 @@ +<?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.camera.ui.CameraControls + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/camera_controls" + android:layout_width="match_parent" + android:layout_height="match_parent" > + + <View + android:id="@+id/blocker" + android:clickable="true" + android:layout_height="match_parent" + android:layout_width="@dimen/switcher_size" + android:layout_gravity="right" /> + + <include layout="@layout/menu_indicators" + android:layout_width="64dip" + android:layout_height="64dip" + android:layout_marginTop="-5dip" + android:layout_marginRight="6dip" + android:layout_gravity="top|right"/> + + <com.android.camera.ui.PieMenuButton + android:id="@+id/menu" + style="@style/SwitcherButton" + android:contentDescription="@string/accessibility_menu_button" + android:layout_gravity="right|top" + android:layout_marginRight="2dip" /> + + <com.android.camera.ui.CameraSwitcher + android:id="@+id/camera_switcher" + style="@style/SwitcherButton" + android:layout_gravity="right|bottom" + android:layout_marginRight="2dip" + android:contentDescription="@string/accessibility_mode_picker" /> + + <com.android.camera.ShutterButton + android:id="@+id/shutter_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="right|center_vertical" + android:layout_marginRight="@dimen/shutter_offset" + android:clickable="true" + android:contentDescription="@string/accessibility_shutter_button" + android:focusable="true" + android:scaleType="center" + android:src="@drawable/btn_new_shutter" /> + + <View + android:id="@+id/preview_thumb" + android:visibility="invisible" + android:layout_width="@dimen/capture_size" + android:layout_height="@dimen/capture_size" + android:layout_gravity="top|right" /> + +</com.android.camera.ui.CameraControls> diff --git a/res/layout-land/filtershow_activity.xml b/res/layout-land/filtershow_activity.xml new file mode 100644 index 000000000..4d098e6f7 --- /dev/null +++ b/res/layout-land/filtershow_activity.xml @@ -0,0 +1,85 @@ +<?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. +--> + +<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/mainView" + android:background="@drawable/filtershow_tiled_background"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="horizontal" + android:animateLayoutChanges="true"> + + <LinearLayout + android:layout_weight="1" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:orientation="horizontal"> + + <FrameLayout + android:id="@+id/editorContainer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1"/> + + <com.android.gallery3d.filtershow.imageshow.ImageShow + android:id="@+id/imageShow" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + </LinearLayout> + + <LinearLayout + android:id="@+id/mainPanel" + android:layout_width="350dip" + android:layout_height="match_parent" + android:orientation="vertical" + android:animateLayoutChanges="true" > + + <FrameLayout android:id="@+id/main_panel_container" + android:layout_width="350dip" + android:layout_height="0dip" + android:layout_weight="1" /> + + <FrameLayout + android:layout_gravity="bottom" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:visibility="gone"> + + + <ProgressBar + android:id="@+id/loading" + style="@android:style/Widget.Holo.ProgressBar.Large" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:indeterminate="true" + android:indeterminateOnly="true" + android:background="@color/background_screen"/> + + </FrameLayout> + + </LinearLayout> + + </LinearLayout> + +</FrameLayout> diff --git a/res/layout-land/filtershow_category_panel_new.xml b/res/layout-land/filtershow_category_panel_new.xml new file mode 100644 index 000000000..10a6c97ba --- /dev/null +++ b/res/layout-land/filtershow_category_panel_new.xml @@ -0,0 +1,32 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ListView + android:id="@+id/listItems" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_margin="8dip" + android:divider="@android:color/transparent" + android:dividerHeight="8dip" /> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout-land/filtershow_editor_panel.xml b/res/layout-land/filtershow_editor_panel.xml new file mode 100644 index 000000000..015fa26a7 --- /dev/null +++ b/res/layout-land/filtershow_editor_panel.xml @@ -0,0 +1,127 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/top" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:visibility="visible"> + + <Button + android:id="@+id/toggle_state" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:text="@string/imageState" + android:background="@color/background_main_toolbar" + /> + + <FrameLayout android:id="@+id/state_panel_container" + android:layout_width="match_parent" + android:layout_height="0dip" + android:visibility="visible" + android:layout_gravity="top" + android:layout_weight="1" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:layout_gravity="bottom"> + + <LinearLayout + android:id="@+id/controlArea" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_alignParentBottom="true" + android:visibility="visible"> + + <SeekBar + android:id="@+id/primarySeekBar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + style="@style/FilterShowSlider"/> + + </LinearLayout> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="56dip" + android:background="@color/background_main_toolbar" + android:orientation="horizontal" + android:baselineAligned="false" + android:visibility="visible"> + + <ImageButton + android:id="@+id/cancelFilter" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_gravity="left|center_vertical" + android:background="@android:color/transparent" + android:layout_weight=".1" + android:gravity="center" + android:src="@drawable/ic_menu_cancel_holo_light" + android:textSize="18dip"/> + + <ImageView + android:layout_width="2dp" + android:layout_height="fill_parent" + android:src="@drawable/filtershow_vertical_bar"/> + + <LinearLayout + android:id="@+id/panelAccessoryViewList" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_weight="1" + android:orientation="horizontal" + android:visibility="visible"> + + <com.android.gallery3d.filtershow.editors.SwapButton + android:id="@+id/applyEffect" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:layout_gravity="center" + android:background="@android:color/transparent" + android:gravity="center" + android:text="@string/apply_effect" + android:textSize="18dip" + android:drawableRight="@drawable/filtershow_menu_marker" + android:textAllCaps="true" /> + + </LinearLayout> + + <ImageView + android:layout_width="2dp" + android:layout_height="fill_parent" + android:src="@drawable/filtershow_vertical_bar"/> + + <ImageButton + android:id="@+id/applyFilter" + android:layout_width="wrap_content" + android:layout_height="fill_parent" + android:layout_gravity="right|center_vertical" + android:layout_weight=".1" + android:background="@android:color/transparent" + android:gravity="center" + android:src="@drawable/ic_menu_done_holo_light" + android:textSize="18dip"/> + </LinearLayout> + </LinearLayout> + +</LinearLayout> diff --git a/res/layout-land/filtershow_main_panel.xml b/res/layout-land/filtershow_main_panel.xml new file mode 100644 index 000000000..705eb690b --- /dev/null +++ b/res/layout-land/filtershow_main_panel.xml @@ -0,0 +1,98 @@ +<?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. +--> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:baselineAligned="false" + android:orientation="vertical" + android:animateLayoutChanges="true" + android:visibility="visible" > + + <FrameLayout android:id="@+id/state_panel_container" + android:layout_width="match_parent" + android:layout_height="0dip" + android:visibility="visible" + android:layout_gravity="top" + android:layout_weight="1" /> + + <FrameLayout android:id="@+id/category_panel_container" + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1"/> + + <View + android:background="@color/toolbar_separation_line" + android:layout_height="1dip" + android:layout_width="match_parent"/> + + <com.android.gallery3d.filtershow.CenteredLinearLayout + xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" + android:layout_width="match_parent" + android:layout_height="48dip" + android:layout_gravity="center|bottom" + custom:max_width="400dip" + android:orientation="vertical"> + + <LinearLayout android:layout_width="wrap_content" + android:layout_height="match_parent" + android:background="@color/background_main_toolbar"> + + <ImageButton + android:id="@+id/fxButton" + android:layout_width="@dimen/thumbnail_size" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@drawable/filtershow_button_background" + android:scaleType="centerInside" + android:src="@drawable/ic_photoeditor_effects"/> + + <ImageButton + android:id="@+id/borderButton" + android:layout_width="@dimen/thumbnail_size" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@drawable/filtershow_button_background" + android:padding="2dip" + android:scaleType="centerInside" + android:src="@drawable/ic_photoeditor_border"/> + + <ImageButton + android:id="@+id/geometryButton" + android:layout_width="@dimen/thumbnail_size" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@drawable/filtershow_button_background" + android:padding="2dip" + android:scaleType="centerInside" + android:src="@drawable/ic_photoeditor_fix"/> + + <ImageButton + android:id="@+id/colorsButton" + android:layout_width="@dimen/thumbnail_size" + android:layout_height="match_parent" + android:layout_weight="1" + android:background="@drawable/filtershow_button_background" + android:padding="2dip" + android:scaleType="centerInside" + android:src="@drawable/ic_photoeditor_color"/> + + </LinearLayout> + + </com.android.gallery3d.filtershow.CenteredLinearLayout> + +</LinearLayout>
\ No newline at end of file diff --git a/res/layout-land/filtershow_state_panel_new.xml b/res/layout-land/filtershow_state_panel_new.xml new file mode 100644 index 000000000..c83cd8833 --- /dev/null +++ b/res/layout-land/filtershow_state_panel_new.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> + +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:custom="http://schemas.android.com/apk/res/com.android.gallery3d" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <ScrollView + android:layout_width="match_parent" + android:layout_height="0dip" + android:layout_weight="1" + android:scrollbars="none"> + + <com.android.gallery3d.filtershow.state.StatePanelTrack + android:id="@+id/listStates" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent" + custom:elemSize="72dip" + custom:elemEndSize="32dip" + android:layout_margin="8dip" + android:animateLayoutChanges="true" /> + + </ScrollView> + + <View + android:background="@color/state_panel_separation_line" + android:layout_height="6dip" + android:layout_width="match_parent" + android:paddingTop="8dip"/> + +</LinearLayout> diff --git a/res/layout-land/keyguard_widget.xml b/res/layout-land/keyguard_widget.xml new file mode 100644 index 000000000..f0f4362aa --- /dev/null +++ b/res/layout-land/keyguard_widget.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/camera_controls" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/default_background" > + + <ImageView + android:id="@+id/shutter_button" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:layout_marginRight="@dimen/shutter_offset" + android:contentDescription="@string/accessibility_shutter_button" + android:scaleType="center" + android:src="@drawable/btn_new_shutter" /> + + <include + android:layout_width="64dip" + android:layout_height="64dip" + android:layout_above="@id/shutter_button" + android:layout_alignParentRight="true" + android:layout_marginRight="6dip" + android:layout_marginTop="-5dip" + layout="@layout/menu_indicators_keyguard" /> + + <ImageView + android:id="@+id/camera_switcher" + style="@style/SwitcherButton" + android:layout_below="@id/shutter_button" + android:layout_alignParentRight="true" + android:layout_marginRight="2dip" + android:contentDescription="@string/accessibility_mode_picker" + android:scaleType="center" + android:src="@drawable/ic_switch_camera" /> + + <ImageView + android:id="@+id/camera_switcher_ind" + style="@style/SwitcherButton" + android:layout_below="@id/shutter_button" + android:layout_alignParentRight="true" + android:layout_marginRight="2dip" + android:contentDescription="@string/accessibility_mode_picker" + android:scaleType="center" + android:src="@drawable/ic_switcher_menu_indicator" /> + +</RelativeLayout> diff --git a/res/layout-land/on_screen_hint.xml b/res/layout-land/on_screen_hint.xml new file mode 100644 index 000000000..59b0d1a63 --- /dev/null +++ b/res/layout-land/on_screen_hint.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012, 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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_height="match_parent" + android:layout_width="match_parent" + android:orientation="vertical" + android:background="@drawable/on_screen_hint_frame"> + <TextView + android:id="@+id/message" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:textAppearance="@style/OnScreenHintTextAppearance.Small" + android:textColor="#ffffffff" + android:shadowColor="#BB000000" + android:shadowRadius="2.75" /> +</LinearLayout> diff --git a/res/layout-land/review_module_control.xml b/res/layout-land/review_module_control.xml new file mode 100644 index 000000000..9f8b0cd46 --- /dev/null +++ b/res/layout-land/review_module_control.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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.camera.ui.RotatableLayout + xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/CameraControls" + android:layout_gravity="right|center_vertical" + android:layout_marginRight="2dip"> + <ImageView android:id="@+id/btn_done" + style="@style/ReviewControlIcon" + android:contentDescription="@string/accessibility_review_ok" + android:visibility="gone" + android:scaleType="center" + android:layout_gravity="top|right" + android:background="@drawable/bg_pressed" + android:src="@drawable/ic_menu_done_holo_light" /> + + <ImageView android:id="@+id/btn_retake" + style="@style/ReviewControlIcon" + android:contentDescription="@string/accessibility_review_retake" + android:layout_gravity="right|center_vertical" + android:scaleType="center" + android:focusable="true" + android:visibility="gone" + android:background="@drawable/bg_pressed" + android:src="@drawable/ic_btn_shutter_retake" /> + + <ImageView android:id="@+id/btn_cancel" + style="@style/ReviewControlIcon" + android:contentDescription="@string/accessibility_review_cancel" + android:visibility="gone" + android:scaleType="center" + android:layout_gravity="bottom|right" + android:background="@drawable/bg_pressed" + android:src="@drawable/ic_menu_cancel_holo_light" /> +</com.android.camera.ui.RotatableLayout> diff --git a/res/layout-land/switcher_popup.xml b/res/layout-land/switcher_popup.xml new file mode 100644 index 000000000..fc2d7bc77 --- /dev/null +++ b/res/layout-land/switcher_popup.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012 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. +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/content" + android:orientation="horizontal" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|right" + android:layout_marginRight="8dip" + android:layout_marginBottom="8dip" + android:paddingLeft="8dip" + android:paddingRight="8dip" + android:paddingTop="16dip" + android:paddingBottom="16dip" + android:background="#80000000" /> |