Added plain text part warning

This commit is contained in:
M66B 2024-03-01 10:13:06 +01:00
parent 0f4fd5a612
commit e26565a623
2 changed files with 16 additions and 1 deletions

View File

@ -302,6 +302,20 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swDownloadPlain" />
<TextView
android:id="@+id/tvPlainRemark"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_plain_remark"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?attr/colorWarning"
android:textStyle="italic"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPlainHint" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swValidated"
android:layout_width="0dp"
@ -310,7 +324,7 @@
android:text="@string/title_advanced_validated"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvPlainHint"
app:layout_constraintTop_toBottomOf="@id/tvPlainRemark"
app:switchPadding="12dp" />
<androidx.appcompat.widget.SwitchCompat

View File

@ -1028,6 +1028,7 @@
<string name="title_advanced_rlah_hint">Assuming no roaming within the EU</string>
<string name="title_advanced_usage_hint">This will increase battery, data and storage space usage</string>
<string name="title_advanced_plain_hint">Enabling this will limit data usage, but messages will be shown without styling</string>
<string name="title_advanced_plain_remark">The plain text part does not always contain the full message!</string>
<string name="title_advanced_tcp_keep_alive_hint">Enabling this can cause connection problems on some devices and may increase battery usage</string>
<string name="title_advanced_validate_hint">This can result in not synchronizing messages, for example when using a VPN, but also in other situations</string>
<string name="title_advanced_timeout_hint">The read/write timeout will be set to the double of the connection timeout. Higher values will result in more battery use.</string>