Skip to content

Commit

Permalink
Some little changes and helping user to select the japanese keyboard …
Browse files Browse the repository at this point in the history
…(hope so...)
  • Loading branch information
xenom34 committed Mar 22, 2020
1 parent 8c9c16e commit 7463a2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "fr.altairstudios.arutairu"
minSdkVersion 21
targetSdkVersion 29
versionCode 5
versionName "beta5"
versionCode 6
versionName "preRelease1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.provider.Settings;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
Expand Down Expand Up @@ -240,9 +241,12 @@ private void keyboardDialog() {
builder.setView(dialogView);


builder.setPositiveButton("D'accord !", new DialogInterface.OnClickListener() {
builder.setPositiveButton("Configurer !", new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialogInterface, int i) {
startActivity(new Intent(getApplicationContext(), ListActivity.class));
finish();
startActivityForResult(new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS), 0);
}
});

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<com.google.android.material.textview.MaterialTextView
android:layout_height="wrap_content"
android:layout_width="match_parent"
android:text="Appuie long pour s'entraîner"
android:text="Appui long pour s'entraîner"
android:textAlignment="center"
android:textSize="16sp"
android:textStyle="bold"
Expand Down

0 comments on commit 7463a2a

Please sign in to comment.