Larger top poster in TV loading layout (#685)

This commit is contained in:
KingLucius 2023-10-14 01:54:34 +03:00 committed by GitHub
parent b7322ffb19
commit 7e9d1ded7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,17 +124,16 @@ https://developer.android.com/design/ui/tv/samples/jet-fit
android:textColor="?attr/textColor" /> android:textColor="?attr/textColor" />
</LinearLayout> </LinearLayout>
<FrameLayout <FrameLayout
android:id="@+id/background_poster_holder" android:id="@+id/background_poster_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="150dp" android:layout_height="250dp"
android:visibility="visible"> android:visibility="visible">
<ImageView <ImageView
android:id="@+id/background_poster" android:id="@+id/background_poster"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="250dp" android:layout_height="275dp"
android:layout_gravity="center" android:layout_gravity="center"
android:alpha="0.8" android:alpha="0.8"
android:scaleType="centerCrop" android:scaleType="centerCrop"
@ -142,10 +141,9 @@ https://developer.android.com/design/ui/tv/samples/jet-fit
<ImageView <ImageView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="100dp" android:layout_height="120dp"
android:layout_gravity="bottom" android:layout_gravity="bottom"
android:src="@drawable/background_shadow"> android:src="@drawable/background_shadow">
</ImageView> </ImageView>
</FrameLayout> </FrameLayout>
@ -155,7 +153,6 @@ https://developer.android.com/design/ui/tv/samples/jet-fit
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -166,15 +163,8 @@ https://developer.android.com/design/ui/tv/samples/jet-fit
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="100dp" android:orientation="vertical"
android:orientation="horizontal"> android:layout_marginTop="175dp">
<LinearLayout
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:layout_weight="0"
android:orientation="vertical">
<TextView <TextView
android:id="@+id/result_title" android:id="@+id/result_title"
@ -230,13 +220,26 @@ https://developer.android.com/design/ui/tv/samples/jet-fit
android:textStyle="normal" android:textStyle="normal"
tools:text="5d 3h 30m" /> tools:text="5d 3h 30m" />
</LinearLayout> </LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:layout_marginTop="10dp">
<LinearLayout
android:layout_width="250dp"
android:layout_height="wrap_content"
android:layout_marginEnd="10dp"
android:layout_weight="0"
android:orientation="vertical">
<LinearLayout <LinearLayout
android:id="@+id/result_movie_parent" android:id="@+id/result_movie_parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="start" android:layout_gravity="start"
android:layout_marginTop="10dp"
android:animateLayoutChanges="true" android:animateLayoutChanges="true"
android:orientation="vertical" android:orientation="vertical"
tools:visibility="visible"> tools:visibility="visible">