Fix notification profile selection UI bugs.
This commit is contained in:
parent
60e54fb2af
commit
d5679ef95f
4 changed files with 9 additions and 9 deletions
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_selected="true">
|
||||
<ripple android:color="@color/signal_button_secondary">
|
||||
<ripple android:color="@color/signal_accent_primary">
|
||||
<item android:id="@android:id/mask">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#000000" />
|
||||
<corners android:radius="10dp" />
|
||||
<corners android:radius="18dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<stroke android:width="1.5dp" android:color="@color/signal_inverse_primary" />
|
||||
<stroke android:width="1.5dp" android:color="@color/signal_accent_primary" />
|
||||
<corners android:radius="18dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<item android:id="@android:id/mask">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="#000000" />
|
||||
<corners android:radius="10dp" />
|
||||
<corners android:radius="18dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item>
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
<item android:state_pressed="true" android:state_selected="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/signal_background_dialog_secondary" />
|
||||
<stroke android:color="@color/signal_inverse_primary" android:width="1.5dp" />
|
||||
<stroke android:color="@color/signal_accent_primary" android:width="1.5dp" />
|
||||
<corners android:radius="18dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_selected="true">
|
||||
<shape android:shape="rectangle">
|
||||
<stroke android:color="@color/signal_inverse_primary" android:width="1.5dp" />
|
||||
<stroke android:color="@color/signal_accent_primary" android:width="1.5dp" />
|
||||
<corners android:radius="18dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
android:layout_marginStart="@dimen/dsl_settings_gutter"
|
||||
android:layout_marginEnd="@dimen/dsl_settings_gutter"
|
||||
android:minHeight="72dp"
|
||||
android:text="@string/NotificationProfileSelection__new_notification_profile"
|
||||
android:text="@string/NotificationProfileSelection__new_profile"
|
||||
android:textAlignment="viewStart"
|
||||
android:textAppearance="@style/Signal.Text.Body"
|
||||
android:textColor="@color/signal_text_primary_dialog"
|
||||
|
|
|
@ -4194,9 +4194,9 @@
|
|||
<string name="NotificationProfileCreated__your_profile_will_turn_on_and_off_automatically_according_to_your_schedule">Your profile will turn on and off automatically according to your schedule.</string>
|
||||
|
||||
<!-- Button text shown in profile selection bottom sheet to create a new profile -->
|
||||
<string name="NotificationProfileSelection__new_notification_profile">New notification profile</string>
|
||||
<string name="NotificationProfileSelection__new_profile">New profile</string>
|
||||
<!-- Manual enable option to manually enable a profile for 1 hour -->
|
||||
<string name="NotificationProfileSelection__for_1_hour">For 1 Hour</string>
|
||||
<string name="NotificationProfileSelection__for_1_hour">For 1 hour</string>
|
||||
<!-- Manual enable option to manually enable a profile until a set time (currently 6pm or 8am depending on what is next) -->
|
||||
<string name="NotificationProfileSelection__until_s">Until %1$s</string>
|
||||
<!-- Option to view profile details -->
|
||||
|
|
Loading…
Add table
Reference in a new issue