adds animation, updates card design

This commit is contained in:
Raphael Maenle 2022-03-11 09:50:39 +01:00
parent 67fe7381aa
commit 625d5496e3
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/cardview_shadow_start_color"/>
<stroke android:width="3dp" android:color="@color/cardview_dark_background" />
<solid android:color="@color/cardview_dark_background"/>
<stroke android:width="8dp" android:color="#000000FF" />
<corners android:radius="10dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>

View File

@ -9,6 +9,7 @@
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:animateLayoutChanges="true"
android:orientation="vertical"
android:layout_marginTop="20dp">
@ -107,6 +108,7 @@
android:id="@+id/notification_list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:animateLayoutChanges="true"
android:layout_weight="1"
android:layout_margin="20sp"
android:scrollbars="vertical"

View File

@ -6,8 +6,6 @@
android:background="@drawable/rounded_card"
android:padding="10dp"
android:paddingStart="20dp"
android:layout_margin="2dp"
android:orientation="vertical">
<TextView
@ -25,7 +23,7 @@
android:autoLink="web"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="no data"
android:text="no data\nfor\nme"
android:textSize="12sp"
android:ellipsize="marquee"/>