Skip to content

Commit

Permalink
QUICKFIX EditText Auto Correct
Browse files Browse the repository at this point in the history
*Add auto correction and auto capitalization to box input.
  • Loading branch information
rayliverified committed Jul 25, 2017
1 parent 31832e4 commit 74b000d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/stream/customalertapp/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public void OnClick(View view, Dialog dialog) {
}
})
.setLineInputHint(lineHint)
// .setBoxInputHint(boxHint)
.setBoxInputHint(boxHint)
.build();
alert.show();
}
Expand Down
2 changes: 1 addition & 1 deletion customalert/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.searchy2'
version = '1.3'
version = '1.5'

android {
compileSdkVersion 25
Expand Down
3 changes: 2 additions & 1 deletion customalert/src/main/res/layout/alert_input_box.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
android:textColor="@color/text_input"
android:minLines="3"
android:maxLines="3"
android:inputType="textFilter|textMultiLine"
android:inputType="textAutoComplete|textAutoCorrect|textMultiLine|textCapSentences"
android:autoText="true"
android:scrollbars="vertical"
android:imeOptions="actionNext"
android:background="@color/transparent"
Expand Down

0 comments on commit 74b000d

Please sign in to comment.