style(ui): 調整廣告區域容器比例至 21:9 與等比例縮放
1. 將廣告區域容器比例從 16:9 調整為 21:9 2. 設定影片播放器屬性為 app:resize_mode=zoom 3. 設定廣告圖片屬性為 android:scaleType=centerCrop
This commit is contained in:
parent
02ae6623d9
commit
54e0c9ffa5
@ -63,7 +63,7 @@
|
||||
android:layout_marginTop="60dp"
|
||||
android:layout_marginBottom="2dp"
|
||||
android:background="@color/black"
|
||||
app:layout_constraintDimensionRatio="16:9"
|
||||
app:layout_constraintDimensionRatio="21:9"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
@ -75,13 +75,13 @@
|
||||
app:show_subtitle_button="true"
|
||||
app:use_artwork="true"
|
||||
app:use_controller="false"
|
||||
app:layout_constraintDimensionRatio="16:9" />
|
||||
app:resize_mode="zoom" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imageAd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:scaleType="centerCrop"
|
||||
android:visibility="gone"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user