|
33 | 33 | <androidx.cardview.widget.CardView |
34 | 34 | android:id="@+id/home_preview_info_btt" |
35 | 35 | android:layout_width="match_parent" |
36 | | - android:layout_height="300dp" |
| 36 | + android:layout_height="400dp" |
37 | 37 | android:layout_marginStart="10dp" |
38 | 38 | android:layout_marginTop="10dp" |
39 | 39 | android:layout_marginEnd="10dp" |
|
61 | 61 | android:id="@+id/home_preview_viewpager_text" |
62 | 62 | android:layout_width="match_parent" |
63 | 63 | android:layout_height="match_parent" |
| 64 | + android:background="@drawable/player_gradient_tv" |
64 | 65 | android:layout_gravity="bottom" |
65 | 66 | android:layout_marginStart="@dimen/navbar_width" |
66 | 67 | android:gravity="bottom" |
67 | 68 | android:orientation="vertical" |
68 | | - android:padding="10dp"> |
| 69 | + android:padding="20dp"> |
69 | 70 |
|
70 | 71 | <ImageView |
71 | 72 | android:id="@+id/home_background_poster_watermark_badge_holder" |
|
81 | 82 | android:id="@+id/home_preview_text" |
82 | 83 | android:layout_width="match_parent" |
83 | 84 | android:layout_height="wrap_content" |
| 85 | + android:layout_marginTop="10dp" |
84 | 86 | android:ellipsize="end" |
85 | 87 | android:maxLines="1" |
86 | 88 | android:textSize="25sp" |
87 | 89 | android:textStyle="bold" |
88 | 90 | tools:text="The Perfect Run" /> |
89 | 91 |
|
| 92 | + <LinearLayout |
| 93 | + android:layout_width="match_parent" |
| 94 | + android:layout_height="wrap_content" |
| 95 | + android:orientation="horizontal" |
| 96 | + android:layout_marginTop="10dp" |
| 97 | + android:layout_marginBottom="4dp" |
| 98 | + android:gravity="center_vertical"> |
| 99 | + |
| 100 | + <TextView |
| 101 | + android:id="@+id/home_preview_score" |
| 102 | + android:layout_width="wrap_content" |
| 103 | + android:layout_height="wrap_content" |
| 104 | + android:background="@drawable/rating_bg_color" |
| 105 | + android:textColor="@color/white" |
| 106 | + android:textStyle="bold" |
| 107 | + android:paddingStart="6dp" |
| 108 | + android:paddingEnd="6dp" |
| 109 | + android:paddingTop="2dp" |
| 110 | + android:paddingBottom="2dp" |
| 111 | + android:layout_marginEnd="12dp" |
| 112 | + tools:text="IMDb : 8.5" /> |
| 113 | + |
| 114 | + <TextView |
| 115 | + android:id="@+id/home_preview_year" |
| 116 | + android:layout_width="wrap_content" |
| 117 | + android:layout_height="wrap_content" |
| 118 | + android:textColor="@color/gray_200" |
| 119 | + android:layout_marginEnd="12dp" |
| 120 | + tools:text="2021" /> |
| 121 | + |
| 122 | + <TextView |
| 123 | + android:id="@+id/home_preview_duration" |
| 124 | + android:layout_width="wrap_content" |
| 125 | + android:layout_height="wrap_content" |
| 126 | + android:textColor="@color/gray_200" |
| 127 | + tools:text="120m" /> |
| 128 | + |
| 129 | + </LinearLayout> |
| 130 | + |
90 | 131 | <TextView |
91 | 132 | android:id="@+id/home_preview_description" |
92 | 133 | android:layout_width="match_parent" |
|
97 | 138 | android:textSize="15sp" |
98 | 139 | tools:text="very nice tv series" /> |
99 | 140 |
|
| 141 | + <TextView |
| 142 | + android:id="@+id/home_preview_cast" |
| 143 | + android:layout_width="match_parent" |
| 144 | + android:layout_height="wrap_content" |
| 145 | + android:ellipsize="end" |
| 146 | + android:maxLines="1" |
| 147 | + android:textSize="13sp" |
| 148 | + android:textColor="@color/gray_400" |
| 149 | + android:paddingBottom="5dp" |
| 150 | + tools:text="Cast: Actor One, Actor Two" /> |
| 151 | + |
100 | 152 | <com.google.android.material.chip.ChipGroup |
101 | 153 | android:id="@+id/home_preview_tags" |
102 | 154 | style="@style/ChipParent" |
|
0 commit comments