Files
app_Settings/res/layout/date_time_settings_setupwizard.xml
Freeman Ng 5a82528089 fix datetime layout for phones and remove orientation locking
The first fixes the bug, the second was something I noticed
while debugging. We're no longer locking setup wizard orientation
for anything screen size, and so no activities it calls needs
to do that any more, either.

bug: 5642402
Change-Id: I5911223112a19841f6b4754a70148f28a753f736
2011-11-21 14:47:02 -08:00

55 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 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/layout_root"
android:layout_height="fill_parent"
android:layout_width="fill_parent"
android:orientation="vertical">
<View
android:id="@+id/timezone_dropdown_anchor"
android:layout_width="match_parent"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
android:layout_height="0px" />
<LinearLayout android:layout_height="0px"
android:layout_weight="1"
android:layout_width="fill_parent"
android:orientation="vertical">
<fragment android:id="@+id/date_time_settings_fragment"
class="com.android.settings.DateTimeSettings"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</LinearLayout>
<RelativeLayout android:layout_height="wrap_content"
android:layout_weight="0"
android:padding="10dip"
android:layout_width="fill_parent">
<Button android:id="@+id/next_button"
android:layout_width="150dip"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:text="@string/next_label"
/>
</RelativeLayout>
</LinearLayout>