Skip to content

Commit

Permalink
Close mozilla-mobile#25954: change button colours
Browse files Browse the repository at this point in the history
  • Loading branch information
mike a committed Jul 10, 2022
1 parent d32643b commit 081bd14
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions app/src/main/res/layout/delete_history_time_range_dialog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,44 +51,41 @@
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
android:button="@null"
android:drawablePadding="32dp"
android:ellipsize="end"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:buttonTint="?attr/textSecondary"
android:layout_marginStart="18dp"
android:paddingStart="32dp"
android:paddingEnd="8dp"
android:text="@string/delete_history_prompt_button_last_hour"
android:textColor="?attr/textPrimary"
android:textSize="16sp"
app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle" />
android:textSize="16sp" />

<RadioButton
android:id="@+id/today_and_yesterday_button"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
android:button="@null"
android:drawablePadding="32dp"
android:ellipsize="end"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:buttonTint="?attr/textSecondary"
android:layout_marginStart="18dp"
android:paddingStart="32dp"
android:paddingEnd="8dp"
android:text="@string/delete_history_prompt_button_today_and_yesterday"
android:textColor="?attr/textPrimary"
android:textSize="16sp"
app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle" />
android:textSize="16sp" />

<RadioButton
android:id="@+id/everything_button"
android:layout_width="match_parent"
android:layout_height="48dp"
android:background="?android:attr/selectableItemBackground"
android:button="@null"
android:drawablePadding="32dp"
android:ellipsize="end"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:buttonTint="?attr/textSecondary"
android:layout_marginStart="18dp"
android:paddingStart="32dp"
android:paddingEnd="8dp"
android:text="@string/delete_history_prompt_button_everything"
android:textColor="?attr/textPrimary"
android:textSize="16sp"
app:drawableStartCompat="?android:attr/listChoiceIndicatorSingle" />
android:textSize="16sp" />
</RadioGroup>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 081bd14

Please sign in to comment.