Skip to content

Commit 14d56de

Browse files
authored
Adding a subtle shadow and minor adjustments to make the description stand out more on a white background. (#2648)
1 parent adf2ed6 commit 14d56de

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

app/src/main/res/layout/player_custom_layout_tv.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<FrameLayout
1212
android:id="@+id/player_metadata_scrim"
13-
android:layout_width="640dp"
13+
android:layout_width="680dp"
1414
android:layout_height="match_parent"
1515
android:background="@drawable/bg_player_metadata_scrim_netflix"
1616
app:layout_constraintStart_toStartOf="parent"
@@ -49,6 +49,10 @@
4949
android:textColor="@android:color/white"
5050
android:textSize="30sp"
5151
android:textStyle="bold"
52+
android:shadowColor="@android:color/black"
53+
android:shadowDx="2"
54+
android:shadowDy="2"
55+
android:shadowRadius="4"
5256
android:maxLines="2"
5357
android:ellipsize="end"
5458
tools:text="Zootopia 2"/>
@@ -74,8 +78,12 @@
7478
android:textColor="#E6FFFFFF"
7579
android:textSize="16sp"
7680
android:lineSpacingExtra="8dp"
81+
android:shadowColor="@android:color/black"
82+
android:shadowDx="2"
83+
android:shadowDy="2"
84+
android:shadowRadius="4"
7785
android:maxLines="5"
78-
tools:text="Brave rabbit cop Judy Hopps and her friend, the fox Nick Wilde, team up again to crack a new case."/>
86+
tools:text="Brave rabbit cop Judy Hopps..."/>
7987

8088
</LinearLayout>
8189
<ImageView

0 commit comments

Comments
 (0)