Skip to content

Commit 4b4edf9

Browse files
committed
hide the keyboard at opening ReadText activity
1 parent 3c0cd4f commit 4b4edf9

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@
4949
</intent-filter>
5050
</activity>
5151

52+
<activity
53+
android:name=".activities.SettingsActivity"
54+
android:label="@string/settings"
55+
android:parentActivityName=".activities.MainActivity"/>
56+
5257
<activity
5358
android:name="com.simplemobiletools.commons.activities.AboutActivity"
5459
android:label="@string/about"
@@ -64,11 +69,6 @@
6469
android:label="@string/third_party_licences"
6570
android:parentActivityName="com.simplemobiletools.commons.activities.AboutActivity"/>
6671

67-
<activity
68-
android:name=".activities.SettingsActivity"
69-
android:label="@string/settings"
70-
android:parentActivityName=".activities.MainActivity"/>
71-
7272
<activity
7373
android:name="com.simplemobiletools.commons.activities.CustomizationActivity"
7474
android:label="@string/customize_colors"

app/src/main/kotlin/com/simplemobiletools/filemanager/activities/ReadTextActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class ReadTextActivity : SimpleActivity() {
2020
override fun onCreate(savedInstanceState: Bundle?) {
2121
super.onCreate(savedInstanceState)
2222
setContentView(R.layout.activity_read_text)
23+
hideKeyboard()
2324

2425
handlePermission(PERMISSION_WRITE_STORAGE) {
2526
if (it) {

0 commit comments

Comments
 (0)