Added block sender remark

pull/212/head
M66B 2 years ago
parent d52411afdb
commit 051108dee7

@ -16,9 +16,9 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawableStart="@drawable/twotone_report_24" android:drawableStart="@drawable/twotone_report_24"
android:drawablePadding="6dp" android:drawablePadding="6dp"
app:drawableTint="?attr/colorWarning"
android:text="@string/title_ask_spam_who" android:text="@string/title_ask_spam_who"
android:textAppearance="@style/TextAppearance.AppCompat.Medium" android:textAppearance="@style/TextAppearance.AppCompat.Medium"
app:drawableTint="?attr/colorWarning"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
@ -29,11 +29,11 @@
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:drawableEnd="@drawable/twotone_info_24" android:drawableEnd="@drawable/twotone_info_24"
android:drawablePadding="6dp" android:drawablePadding="6dp"
app:drawableTint="?attr/colorAccent"
android:minHeight="45dp" android:minHeight="45dp"
android:text="@string/title_junk_hint" android:text="@string/title_junk_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic" android:textStyle="italic"
app:drawableTint="?attr/colorAccent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvMessage" /> app:layout_constraintTop_toBottomOf="@+id/tvMessage" />
@ -60,16 +60,27 @@
app:layout_constraintTop_toBottomOf="@id/cbBlockSender" /> app:layout_constraintTop_toBottomOf="@id/cbBlockSender" />
<TextView <TextView
android:id="@+id/tvBlockDomainHint" android:id="@+id/tvBlockHintRemark"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:text="@string/title_block_sender_hint" android:text="@string/title_block_sender_remark"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic" android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/cbBlockDomain" /> app:layout_constraintTop_toBottomOf="@+id/cbBlockDomain" />
<TextView
android:id="@+id/tvBlockDomainHint"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
android:text="@string/title_block_sender_hint"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textStyle="italic"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvBlockHintRemark" />
<ImageButton <ImageButton
android:id="@+id/ibMore" android:id="@+id/ibMore"
android:layout_width="wrap_content" android:layout_width="wrap_content"

@ -104,6 +104,7 @@
<string name="title_block">Block %1$s</string> <string name="title_block">Block %1$s</string>
<string name="title_block_sender">Block sender</string> <string name="title_block_sender">Block sender</string>
<string name="title_block_sender_domain">Block domain \'%1$s\'</string> <string name="title_block_sender_domain">Block domain \'%1$s\'</string>
<string name="title_block_sender_remark">Blocking means automatically moving to the spam folder</string>
<string name="title_block_sender_hint"> <string name="title_block_sender_hint">
Blocking a sender is a free feature. Blocking a sender is a free feature.
Blocking a sender domain uses filter rules, which is a pro feature. Blocking a sender domain uses filter rules, which is a pro feature.

Loading…
Cancel
Save