|
|
|
|
@ -2,22 +2,27 @@ |
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
android:layout_width="150dp" |
|
|
|
|
android:layout_height="200dp" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:focusable="true" |
|
|
|
|
android:focusableInTouchMode="true"> |
|
|
|
|
android:focusableInTouchMode="true" |
|
|
|
|
android:foreground="@drawable/selector_vod"> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.imageview.ShapeableImageView |
|
|
|
|
android:id="@+id/image" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_height="80dp" |
|
|
|
|
android:background="@color/black_20" |
|
|
|
|
app:shapeAppearanceOverlay="@style/Vod.Grid.Large" /> |
|
|
|
|
app:shapeAppearanceOverlay="@style/Vod.Grid" /> |
|
|
|
|
|
|
|
|
|
<com.google.android.material.imageview.ShapeableImageView |
|
|
|
|
android:id="@+id/delete" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_alignStart="@+id/image" |
|
|
|
|
android:layout_alignTop="@+id/image" |
|
|
|
|
android:layout_alignEnd="@+id/image" |
|
|
|
|
android:layout_alignBottom="@+id/name" |
|
|
|
|
android:background="@color/black_50" |
|
|
|
|
android:scaleType="center" |
|
|
|
|
android:src="@drawable/ic_vod_delete" |
|
|
|
|
@ -65,7 +70,9 @@ |
|
|
|
|
android:id="@+id/name" |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
android:layout_alignParentBottom="true" |
|
|
|
|
android:layout_below="@+id/image" |
|
|
|
|
android:layout_alignStart="@+id/image" |
|
|
|
|
android:layout_alignEnd="@+id/image" |
|
|
|
|
android:background="@drawable/shape_vod_name" |
|
|
|
|
android:ellipsize="marquee" |
|
|
|
|
android:gravity="center" |
|
|
|
|
@ -75,10 +82,4 @@ |
|
|
|
|
android:textSize="16sp" |
|
|
|
|
tools:text="蜘蛛人" /> |
|
|
|
|
|
|
|
|
|
<View |
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
android:layout_height="match_parent" |
|
|
|
|
android:background="@drawable/selector_vod" |
|
|
|
|
android:duplicateParentState="true" /> |
|
|
|
|
|
|
|
|
|
</RelativeLayout> |