Merge "Fix 3298889: Show continue button on PIN and password screens" into honeycomb

This commit is contained in:
Jim Miller
2011-01-11 13:50:40 -08:00
committed by Android (Google) Code Review
4 changed files with 8 additions and 6 deletions

View File

@@ -714,7 +714,8 @@
<!-- Lock screen settings --> <!-- Lock screen settings -->
<activity android:name="ConfirmLockPattern"/> <activity android:name="ConfirmLockPattern"/>
<activity android:name="ConfirmLockPassword"/> <activity android:name="ConfirmLockPassword"
android:windowSoftInputMode="stateUnchanged|adjustResize"/>
<activity android:name="ChooseLockGeneric" <activity android:name="ChooseLockGeneric"
android:label="@string/lockpassword_choose_lock_generic_header"> android:label="@string/lockpassword_choose_lock_generic_header">
@@ -726,7 +727,8 @@
<activity android:name="ChooseLockPattern" android:exported="false"/> <activity android:name="ChooseLockPattern" android:exported="false"/>
<activity android:name="ChooseLockPassword" android:exported="false"/> <activity android:name="ChooseLockPassword" android:exported="false"
android:windowSoftInputMode="stateUnchanged|adjustResize"/>
<activity android:name="ChooseLockPatternTutorial" android:exported="false"/> <activity android:name="ChooseLockPatternTutorial" android:exported="false"/>

View File

@@ -25,7 +25,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="72dip" android:layout_marginTop="20dip"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- "Enter PIN(Password) to unlock" --> <!-- "Enter PIN(Password) to unlock" -->

View File

@@ -26,7 +26,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="72dip" android:layout_marginTop="20dip"
android:orientation="horizontal"> android:orientation="horizontal">
<!-- "Enter PIN(Password) to unlock" --> <!-- "Enter PIN(Password) to unlock" -->

View File

@@ -218,8 +218,8 @@ public class ChooseLockPassword extends PreferenceActivity {
// Update the breadcrumb (title) if this is embedded in a PreferenceActivity // Update the breadcrumb (title) if this is embedded in a PreferenceActivity
if (activity instanceof PreferenceActivity) { if (activity instanceof PreferenceActivity) {
final PreferenceActivity preferenceActivity = (PreferenceActivity) activity; final PreferenceActivity preferenceActivity = (PreferenceActivity) activity;
int id = mIsAlphaMode ? R.string.lockpassword_confirm_your_password_header int id = mIsAlphaMode ? R.string.lockpassword_choose_your_password_header
: R.string.lockpassword_confirm_your_pin_header; : R.string.lockpassword_choose_your_pin_header;
CharSequence title = getText(id); CharSequence title = getText(id);
preferenceActivity.showBreadCrumbs(title, title); preferenceActivity.showBreadCrumbs(title, title);
} }