use rounded corners at the Extended Details view

This commit is contained in:
tibbi 2020-11-02 10:11:08 +01:00
parent c7d4be1d9d
commit e31cdf1381
3 changed files with 32 additions and 24 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<corners android:radius="@dimen/small_margin" />
<solid android:color="@color/gradient_grey_start" />
</shape>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/photo_holder" android:id="@+id/photo_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
@ -37,8 +37,8 @@
android:layout_width="@dimen/play_outline_size_big" android:layout_width="@dimen/play_outline_size_big"
android:layout_height="@dimen/play_outline_size_big" android:layout_height="@dimen/play_outline_size_big"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:padding="20dp"
android:contentDescription="@null" android:contentDescription="@null"
android:padding="20dp"
android:src="@drawable/ic_panorama_outline" android:src="@drawable/ic_panorama_outline"
android:visibility="gone" /> android:visibility="gone" />
@ -49,7 +49,7 @@
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_marginLeft="@dimen/small_margin" android:layout_marginLeft="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin" android:layout_marginRight="@dimen/small_margin"
android:background="@color/gradient_grey_start" android:background="@drawable/extended_details_background"
android:padding="@dimen/small_margin" android:padding="@dimen/small_margin"
android:textColor="@color/theme_dark_text_color" android:textColor="@color/theme_dark_text_color"
android:textSize="@dimen/smaller_text_size" android:textSize="@dimen/smaller_text_size"

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/video_holder" android:id="@+id/video_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -59,7 +58,7 @@
android:layout_alignParentStart="true" android:layout_alignParentStart="true"
android:layout_marginLeft="@dimen/small_margin" android:layout_marginLeft="@dimen/small_margin"
android:layout_marginRight="@dimen/small_margin" android:layout_marginRight="@dimen/small_margin"
android:background="@color/gradient_grey_start" android:background="@drawable/extended_details_background"
android:padding="@dimen/small_margin" android:padding="@dimen/small_margin"
android:textColor="@color/theme_dark_text_color" android:textColor="@color/theme_dark_text_color"
android:textSize="@dimen/smaller_text_size" android:textSize="@dimen/smaller_text_size"