diff options
Diffstat (limited to 'src/main/res')
-rw-r--r-- | src/main/res/values/defaults.xml | 1 | ||||
-rw-r--r-- | src/main/res/values/strings.xml | 2 | ||||
-rw-r--r-- | src/main/res/xml/preferences.xml | 5 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/main/res/values/defaults.xml b/src/main/res/values/defaults.xml index 67545e6a9..425e397c9 100644 --- a/src/main/res/values/defaults.xml +++ b/src/main/res/values/defaults.xml @@ -101,5 +101,6 @@ <bool name="use_bundled_emoji">true</bool> <bool name="enable_multi_accounts">false</bool> <bool name="show_qr_code_scan">true</bool> + <bool name="scroll_to_bottom">true</bool> </resources> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 5e7ac836e..d0432d342 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -767,4 +767,6 @@ <string name="once">Once</string> <string name="theme">Theme</string> <string name="qr_code_scanner_needs_access_to_camera">The QR code scanner needs access to the camera</string> + <string name="pref_scroll_to_bottom_summary">Scroll down after sending a message</string> + <string name="pref_scroll_to_bottom">Scroll to bottom</string> </resources> diff --git a/src/main/res/xml/preferences.xml b/src/main/res/xml/preferences.xml index 830d0607f..27e188c7f 100644 --- a/src/main/res/xml/preferences.xml +++ b/src/main/res/xml/preferences.xml @@ -45,6 +45,11 @@ android:key="use_auto_rotate" android:summary="@string/pref_use_auto_rotate_summary" android:title="@string/pref_use_auto_rotate" /> + <CheckBoxPreference + android:defaultValue="@bool/scroll_to_bottom" + android:key="scroll_to_bottom" + android:summary="@string/pref_scroll_to_bottom_summary" + android:title="@string/pref_scroll_to_bottom" /> </PreferenceScreen> <!--Notifications--> <PreferenceScreen |