Skip to content

Commit

Permalink
fix keyboard/focus regressions
Browse files Browse the repository at this point in the history
I don't know how it was working the first time.

fixes signalapp#4527
// FREEBIE
  • Loading branch information
mcginty committed Nov 16, 2015
1 parent 69f5aac commit 7f418f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 3 additions & 1 deletion res/layout/conversation_activity.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7f418f2

Please sign in to comment.