Loading AndroidManifest.xml +1 −2 Original line number Diff line number Diff line Loading @@ -382,8 +382,7 @@ <!-- Edit or create a contact with only the most important fields displayed initially. --> <activity android:name=".activities.ContactEditorActivity" android:theme="@style/EditorActivityTheme" android:windowSoftInputMode="stateHidden|adjustResize"> android:theme="@style/EditorActivityTheme"> <intent-filter> <action android:name="android.intent.action.INSERT"/> Loading src/com/android/contacts/editor/RawContactEditorView.java +8 −0 Original line number Diff line number Diff line Loading @@ -497,6 +497,14 @@ public class RawContactEditorView extends LinearLayout implements View.OnClickLi addReadOnlyRawContactEditorViews(); } else { setupEditorNormally(); // If we're inserting a new contact, request focus to bring up the keyboard for the // name field. if (mHasNewContact) { final StructuredNameEditorView name = getNameEditorView(); if (name != null) { name.requestFocusForFirstEditField(); } } } if (mListener != null) mListener.onEditorsBound(); } Loading Loading
AndroidManifest.xml +1 −2 Original line number Diff line number Diff line Loading @@ -382,8 +382,7 @@ <!-- Edit or create a contact with only the most important fields displayed initially. --> <activity android:name=".activities.ContactEditorActivity" android:theme="@style/EditorActivityTheme" android:windowSoftInputMode="stateHidden|adjustResize"> android:theme="@style/EditorActivityTheme"> <intent-filter> <action android:name="android.intent.action.INSERT"/> Loading
src/com/android/contacts/editor/RawContactEditorView.java +8 −0 Original line number Diff line number Diff line Loading @@ -497,6 +497,14 @@ public class RawContactEditorView extends LinearLayout implements View.OnClickLi addReadOnlyRawContactEditorViews(); } else { setupEditorNormally(); // If we're inserting a new contact, request focus to bring up the keyboard for the // name field. if (mHasNewContact) { final StructuredNameEditorView name = getNameEditorView(); if (name != null) { name.requestFocusForFirstEditField(); } } } if (mListener != null) mListener.onEditorsBound(); } Loading