diff options
Diffstat (limited to 'res/layout-xlarge')
-rw-r--r-- | res/layout-xlarge/attach_camera_control.xml | 91 | ||||
-rw-r--r-- | res/layout-xlarge/basic_setting_popup.xml | 45 | ||||
-rw-r--r-- | res/layout-xlarge/camera.xml | 26 | ||||
-rw-r--r-- | res/layout-xlarge/camera_control.xml | 90 | ||||
-rw-r--r-- | res/layout-xlarge/camera_picker.xml | 53 | ||||
-rw-r--r-- | res/layout-xlarge/in_line_setting_picker.xml | 54 | ||||
-rw-r--r-- | res/layout-xlarge/other_setting_popup.xml | 60 | ||||
-rw-r--r-- | res/layout-xlarge/preview_frame.xml | 54 | ||||
-rw-r--r-- | res/layout-xlarge/preview_frame_video.xml | 52 | ||||
-rw-r--r-- | res/layout-xlarge/review_thumbnail.xml | 26 | ||||
-rw-r--r-- | res/layout-xlarge/setting_item.xml | 32 | ||||
-rw-r--r-- | res/layout-xlarge/setting_scale_image_item.xml | 27 | ||||
-rw-r--r-- | res/layout-xlarge/video_camera.xml | 26 | ||||
-rw-r--r-- | res/layout-xlarge/zoom_picker.xml | 52 |
14 files changed, 688 insertions, 0 deletions
diff --git a/res/layout-xlarge/attach_camera_control.xml b/res/layout-xlarge/attach_camera_control.xml new file mode 100644 index 0000000..c84e7a6 --- /dev/null +++ b/res/layout-xlarge/attach_camera_control.xml @@ -0,0 +1,91 @@ +<?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. +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" + android:id="@+id/control_bar" + android:layout_height="match_parent" + android:layout_width="120dp" + android:layout_marginTop="20dp" + android:layout_marginBottom="20dp" + android:layout_marginLeft="10dp" + android:layout_marginRight="10dp"> + <TextView android:id="@+id/recording_time" + style="@style/RecordingTime" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:layout_marginTop="90dp" + android:drawablePadding="8dp" + android:drawableLeft="@drawable/ic_recording_indicator" + android:visibility="gone" /> + + <LinearLayout android:orientation="vertical" + android:gravity="top|center_horizontal" + android:layout_alignParentTop="true" + android:layout_centerHorizontal="true" + android:layout_height="wrap_content" + android:layout_width="match_parent"> + <LinearLayout style="@style/ReviewControlGroup" + android:layout_marginBottom="15dp"> + <ImageView style="@style/ReviewControlIcon" + android:id="@+id/btn_cancel" + android:src="@drawable/btn_ic_review_cancel"/> + <TextView style="@style/ReviewControlText" + android:text="@string/review_cancel" /> + </LinearLayout> + <LinearLayout style="@style/ReviewControlGroup" + android:visibility="gone" + android:layout_marginBottom="15dp"> + <ImageView style="@style/ReviewControlIcon" + android:id="@+id/btn_retake" + android:src="@drawable/btn_ic_review_retake_photo"/> + <TextView style="@style/ReviewControlText" + android:text="@string/review_retake" /> + </LinearLayout> + <LinearLayout style="@style/ReviewControlGroup" + android:visibility="gone" + android:layout_marginBottom="15dp"> + <ImageView style="@style/ReviewControlIcon" + android:id="@+id/btn_play" + android:src="@drawable/btn_ic_review_play"/> + <TextView style="@style/ReviewControlText" + android:text="@string/review_play" /> + </LinearLayout> + </LinearLayout> + + <com.android.camera.ShutterButton android:id="@+id/shutter_button" + android:layout_centerInParent="true" + android:layout_centerHorizontal="true" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:scaleType="center" + android:clickable="true" + android:focusable="true" + android:src="@drawable/btn_ic_camera_shutter" + android:background="@drawable/btn_shutter"/> + <LinearLayout style="@style/ReviewControlGroup" + android:visibility="invisible" + android:layout_alignParentBottom="true" + android:layout_centerHorizontal="true"> + <ImageView style="@style/ReviewControlIcon" + android:id="@+id/btn_done" + android:src="@drawable/btn_ic_review_done"/> + <TextView style="@style/ReviewControlText" + android:text="@string/review_ok" /> + </LinearLayout> +</RelativeLayout> diff --git a/res/layout-xlarge/basic_setting_popup.xml b/res/layout-xlarge/basic_setting_popup.xml new file mode 100644 index 0000000..6c3c1d7 --- /dev/null +++ b/res/layout-xlarge/basic_setting_popup.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> + +<com.android.camera.ui.BasicSettingPopup xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentRight="true" + android:layout_marginRight="225dp" + android:orientation="vertical" + android:visibility="invisible"> + <FrameLayout android:id="@+id/topPanel" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="48dip"> + <TextView android:id="@+id/title" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="left|bottom" + android:layout_marginLeft="16dp" + android:layout_marginBottom="10dp" + android:textColor="@android:color/white" + style="@style/SettingPickerText" /> + </FrameLayout> + <LinearLayout android:id="@+id/contentPanel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="vertical" /> +</com.android.camera.ui.BasicSettingPopup> diff --git a/res/layout-xlarge/camera.xml b/res/layout-xlarge/camera.xml new file mode 100644 index 0000000..796a033 --- /dev/null +++ b/res/layout-xlarge/camera.xml @@ -0,0 +1,26 @@ +<?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. +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" + android:id="@+id/app_root" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <include layout="@layout/camera_control"/> + <include layout="@layout/preview_frame"/> +</RelativeLayout> diff --git a/res/layout-xlarge/camera_control.xml b/res/layout-xlarge/camera_control.xml new file mode 100644 index 0000000..bc6fd1f --- /dev/null +++ b/res/layout-xlarge/camera_control.xml @@ -0,0 +1,90 @@ +<?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. +--> + +<com.android.camera.ui.ControlPanel xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" + android:id="@+id/control_panel" + android:layout_height="match_parent" + android:layout_width="300dp" + android:layout_alignParentRight="true" + android:layout_marginTop="40dp" + android:layout_marginBottom="40dp"> + <!-- The width is determined by IndicatorWheel so we should set + layout_width as wrap_contant but RelativeLayout Javadoc says that + this is circular dependency and is not allowed so it's very + unfortunate that we have to hardcode the width here. --> + + <ViewStub android:id="@+id/zoom_stub" + android:inflatedId="@+id/zoom_picker" + android:layout="@layout/zoom_picker" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:layout_width="45dp" + android:layout_height="150dp" + android:layout_marginRight="160dp"/> + + <TextView android:id="@+id/time_lapse_recording_time" + style="@style/RecordingTime" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_below="@id/recording_time" + android:layout_alignParentRight="true" + android:visibility="gone" /> + + <com.android.camera.ui.IndicatorWheel android:id="@+id/indicator_wheel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerVertical="true" + android:layout_alignParentRight="true"> + <com.android.camera.ShutterButton android:id="@+id/shutter_button" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:scaleType="center" + android:clickable="true" + android:focusable="true" + android:src="@drawable/btn_ic_camera_shutter_large" + android:background="@drawable/btn_shutter_large" /> + </com.android.camera.ui.IndicatorWheel> + + <com.android.camera.SwitcherSet android:id="@+id/camera_switch" + android:orientation="vertical" + android:gravity="center" + android:layout_height="150dp" + android:layout_width="45dp" + android:layout_alignParentBottom="true" + android:layout_alignParentRight="true" + android:layout_marginRight="160dp" + android:background="@drawable/mode_switch_bg_v2"> + <RadioButton android:id="@+id/switch_off_button" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:button="@android:color/transparent" + android:background="@drawable/btn_ic_mode_switch_video"/> + <com.android.camera.Switcher android:id="@+id/switcher" + android:layout_width="wrap_content" + android:layout_height="50dp" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:src="@drawable/btn_mode_switch_knob_v2" + android:background="@drawable/btn_mode_switch_bg_v2" /> + <RadioButton android:id="@+id/switch_on_button" + android:layout_height="wrap_content" + android:layout_width="wrap_content" + android:button="@android:color/transparent" + android:background="@drawable/btn_ic_mode_switch_camera"/> + </com.android.camera.SwitcherSet> +</com.android.camera.ui.ControlPanel> + diff --git a/res/layout-xlarge/camera_picker.xml b/res/layout-xlarge/camera_picker.xml new file mode 100644 index 0000000..eb0bcd0 --- /dev/null +++ b/res/layout-xlarge/camera_picker.xml @@ -0,0 +1,53 @@ +<?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. +--> + +<com.android.camera.ui.CameraPicker xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/camera_picker" + android:visibility="gone" + android:orientation="horizontal" + android:layout_width="260dp" + android:layout_height="54dp" + android:layout_marginTop="10dp" + android:gravity="center" + android:layout_gravity="center_horizontal" + android:background="@drawable/mode_switch_bg_v2"> + <RadioButton android:text="@string/pref_camera_id_entry_back" + android:id="@+id/camera_switch_to_back" + android:layout_width="100dp" + android:layout_height="fill_parent" + android:layout_gravity="center" + android:gravity="center" + android:textSize="16sp" + android:textColor="@drawable/btn_camera_picker" + android:button="@android:color/transparent" + android:background="@android:color/transparent" + android:textStyle="bold"/> + <ImageView android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:src="@drawable/btn_ic_mode_switch_video"/> + <RadioButton android:text="@string/pref_camera_id_entry_front" + android:id="@+id/camera_switch_to_front" + android:layout_width="100dp" + android:layout_height="fill_parent" + android:layout_gravity="center" + android:gravity="center" + android:textSize="16sp" + android:textColor="@drawable/btn_camera_picker" + android:button="@android:color/transparent" + android:background="@android:color/transparent" + android:textStyle="bold"/> +</com.android.camera.ui.CameraPicker> diff --git a/res/layout-xlarge/in_line_setting_picker.xml b/res/layout-xlarge/in_line_setting_picker.xml new file mode 100644 index 0000000..1457b4f --- /dev/null +++ b/res/layout-xlarge/in_line_setting_picker.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> + +<merge xmlns:android="http://schemas.android.com/apk/res/android"> + <TextView android:id="@+id/title" + style="@style/SettingPickerText" /> + + <Button android:id="@+id/decrement" + android:layout_width="72dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:gravity="center" + android:text="@string/setting_decrement" + android:textColor="@drawable/btn_setting_picker" + android:textSize="20dp" + android:textStyle="bold" + android:background="@android:color/transparent" /> + + <TextView android:id="@+id/current_setting" + android:layout_width="130dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:gravity="center" + android:singleLine="true" + android:textColor="@android:color/white" + android:textSize="20dp" /> + + <Button android:id="@+id/increment" + android:layout_width="72dp" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:gravity="center" + android:text="@string/setting_increment" + android:textColor="@drawable/btn_setting_picker" + android:textSize="20dp" + android:textStyle="bold" + android:background="@android:color/transparent" /> +</merge> diff --git a/res/layout-xlarge/other_setting_popup.xml b/res/layout-xlarge/other_setting_popup.xml new file mode 100644 index 0000000..ad55344 --- /dev/null +++ b/res/layout-xlarge/other_setting_popup.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> + +<com.android.camera.ui.OtherSettingsPopup xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_alignParentRight="true" + android:layout_centerVertical="true" + android:layout_marginRight="225dp" + android:orientation="vertical" + android:visibility="invisible"> + + <FrameLayout android:id="@+id/topPanel" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="48dip"> + <TextView android:id="@+id/title" + android:text="@string/pref_camera_settings_category" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="left|bottom" + android:layout_marginLeft="16dp" + android:layout_marginBottom="10dp" + android:textColor="@android:color/white" + style="@style/SettingPickerText" /> + </FrameLayout> + + <LinearLayout android:id="@+id/contentPanel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:orientation="vertical"> + <com.android.camera.ui.InLineSettingPicker camera:prefKey="pref_camera_recordlocation_key" + style="@style/SettingRow" /> + <com.android.camera.ui.InLineSettingPicker camera:prefKey="pref_camera_focusmode_key" + style="@style/SettingRow" /> + <com.android.camera.ui.InLineSettingPicker camera:prefKey="pref_camera_exposure_key" + style="@style/SettingRow" /> + <com.android.camera.ui.InLineSettingPicker camera:prefKey="pref_camera_picturesize_key" + style="@style/SettingRow" /> + <com.android.camera.ui.InLineSettingPicker camera:prefKey="pref_camera_jpegquality_key" + style="@style/SettingRow" /> + </LinearLayout> +</com.android.camera.ui.OtherSettingsPopup> diff --git a/res/layout-xlarge/preview_frame.xml b/res/layout-xlarge/preview_frame.xml new file mode 100644 index 0000000..3e72bc5 --- /dev/null +++ b/res/layout-xlarge/preview_frame.xml @@ -0,0 +1,54 @@ +<?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. +--> +<com.android.camera.PreviewFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/frame_layout" + android:layout_width="1040dp" + android:layout_height="match_parent" + android:layout_alignParentLeft="true" + android:layout_marginLeft="5dp" + android:layout_marginTop="5dp"> + <RelativeLayout android:id="@+id/frame" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <SurfaceView android:id="@+id/camera_preview" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <ImageView android:id="@+id/preview_border" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/border_preview"/> + <com.android.camera.ui.FocusRectangle + android:id="@+id/focus_rectangle" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <ImageView style="@style/OnScreenGpsIndicator" + android:id="@+id/onscreen_gps_indicator_no_signal" + android:src="@drawable/ic_viewfinder_gps_no_signal" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:layout_margin="10dp" + android:visibility="invisible"/> + <ImageView style="@style/OnScreenGpsIndicator" + android:id="@+id/onscreen_gps_indicator_on" + android:src="@drawable/ic_viewfinder_gps_on" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:layout_margin="10dp" + android:visibility="invisible"/> + <include layout="@layout/review_thumbnail"/> + </RelativeLayout> + <include layout="@layout/camera_picker" /> +</com.android.camera.PreviewFrameLayout> diff --git a/res/layout-xlarge/preview_frame_video.xml b/res/layout-xlarge/preview_frame_video.xml new file mode 100644 index 0000000..6a4ace1 --- /dev/null +++ b/res/layout-xlarge/preview_frame_video.xml @@ -0,0 +1,52 @@ +<?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. +--> + +<com.android.camera.PreviewFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/frame_layout" + android:layout_width="1040dp" + android:layout_height="match_parent" + android:layout_alignParentLeft="true" + android:layout_marginLeft="5dp" + android:layout_marginTop="5dp"> + <RelativeLayout android:id="@+id/frame" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <SurfaceView android:id="@+id/camera_preview" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <ImageView android:id="@+id/preview_border" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/border_preview"/> + <ImageView android:id="@+id/video_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> + <include layout="@layout/review_thumbnail"/> + <TextView android:id="@+id/recording_time" + style="@style/RecordingTime" + android:layout_marginTop="20dp" + android:layout_marginRight="26dp" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:paddingLeft="8dp" + android:gravity="center" + android:background="@drawable/mode_switch_bg_v2" + android:drawableLeft="@drawable/ic_recording_indicator_small" + android:visibility="gone"/> + </RelativeLayout> + <include layout="@layout/camera_picker"/> +</com.android.camera.PreviewFrameLayout> diff --git a/res/layout-xlarge/review_thumbnail.xml b/res/layout-xlarge/review_thumbnail.xml new file mode 100644 index 0000000..708c38e --- /dev/null +++ b/res/layout-xlarge/review_thumbnail.xml @@ -0,0 +1,26 @@ +<?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. +--> + +<com.android.camera.RotateImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/review_thumbnail" + android:layout_width="112dp" + android:layout_height="112dp" + android:layout_alignParentLeft="true" + android:layout_alignParentBottom="true" + android:layout_margin="10dp" + android:clickable="true" + android:focusable="false" + android:background="@drawable/border_last_picture"/> diff --git a/res/layout-xlarge/setting_item.xml b/res/layout-xlarge/setting_item.xml new file mode 100644 index 0000000..3f26a4b --- /dev/null +++ b/res/layout-xlarge/setting_item.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + style="@style/SettingRow"> + + <TextView android:id="@+id/text" + style="@style/SettingPickerText" + android:textColor="@drawable/btn_setting_picker" /> + <ImageView android:id="@+id/image" + android:layout_width="35dp" + android:layout_height="35dp" + android:layout_marginRight="14dp" + android:gravity="center" + android:scaleType="fitCenter" + android:adjustViewBounds="true" /> +</LinearLayout> diff --git a/res/layout-xlarge/setting_scale_image_item.xml b/res/layout-xlarge/setting_scale_image_item.xml new file mode 100644 index 0000000..c5988fb --- /dev/null +++ b/res/layout-xlarge/setting_scale_image_item.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> +<ImageView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="96dp" + android:layout_height="96dp" + android:layout_marginTop="10dp" + android:gravity="center" + android:scaleType="fitCenter" + android:minHeight="96dp" + android:minWidth="96dp" /> + diff --git a/res/layout-xlarge/video_camera.xml b/res/layout-xlarge/video_camera.xml new file mode 100644 index 0000000..8c72cd9 --- /dev/null +++ b/res/layout-xlarge/video_camera.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2007 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" + xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" + android:id="@+id/app_root" + android:orientation="horizontal" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <include layout="@layout/camera_control"/> + <include layout="@layout/preview_frame_video"/> +</RelativeLayout> diff --git a/res/layout-xlarge/zoom_picker.xml b/res/layout-xlarge/zoom_picker.xml new file mode 100644 index 0000000..a5ef7ad --- /dev/null +++ b/res/layout-xlarge/zoom_picker.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +** +** Copyright 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. +*/ +--> + +<com.android.camera.ui.ZoomPicker xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:gravity="center" + android:layout_width="45dp" + android:layout_height="150dp" + android:layout_alignParentTop="true" + android:layout_alignParentLeft="true" + android:background="@drawable/mode_switch_bg_v2"> + + <TextView android:id="@+id/zoom_ratio" + android:gravity="center" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:layout_marginBottom="20dp" + android:singleLine="true" + android:textColor="@android:color/white" + android:textSize="16dp" /> + + <Button android:id="@+id/increment" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:background="@drawable/btn_zoom_picker_up" /> + + <Button android:id="@+id/decrement" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:layout_marginBottom="10dp" + android:background="@drawable/btn_zoom_picker_down" /> +</com.android.camera.ui.ZoomPicker> |