Added user agent hint

pull/208/head
M66B 3 years ago
parent 3a46fb4233
commit 862fa5fba9

@ -510,6 +510,19 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swGenericUserAgent" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvUserAgentHint"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginEnd="48dp"
android:text="@string/title_advanced_user_agent_hint"
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/tvGenericUserAgent" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/swSafeBrowsing"
android:layout_width="0dp"
@ -518,7 +531,7 @@
android:text="@string/title_advanced_safe_browsing"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvGenericUserAgent"
app:layout_constraintTop_toBottomOf="@id/tvUserAgentHint"
app:switchPadding="12dp" />
<eu.faircode.email.FixedTextView

@ -863,6 +863,7 @@
<string name="title_advanced_display_hidden_hint">This can result in odd looking and double texts</string>
<string name="title_advanced_display_pin_hint">A PIN takes precedence over biometrics authentication</string>
<string name="title_advanced_display_autolock_nav_hint">There will be a grace time of %1$d seconds</string>
<string name="title_advanced_user_agent_hint">Some servers do not accept a generic user agent string</string>
<string name="title_advanced_safe_browsing_hint">The Google server knows which addresses are being looked up</string>
<string name="title_advanced_badge_hint">Only available on supported launchers</string>

Loading…
Cancel
Save