mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 17:57:34 +00:00
Support for message body text size preference
// FREEBIE
This commit is contained in:
@@ -277,4 +277,18 @@
|
||||
<item>#ff00ff</item>
|
||||
</array>
|
||||
|
||||
<string-array name="pref_message_font_size_entries">
|
||||
<item>@string/arrays__small</item>
|
||||
<item>@string/arrays__normal</item>
|
||||
<item>@string/arrays__large</item>
|
||||
<item>@string/arrays__extra_large</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_message_font_size_values">
|
||||
<item>13</item>
|
||||
<item>16</item>
|
||||
<item>20</item>
|
||||
<item>30</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
@@ -1073,6 +1073,11 @@
|
||||
<string name="arrays__video">Video</string>
|
||||
<string name="arrays__documents">Documents</string>
|
||||
|
||||
<string name="arrays__small">Small</string>
|
||||
<string name="arrays__normal">Normal</string>
|
||||
<string name="arrays__large">Large</string>
|
||||
<string name="arrays__extra_large">Extra large</string>
|
||||
|
||||
<!-- plurals.xml -->
|
||||
<plurals name="hours_ago">
|
||||
<item quantity="one">%d hour</item>
|
||||
@@ -1194,7 +1199,7 @@
|
||||
<string name="preferences_notifications__events">Events</string>
|
||||
<string name="preferences_chats__show_invitation_prompts">Show invitation prompts</string>
|
||||
<string name="preferences_chats__display_invitation_prompts_for_contacts_without_signal">Display invitation prompts for contacts without Signal</string>
|
||||
|
||||
<string name="preferences_chats__message_text_size">Message text size</string>
|
||||
|
||||
<!-- **************************************** -->
|
||||
<!-- menus -->
|
||||
@@ -1358,6 +1363,7 @@
|
||||
<!-- transport_selection_list_item -->
|
||||
<string name="transport_selection_list_item__transport_icon">Transport icon</string>
|
||||
|
||||
|
||||
<!-- EOF -->
|
||||
|
||||
</resources>
|
||||
|
@@ -30,6 +30,13 @@
|
||||
<PreferenceCategory android:layout="@layout/preference_divider"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/preferences_chats__chats">
|
||||
<ListPreference android:key="pref_message_body_text_size"
|
||||
android:title="@string/preferences_chats__message_text_size"
|
||||
android:entries="@array/pref_message_font_size_entries"
|
||||
android:entryValues="@array/pref_message_font_size_values"
|
||||
android:defaultValue="16">
|
||||
</ListPreference>
|
||||
|
||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||
android:defaultValue="true"
|
||||
android:key="pref_show_invite_reminder"
|
||||
|
Reference in New Issue
Block a user