mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 16:40:32 +00:00
Small adjustments to notification settings layout
This commit is contained in:
parent
4864fa3f2d
commit
06764db118
@ -21,12 +21,11 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/textView"
|
android:id="@+id/textView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:layout_marginEnd="16dp"
|
android:layout_marginEnd="16dp"
|
||||||
android:maxLines="1"
|
|
||||||
android:text="@string/notification_scale_to_square_image_title"
|
android:text="@string/notification_scale_to_square_image_title"
|
||||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
@ -78,7 +77,6 @@
|
|||||||
android:clickable="false"
|
android:clickable="false"
|
||||||
android:focusable="false"
|
android:focusable="false"
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:lines="4"
|
|
||||||
android:text="@string/notification_actions_summary"
|
android:text="@string/notification_actions_summary"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/notificationActionTitle"
|
android:id="@+id/notificationActionTitle"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
@ -36,11 +36,11 @@
|
|||||||
app:layout_constraintStart_toEndOf="@+id/notificationActionIcon"
|
app:layout_constraintStart_toEndOf="@+id/notificationActionIcon"
|
||||||
app:layout_constraintTop_toTopOf="@+id/notificationActionIcon"
|
app:layout_constraintTop_toTopOf="@+id/notificationActionIcon"
|
||||||
app:layout_constraintVertical_chainStyle="packed"
|
app:layout_constraintVertical_chainStyle="packed"
|
||||||
tools:text="@string/notification_action_1_title" />
|
tools:text="Second action button | Lorem ipsum dolor sit amet, consectetur adipisci elit" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/notificationActionSummary"
|
android:id="@+id/notificationActionSummary"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
@ -49,7 +49,7 @@
|
|||||||
app:layout_constraintHorizontal_bias="0.0"
|
app:layout_constraintHorizontal_bias="0.0"
|
||||||
app:layout_constraintStart_toStartOf="@+id/notificationActionTitle"
|
app:layout_constraintStart_toStartOf="@+id/notificationActionTitle"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/notificationActionTitle"
|
app:layout_constraintTop_toBottomOf="@+id/notificationActionTitle"
|
||||||
tools:text="@string/notification_action_play_pause_buffering_value" />
|
tools:text="Play • Pause • Buffering | Lorem ipsum dolor sit amet, consectetur adipisci elit" />
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:id="@+id/notificationActionClickableArea"
|
android:id="@+id/notificationActionClickableArea"
|
||||||
|
@ -66,7 +66,7 @@
|
|||||||
<string name="notification_action_2_title">Third action button</string>
|
<string name="notification_action_2_title">Third action button</string>
|
||||||
<string name="notification_action_3_title">Fourth action button</string>
|
<string name="notification_action_3_title">Fourth action button</string>
|
||||||
<string name="notification_action_4_title">Fifth action button</string>
|
<string name="notification_action_4_title">Fifth action button</string>
|
||||||
<string name="notification_actions_summary">Edit each notification action below by tapping on it.\nSelect up to three of them to be shown in the compact notification by using the checkboxes on the right.</string>
|
<string name="notification_actions_summary">Edit each notification action below by tapping on it. Select up to three of them to be shown in the compact notification by using the checkboxes on the right.</string>
|
||||||
<string name="notification_actions_at_most_three">You can select at most three actions to show in the compact notification!</string>
|
<string name="notification_actions_at_most_three">You can select at most three actions to show in the compact notification!</string>
|
||||||
|
|
||||||
<string name="notification_action_repeat">Repeat</string>
|
<string name="notification_action_repeat">Repeat</string>
|
||||||
|
Loading…
Reference in New Issue
Block a user