Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

android / dayu

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • dayu
  • saleCenter
  • src
  • main
  • res
  • layout
  • fragment_product_instruction.xml
Find file
BlameHistoryPermalink
  • mReturn's avatar
    横屏直播优化 · 995f3e2c
    mReturn committed 4 years ago
    995f3e2c
fragment_product_instruction.xml 5.81 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
<?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"
                        style="@style/sale_detail_text2"
                        android:textColor="@color/text_common_blue" />
                    <View
                        android:layout_width="0dp"
                        android:layout_height="1dp"
                        android:layout_weight="1"
                        />
                    <TextView
                        style="@style/sale_detail_text"
                        android:layout_marginRight="10dp"
                        android:text="@string/goods_market_price" />

                    <TextView
                        android:id="@+id/tv_market_price"
                        style="@style/sale_detail_text2"
                        android:layout_marginRight="5dp"
                        android:textColor="@color/cl_tab_gray" />
                </LinearLayout>


                <TextView
                    style="@style/sale_detail_text"
                    android:layout_marginTop="10dp"
                    android:text="@string/goods_video" />

                <LinearLayout
                    android:id="@+id/ll_video"
                    android:layout_width="match_parent"
                    android:layout_height="160dp"
                    android:layout_marginTop="6dp">

                    <cn.jzvd.JzvdStd
                        android:id="@+id/jz_video"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent" />
                </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>
        </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>