<?xml version="1.0" encoding="utf-8"?> <layout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/dp_20" android:paddingRight="@dimen/dp_20"> <android.support.v4.widget.NestedScrollView android:id="@+id/nsv_operate" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_marginBottom="55dp"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.youth.banner.Banner android:id="@+id/banner" android:layout_width="match_parent" android:layout_height="180dp" app:image_scale_type="fit_center" app:indicator_height="6dp" app:indicator_margin="3dp" app:indicator_width="6dp" /> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_model" /> <TextView android:id="@+id/tv_model" style="@style/sale_detail_text2" android:text="" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_company" /> <TextView android:id="@+id/tv_company" style="@style/sale_detail_text2" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_pn" /> <TextView android:id="@+id/tv_company_pn" style="@style/sale_detail_text2" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_single_price" /> <TextView android:id="@+id/tv_single_price" android:textColor="@color/cl_order_item_date" style="@style/sale_detail_text2" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_desc" /> <TextView android:id="@+id/tv_desc" style="@style/sale_detail_text2" android:maxLines="50" /> </LinearLayout> <LinearLayout style="@style/sale_linearlayout_detail"> <TextView style="@style/sale_detail_text" android:text="@string/goods_video" /> <LinearLayout android:id="@+id/ll_video" android:layout_width="match_parent" android:layout_height="150dp"> <cn.jzvd.JzvdStd android:id="@+id/jz_video" android:layout_width="match_parent" android:layout_height="150dp" /> </LinearLayout> </LinearLayout> </LinearLayout> </android.support.v4.widget.NestedScrollView> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_marginBottom="5dp" android:orientation="horizontal"> <Button android:id="@+id/btn_contact" android:layout_width="0dp" android:layout_height="43dp" android:layout_weight="1" android:background="@drawable/btn_blue_commom" android:gravity="center" android:text="@string/advice_seller" android:textColor="@color/white" /> <Button android:id="@+id/btn_share" android:layout_width="0dp" android:layout_height="43dp" android:layout_marginLeft="15dp" android:layout_weight="1.6" android:background="@drawable/btn_green_commom" android:gravity="center" android:text="@string/share_recommend_now" android:textColor="@color/white" /> </LinearLayout> </RelativeLayout> </layout>