diff options
author | Doris Liu <tianliu@google.com> | 2014-05-12 15:25:13 -0700 |
---|---|---|
committer | Doris Liu <tianliu@google.com> | 2014-05-13 15:43:45 -0700 |
commit | db8f97582d09cd36eee8cfe4ed43182bff63f8bd (patch) | |
tree | df66aedf258ae5d1456cd1c76a1fbd9291ef90d7 /res/layout-land/location_dialog_content.xml | |
parent | f56453afe262f1580eb4ebb501b7efe8fe8c2e3d (diff) | |
download | android_packages_apps_Camera2-db8f97582d09cd36eee8cfe4ed43182bff63f8bd.tar.gz android_packages_apps_Camera2-db8f97582d09cd36eee8cfe4ed43182bff63f8bd.tar.bz2 android_packages_apps_Camera2-db8f97582d09cd36eee8cfe4ed43182bff63f8bd.zip |
Start up screen
This is the 2-step full screen popup:
Step 1: (Only for new users) Choose whether geo-tagging should be on
Step 2: For new users and upgraders to choose 4:3 or 16:9 preview
resolution to take advantage of the screen size.
Change-Id: Ibffe5a807cc622a3945b9fd869de1bf7dd660849
Diffstat (limited to 'res/layout-land/location_dialog_content.xml')
-rw-r--r-- | res/layout-land/location_dialog_content.xml | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/res/layout-land/location_dialog_content.xml b/res/layout-land/location_dialog_content.xml new file mode 100644 index 000000000..e5e418daf --- /dev/null +++ b/res/layout-land/location_dialog_content.xml @@ -0,0 +1,78 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2014 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:gravity="center_horizontal" + android:background="@color/start_up_dialog_background_color" + android:paddingTop="28dp" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <LinearLayout + android:layout_width="0dp" + android:layout_height="match_parent" + android:orientation="vertical" + android:gravity="center" + android:layout_marginLeft="16dp" + android:layout_weight="1"> + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/remember_location_title" + android:textSize="22sp" + android:textColor="@color/dialog_text_color" + android:layout_marginBottom="28dp" /> + <ImageView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:src="@drawable/geo_opt_in_graphic" /> + </LinearLayout> + + <FrameLayout + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_marginLeft="16dp" + android:layout_marginRight="16dp" + android:layout_weight="1"> + <FrameLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical"> + <CheckBox + android:id="@+id/check_box" + android:layout_width="44dp" + android:layout_height="wrap_content"/> + <TextView + android:id="@+id/check_box_touch_delegate" + android:layout_width="match_parent" + android:layout_height="141dp" + android:layout_marginLeft="44dp" + android:layout_marginBottom="104dp" + android:text="@string/remember_location_prompt" + android:textSize="16sp" + android:textColor="@color/dialog_text_color"/> + <Button + android:id="@+id/confirm_button" + android:layout_width="144dp" + android:layout_height="48dp" + android:text="@string/startup_dialog_button_next" + android:textColor="@android:color/white" + android:background="@color/dialog_button_color" + android:layout_gravity="bottom|center_horizontal" /> + </FrameLayout> + </FrameLayout> + +</LinearLayout>
\ No newline at end of file |