Remove skip button from datetime settings
Also force landscape mode in XLarge screen. Bug: 3285153 Change-Id: I9f4a0de6a36d0be2b5f80b734a4910f4bb154905
This commit is contained in:
@@ -127,6 +127,7 @@
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- TODO: remove this button when we are sure it is needless -->
|
||||
<Button
|
||||
android:id="@+id/skip_button"
|
||||
android:layout_width="250dip"
|
||||
@@ -135,7 +136,8 @@
|
||||
android:layout_toLeftOf="@+id/next_button"
|
||||
android:layout_marginRight="20dip"
|
||||
android:textSize="24dip"
|
||||
android:text="@string/skip_label"/>
|
||||
android:text="@string/skip_label"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/next_button"
|
||||
|
@@ -20,6 +20,7 @@ import android.app.Activity;
|
||||
import android.app.AlarmManager;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ActivityInfo;
|
||||
import android.content.res.Configuration;
|
||||
import android.os.Bundle;
|
||||
import android.provider.Settings;
|
||||
@@ -91,6 +92,8 @@ public class DateTimeSettingsSetupWizard extends Activity
|
||||
mAutoTimeZoneButton.setText(autoTimeZoneEnabled ? R.string.zone_auto_summaryOn :
|
||||
R.string.zone_auto_summaryOff);*/
|
||||
|
||||
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
|
||||
|
||||
final TimeZone tz = TimeZone.getDefault();
|
||||
mSelectedTimeZone = tz;
|
||||
mTimeZoneButton = (Button)findViewById(R.id.time_zone_button);
|
||||
|
Reference in New Issue
Block a user