2016-12-05 15:20:44 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-05-16 13:57:37 +02:00
|
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-12-05 15:20:44 +01:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2021-02-20 19:34:19 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/cv"
|
2016-12-05 15:20:44 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2018-05-05 21:55:49 +02:00
|
|
|
android:layout_margin="1dp"
|
2016-12-05 15:20:44 +01:00
|
|
|
card_view:cardBackgroundColor="@color/cardColorBackground"
|
|
|
|
card_view:cardCornerRadius="6dp">
|
|
|
|
|
2020-05-03 00:32:26 +02:00
|
|
|
<LinearLayout
|
2016-12-05 15:20:44 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal">
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2019-08-28 16:55:20 +02:00
|
|
|
<TextView
|
2021-02-20 19:34:19 +01:00
|
|
|
android:id="@+id/text"
|
|
|
|
android:layout_width="0dp"
|
2019-08-28 16:55:20 +02:00
|
|
|
android:layout_height="wrap_content"
|
2019-08-28 17:57:48 +02:00
|
|
|
android:layout_marginStart="5dp"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_weight="1"
|
2019-08-28 17:57:48 +02:00
|
|
|
android:maxLines="4"
|
2021-02-20 19:34:19 +01:00
|
|
|
android:text="Notification text. Notification text. Notification text. Notification text. Notification text. Notification text. "
|
|
|
|
tools:ignore="HardcodedText" />
|
2020-05-03 00:32:26 +02:00
|
|
|
|
|
|
|
<Button
|
2021-02-20 19:34:19 +01:00
|
|
|
android:id="@+id/dismiss"
|
2020-05-03 00:32:26 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:text="@string/dismiss" />
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2020-05-03 00:32:26 +02:00
|
|
|
</LinearLayout>
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2019-05-16 13:57:37 +02:00
|
|
|
</androidx.cardview.widget.CardView>
|