Skip to content

Commit 20a4921

Browse files
Post comment button,
Move input panel above keyboard, Localized ZeroResultsException message, Moved Context methods to AweryLifecycle, Save scroll position for comment screens, More internalization
1 parent c8bf168 commit 20a4921

37 files changed

+601
-353
lines changed

app/src/debug/AndroidManifest.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<manifest xmlns:tools="http://schemas.android.com/tools"
2+
xmlns:android="http://schemas.android.com/apk/res/android">
3+
4+
<application android:label="Awery ß"
5+
tools:ignore="MissingApplicationIcon"
6+
tools:replace="android:label" />
7+
8+
</manifest>

app/src/debug/res/values/strings.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

app/src/main/AndroidManifest.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,32 +101,39 @@
101101
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|keyboard|keyboardHidden|navigation"
102102
android:supportsPictureInPicture="true"
103103
android:screenOrientation="userLandscape"
104+
android:windowSoftInputMode="adjustPan"
104105
android:exported="true"
105106
tools:ignore="DiscouragedApi" />
106107

107108
<activity
108109
android:name=".ui.activity.MainActivity"
110+
android:windowSoftInputMode="adjustPan"
109111
android:exported="false" />
110112

111113
<activity
112114
android:name=".ui.activity.SearchActivity"
115+
android:windowSoftInputMode="adjustPan"
113116
android:exported="false" />
114117

115118
<activity
116119
android:name=".ui.activity.LoginActivity"
120+
android:windowSoftInputMode="adjustPan"
117121
android:launchMode="singleInstance"
118122
android:exported="false" />
119123

120124
<activity
121125
android:name=".ui.activity.MediaActivity"
126+
android:windowSoftInputMode="adjustPan"
122127
android:exported="false" />
123128

124129
<activity
125130
android:name=".ui.activity.ReaderActivity"
131+
android:windowSoftInputMode="adjustPan"
126132
android:exported="false" />
127133

128134
<activity
129135
android:name=".ui.activity.settings.SettingsActivity"
136+
android:windowSoftInputMode="adjustPan"
130137
android:exported="false" />
131138

132139
<meta-data

app/src/main/assets/settings.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{
99
"key": "use_material_you", "type": "boolean", "restart": true,
1010
"title": "use_material_you", "icon": "ic_round_auto_awesome_24",
11-
"description": "The app's colors will be generated based on your wallpaper",
11+
"description": "material_you_description",
1212
"show_if": "is_material_you_available"
1313
}, {
1414
"key": "dark_theme", "type": "boolean", "restart": true,
@@ -30,7 +30,7 @@
3030
"items": [
3131
{
3232
"key": "default_tab", "type": "select", "string_value": "TODO: MAKE THIS VALUE AS DEFAULT",
33-
"description": "Will be opened when the app starts",
33+
"description": "default_tab_description",
3434
"title": "startUpTab", "icon": "ic_round_home_24",
3535
"items": [
3636
{ "key": "MAIN", "title": "Anime" },
@@ -49,7 +49,7 @@
4949
"behaviour": "excluded_tags"
5050
}, {
5151
"key": "adult_content", "type": "boolean",
52-
"title": "Show adult content", "icon": "ic_round_report",
52+
"title": "adult_content_description", "icon": "ic_round_report",
5353
"description": "Show adult content in the app"
5454
}
5555
]
@@ -143,7 +143,7 @@
143143
]
144144
}, {
145145
"key": "advanced", "type": "screen",
146-
"title": "Advanced", "icon": "ic_settings_outlined",
146+
"title": "advanced", "icon": "ic_settings_outlined",
147147
"items": [
148148
{
149149
"key": "log_network", "type": "boolean", "restart": true,

0 commit comments

Comments
 (0)