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"
|
|
|
|
android:id="@+id/notification_cardview"
|
|
|
|
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">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-08-28 16:55:20 +02:00
|
|
|
android:orientation="horizontal">
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2019-08-28 16:55:20 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/notification_dismiss"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="35dp"
|
|
|
|
android:layout_weight="0.2"
|
|
|
|
android:text="@string/dismiss" />
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2019-08-28 16:55:20 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/notification_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:text="Notification text" />
|
2016-12-05 15:20:44 +01:00
|
|
|
|
2019-08-28 16:55:20 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/notification_time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="0.1"
|
|
|
|
android:text="Time" />
|
2016-12-05 15:20:44 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
2019-05-16 13:57:37 +02:00
|
|
|
</androidx.cardview.widget.CardView>
|