[STYLE] 修正銷售平台圖片廣告下方的間距問題
1. 將 activity_fontend.xml 中的 imageAd 元件高度由 wrap_content 改為 match_parent,使其強制填滿 16:9 廣告區域,消除與下方商品列表間的間距。 2. 移除 imageAd 中無效的 app:layout_constraintDimensionRatio="16:9" 屬性。
This commit is contained in:
parent
45853d0b9d
commit
4105d33956
@ -140,10 +140,9 @@
|
||||
<ImageView
|
||||
android:id="@+id/imageAd"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:scaleType="fitXY"
|
||||
android:visibility="gone"
|
||||
app:layout_constraintDimensionRatio="16:9"
|
||||
/>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user