fix keyboard/focus regressions

I don't know how it was working the first time.

fixes #4527
Closes #4555
// FREEBIE
This commit is contained in:
Jake McGinty 2015-11-16 10:40:17 -08:00 committed by Moxie Marlinspike
parent de3106344a
commit f3a4634d30
2 changed files with 4 additions and 1 deletions

View File

@ -233,6 +233,7 @@
<activity android:name=".NewConversationActivity"
android:theme="@style/TextSecure.LightNoActionBar"
android:windowSoftInputMode="stateAlwaysVisible"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<activity android:name=".PushContactSelectionActivity"

View File

@ -99,7 +99,9 @@
android:layout_weight="1"
android:nextFocusForward="@+id/send_button"
android:nextFocusRight="@+id/send_button"
tools:hint="Send TextSecure message" />
tools:hint="Send TextSecure message">
<requestFocus />
</org.thoughtcrime.securesms.components.ComposeText>
<org.thoughtcrime.securesms.components.camera.HidingImageButton
android:id="@+id/quick_attachment_toggle"