mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-09-24 18:51:51 +01:00
Fix schedule edit day backgrounds for older devices.
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ class EditNotificationProfileFragment : DSLSettingsFragment(layoutId = R.layout.
|
||||
.subscribeBy(
|
||||
onSuccess = { initial ->
|
||||
if (initial.createMode) {
|
||||
saveButton.text = getString(R.string.EditNotificationProfileFragment__next)
|
||||
saveButton.text = getString(R.string.EditNotificationProfileFragment__create)
|
||||
title.setText(R.string.EditNotificationProfileFragment__name_your_profile)
|
||||
} else {
|
||||
saveButton.text = getString(R.string.EditNotificationProfileFragment__save)
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:top="8dp" android:left="8dp" android:right="8dp" android:bottom="8dp">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="@color/notification_profile_schedule_background_tint" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -139,7 +139,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_1"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -153,7 +153,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_2"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -167,7 +167,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_3"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -181,7 +181,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_4"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -195,7 +195,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_5"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -209,7 +209,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_6"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
@@ -223,7 +223,7 @@
|
||||
android:id="@+id/edit_notification_profile_schedule_day_7"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:background="@drawable/circle_tintable_padded"
|
||||
android:background="@drawable/notification_profile_day_background"
|
||||
android:enabled="false"
|
||||
android:foreground="?selectableItemBackgroundBorderless"
|
||||
android:gravity="center"
|
||||
|
||||
@@ -4076,8 +4076,10 @@
|
||||
<string name="EditNotificationProfileFragment__profile_name">Profile name</string>
|
||||
<!-- Name has a max length, this shows how many characters are used out of the max -->
|
||||
<string name="EditNotificationProfileFragment__count">%1$d/%2$d</string>
|
||||
<!-- Call to action button once the profile is named to continue to the next create step -->
|
||||
<!-- Call to action button to continue to the next step -->
|
||||
<string name="EditNotificationProfileFragment__next">Next</string>
|
||||
<!-- Call to action button once the profile is named to create the profile and continue to the customization steps -->
|
||||
<string name="EditNotificationProfileFragment__create">Create</string>
|
||||
<!-- Call to action button once the profile name is edited -->
|
||||
<string name="EditNotificationProfileFragment__save">Save</string>
|
||||
<!-- Title of edit notification profile screen -->
|
||||
|
||||
Reference in New Issue
Block a user