Added warning

This commit is contained in:
M66B 2019-04-17 08:55:39 +02:00
parent 42f193c4b9
commit a9529070bc
2 changed files with 16 additions and 1 deletions

View File

@ -174,6 +174,20 @@
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/swMetered" />
<TextView
android:id="@+id/tvMeteredWarning"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="12dp"
android:layout_marginEnd="60dp"
android:text="@string/title_advanced_metered_warning"
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/tvMeteredHint" />
<TextView
android:id="@+id/tvDownload"
android:layout_width="0dp"
@ -186,7 +200,7 @@
android:textColor="?android:attr/textColorPrimary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tvMeteredHint" />
app:layout_constraintTop_toBottomOf="@id/tvMeteredWarning" />
<Spinner
android:id="@+id/spDownload"

View File

@ -200,6 +200,7 @@
<string name="title_advanced_enabled_hint">Globally disable or enable receiving and sending of messages</string>
<string name="title_advanced_metered_hint">Metered connections are generally mobile connections or paid Wi-Fi hotspots</string>
<string name="title_advanced_metered_warning">Disabling this option will disable receiving and sending message on mobile internet connections</string>
<string name="title_advanced_browse_hint">Fetch more messages when scrolling down</string>
<string name="title_advanced_threading_hint">Group messages related to each other</string>
<string name="title_advanced_name_email_hint">When disabled only names will be shown when available</string>