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
  • item_sale_order.xml
Find file
Normal viewHistoryPermalink
item_sale_order.xml 4.26 KB
Edit
Newer Older
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
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
<?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">


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginLeft="@dimen/dp_13.3"
        android:layout_marginTop="5dp"
        android:layout_marginRight="@dimen/dp_13.3"
        android:background="@drawable/item_shape"
        android:orientation="horizontal"
        android:padding="@dimen/dp_10">

        <ImageView
            android:id="@+id/iv_img"
            android:layout_width="@dimen/dp_89"
            android:layout_height="@dimen/dp_89"
            android:layout_gravity="center_vertical"
            android:src="@drawable/icon_img_default" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_15"
            android:layout_weight="1"
            android:orientation="vertical">

            <LinearLayout style="@style/sale_linearlayout">

                <TextView
                    style="@style/sale_item_text"
mReturn's avatar
sale
81df450b
 
mReturn committed 5 years ago
34 35
                    android:text="@string/brand_model"
                    android:textStyle="bold" />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
36 37 38

                <TextView
                    android:id="@+id/tv_brand_model"
mReturn's avatar
sale
81df450b
 
mReturn committed 5 years ago
39 40
                    style="@style/sale_item_text2"
                    android:textStyle="bold" />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
41 42 43 44 45 46 47

            </LinearLayout>

            <RelativeLayout
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_marginTop="5dp"
mReturn's avatar
sale
81df450b
 
mReturn committed 5 years ago
48
                android:layout_marginRight="5dp">
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
49 50 51 52 53 54 55 56 57

                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"

                    android:orientation="horizontal">

                    <TextView
                        style="@style/sale_item_text"
mReturn's avatar
sale
81df450b
 
mReturn committed 5 years ago
58
                        android:text="@string/sale_order_price"
mReturn's avatar
fix bug
16d0953d
 
mReturn committed 5 years ago
59
                        />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
60 61 62 63 64

                    <TextView
                        android:id="@+id/tv_price"
                        style="@style/sale_item_text2"
                        android:text="00"
mReturn's avatar
sale
81df450b
 
mReturn committed 5 years ago
65
                        android:textColor="@color/bg_button"
mReturn's avatar
fix bug
16d0953d
 
mReturn committed 5 years ago
66
                        />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
67 68 69 70 71 72 73 74 75 76 77

                </LinearLayout>

                <LinearLayout
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
                    android:orientation="horizontal">

                    <TextView
                        style="@style/sale_item_text"
mReturn's avatar
销售&搜索&评论
f5d1dccc
 
mReturn committed 5 years ago
78
                        android:text="@string/commision_str"
mReturn's avatar
fix bug
16d0953d
 
mReturn committed 5 years ago
79
                         />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
80 81 82 83 84

                    <TextView
                        android:id="@+id/tv_commision"
                        style="@style/sale_item_text2"
                        android:text="00"
mReturn's avatar
fix
b4d6d947
 
mReturn committed 5 years ago
85
                        android:textColor="@color/common_red"
mReturn's avatar
fix bug
16d0953d
 
mReturn committed 5 years ago
86
                        />
mReturn's avatar
sale
6b4f1835
 
mReturn committed 5 years ago
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

                </LinearLayout>
            </RelativeLayout>

            <LinearLayout style="@style/sale_linearlayout">

                <TextView
                    style="@style/sale_item_text"
                    android:text="@string/sale_company_name" />

                <TextView
                    android:id="@+id/tv_company"
                    style="@style/sale_item_text2" />
            </LinearLayout>

            <LinearLayout style="@style/sale_linearlayout">

                <TextView
                    android:id="@+id/tv_date_desc"
                    style="@style/sale_item_text"
                    android:text="@string/sale_order_date" />

                <TextView
                    android:id="@+id/tv_date"
                    style="@style/sale_item_text2" />
            </LinearLayout>

            <LinearLayout style="@style/sale_linearlayout">

                <TextView
                    style="@style/sale_item_text"
                    android:text="@string/sale_order_status" />

                <TextView
                    android:id="@+id/tv_status"
                    style="@style/sale_item_text2" />
            </LinearLayout>


        </LinearLayout>

    </LinearLayout>

</layout>