kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix color of close button on normal reminders.
This change also prevents the title from overlapping with the close button.fork-5.53.8
rodzic
6c608e955e
commit
c16115f71a
|
@ -117,6 +117,10 @@ public final class ReminderView extends FrameLayout {
|
|||
}
|
||||
});
|
||||
|
||||
if (reminder.getImportance() == Reminder.Importance.NORMAL) {
|
||||
closeButton.setColorFilter(ContextCompat.getColor(getContext(), R.color.signal_text_primary));
|
||||
}
|
||||
|
||||
int progress = reminder.getProgress();
|
||||
if (progress != -1) {
|
||||
progressBar.setProgress(progress);
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
<TextView
|
||||
android:id="@+id/reminder_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="20dp"
|
||||
|
@ -57,6 +57,7 @@
|
|||
android:textSize="20sp"
|
||||
android:fontFamily="sans-serif-medium"
|
||||
app:layout_constraintBottom_toTopOf="@id/reminder_text"
|
||||
app:layout_constraintEnd_toStartOf="@id/cancel"
|
||||
app:layout_constraintStart_toEndOf="@id/reminder_progress"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_goneMarginStart="16dp"
|
||||
|
|
Ładowanie…
Reference in New Issue