58 lines
2.7 KiB
XML
58 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<com.ubt.jimu.widgets.NavigationBarView
|
|
android:id="@+id/nbv_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:nbv_mode="left_right"
|
|
app:nbv_title="@string/diy_show"/>
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@+id/nbv_bar">
|
|
<androidx.cardview.widget.CardView
|
|
android:layout_width="@dimen/theme_input_width"
|
|
android:layout_height="@dimen/diy_video_show_h"
|
|
android:layout_centerInParent="true"
|
|
app:cardBackgroundColor="@color/bg_FFFFFF"
|
|
app:cardCornerRadius="@dimen/dp30"
|
|
app:cardElevation="7dp">
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<ImageView
|
|
android:id="@+id/video"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<ImageView
|
|
android:id="@+id/img_origin_delete"
|
|
android:padding="10dp"
|
|
android:layout_width="@dimen/diy_show_delete"
|
|
android:layout_height="@dimen/diy_show_delete"
|
|
android:src="@drawable/diy_show_delete"
|
|
android:scaleType="fitCenter"
|
|
android:layout_alignParentRight="true"/>
|
|
<ImageView
|
|
android:id="@+id/img_video_add"
|
|
android:background="@drawable/diy_add_video"
|
|
android:layout_width="70dp"
|
|
android:layout_height="70dp"
|
|
android:layout_centerInParent="true"/>
|
|
<TextView
|
|
android:textSize="@dimen/theme_12sp"
|
|
android:textColor="@color/theme_txt_light"
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
android:id="@+id/tv_desc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="15dp"
|
|
android:text="@string/diy_final_show"
|
|
android:layout_below="@+id/img_video_add"
|
|
android:layout_centerHorizontal="true"/>
|
|
</RelativeLayout>
|
|
</androidx.cardview.widget.CardView>
|
|
</RelativeLayout>
|
|
</RelativeLayout>
|