From 379de7a0d35f027f99f3f5183fdf139593ef6785 Mon Sep 17 00:00:00 2001 From: zoff99 Date: Fri, 29 Nov 2024 11:31:06 +0100 Subject: [PATCH] allow for even large font sizes --- .../com/zoffcc/applications/trifa/TRIFAGlobals.java | 10 +++++----- .../app/src/main/res/values-kn/strings.xml | 12 ------------ .../app/src/main/res/values-zh-rCN/strings.xml | 12 ------------ .../app/src/main/res/values/strings.xml | 6 ++++++ 4 files changed, 11 insertions(+), 29 deletions(-) diff --git a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/TRIFAGlobals.java b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/TRIFAGlobals.java index 733106029..a8c40e82f 100644 --- a/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/TRIFAGlobals.java +++ b/android-refimpl-app/app/src/main/java/com/zoffcc/applications/trifa/TRIFAGlobals.java @@ -259,13 +259,13 @@ public class TRIFAGlobals static List bootstrap_node_list = new ArrayList<>(); public static List tcprelay_node_list = new ArrayList<>(); - static final int[] MESSAGE_TEXT_SIZE = {9, 11, 15, 20}; // values in "sp" - static final int[] MESSAGE_EMOJI_SIZE = {13, 18, 25, 36}; // values in "dp" - static final int[] MESSAGE_AVATAR_HEIGHT_COMPACT_LAYOUT = {17, 17, 22, 30}; // values in "dp" - static final int[] MESSAGE_AVATAR_HEIGHT_NORMAL_LAYOUT = {50, 50, 50, 50}; // values in "dp" + static final int[] MESSAGE_TEXT_SIZE = {9, 11, 15, 20, 25, 30, 45}; // values in "sp" + static final int[] MESSAGE_EMOJI_SIZE = {13, 18, 25, 36, 40, 40, 40}; // values in "dp" + static final int[] MESSAGE_AVATAR_HEIGHT_COMPACT_LAYOUT = {17, 17, 22, 30, 30, 30, 30}; // values in "dp" + static final int[] MESSAGE_AVATAR_HEIGHT_NORMAL_LAYOUT = {50, 50, 50, 50, 50, 50, 50}; // values in "dp" static final int MESSAGE_TEXT_SIZE_FT_SMALL = 12; static final int MESSAGE_TEXT_SIZE_FT_NORMAL = 13; - static final int[] MESSAGE_EMOJI_ONLY_EMOJI_SIZE = {13 * 2, 18 * 2, 25 * 2, 36 * 2}; // values in "dp" + static final int[] MESSAGE_EMOJI_ONLY_EMOJI_SIZE = {13 * 2, 18 * 2, 25 * 2, 36 * 2, 40 * 2, 40 * 2, 40 * 2}; // values in "dp" static long LAST_ONLINE_TIMSTAMP_ONLINE_NOW = Long.MAX_VALUE - 1; static long LAST_ONLINE_TIMSTAMP_ONLINE_OFFLINE = -1; diff --git a/android-refimpl-app/app/src/main/res/values-kn/strings.xml b/android-refimpl-app/app/src/main/res/values-kn/strings.xml index 0641a0799..12442f25f 100644 --- a/android-refimpl-app/app/src/main/res/values-kn/strings.xml +++ b/android-refimpl-app/app/src/main/res/values-kn/strings.xml @@ -63,18 +63,6 @@ ಅಕ್ಷರ ಗಾತ್ರ Select ಅಕ್ಷರ ಗಾತ್ರ ಆಯ್ಕೆ ಮಾಡಿ - - ಅತೀ ಸಣ್ಣದು - ಸಣ್ಣದು - ಸಾಮಾನ್ಯ - ದೊಡ್ಡದು - - - 0 - 1 - 2 - 3 - ಕ್ಯಾಮೆರಾ ಪೂರ್ವ-ವೀಕ್ಷಣೆ ಸ್ವರೂಪ ಕ್ಯಾಮೆರಾ ಪೂರ್ವವೀಕ್ಷಣೆ ಸ್ವರೂಪ ಕೆಲವು ಫೋನ್‌ಗಳಲ್ಲಿ ತಪ್ಪಾದ ಸ್ವರೂಪದಲ್ಲಿದೆ ಎಂದು ತೋರುತ್ತದೆ diff --git a/android-refimpl-app/app/src/main/res/values-zh-rCN/strings.xml b/android-refimpl-app/app/src/main/res/values-zh-rCN/strings.xml index 57dc1fd55..ab9f8914c 100644 --- a/android-refimpl-app/app/src/main/res/values-zh-rCN/strings.xml +++ b/android-refimpl-app/app/src/main/res/values-zh-rCN/strings.xml @@ -63,18 +63,6 @@ 字体大小 选择字体大小 - - 很小 - - 默认:正常 - - - - 0 - 1 - 2 - 3 - 相机预览格式 相机预览格式在某些手机上似乎使用了错误的格式 diff --git a/android-refimpl-app/app/src/main/res/values/strings.xml b/android-refimpl-app/app/src/main/res/values/strings.xml index 5f9aef424..008e5ca3a 100644 --- a/android-refimpl-app/app/src/main/res/values/strings.xml +++ b/android-refimpl-app/app/src/main/res/values/strings.xml @@ -102,12 +102,18 @@ small default: normal large + larger + very large + extremly large 0 1 2 3 + 4 + 5 + 6 Camera Preview Format