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
  • orderCenter
  • src
  • main
  • res
  • layout
  • activity_apply_refuse_new.xml
Find file
BlameHistoryPermalink
  • mReturn's avatar
    收发货UI · 634b34c9
    mReturn committed 5 years ago
    634b34c9
activity_apply_refuse_new.xml 7.66 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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <data>


        <variable
            name="presenter"
            type="com.dayu.order.presenter.commonSubmite.ApplayAndRefusePresenter" />
    </data>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/cl_white"
        android:orientation="vertical"
        android:padding="1dp">

        <RelativeLayout
            android:id="@+id/title_idea"
            style="@style/title">

            <TextView
                android:id="@+id/text_idea"
                style="@style/text_title"
                android:text="@string/application_order_part" />

            <ImageView
                android:id="@+id/title_back"
                style="@style/title_image_back"
                android:onClick="@{()->presenter.dumpBack()}" />

            <TextView
                android:id="@+id/tv_right_title"
                style="@style/title_right_text"
                android:onClick="@{()->presenter.commite()}"
                android:text="@string/submit"
                android:textColor="@color/cl_home_button"
                android:textSize="15sp"
                android:visibility="gone" />

        </RelativeLayout>

        <ImageView style="@style/card_line" />


        <android.support.v4.widget.NestedScrollView
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginLeft="5dp"
                android:layout_marginRight="5dp"
                android:orientation="vertical">

                <TextView
                    style="@style/common_text_style"
                    android:layout_marginTop="5dp"
                    android:drawableLeft="@drawable/icon_star_necessary"
                    android:text="@string/part_material_list" />

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="40dp"
                    android:layout_marginTop="5dp"
                    android:orientation="horizontal">

                    <TextView
                        style="@style/sale_item_text"
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="3"
                        android:background="@drawable/bg_order_step_title1"
                        android:gravity="center"
                        android:text="@string/part_model_config" />


                    <TextView
                        style="@style/sale_item_text"
                        android:layout_width="0dp"
                        android:layout_height="match_parent"
                        android:layout_weight="1"
                        android:background="@drawable/bg_order_step_title3"
                        android:gravity="center"
                        android:text="@string/count_str" />
                </LinearLayout>

                <TextView
                    android:id="@+id/apply_part"
                    android:layout_width="50dp"
                    android:layout_height="40dp"
                    android:layout_marginTop="5dp"
                    android:background="@drawable/btn_blue_commom"
                    android:gravity="center"
                    android:text="+"
                    android:textColor="@color/white"
                    android:textSize="26sp" />

                <TextView
                    style="@style/common_text_style"
                    android:layout_marginTop="15dp"
                    android:layout_marginBottom="5dp"
                    android:text="@string/part_apply_reason" />

                <EditText
                    android:id="@+id/et_content"
                    android:layout_width="match_parent"
                    android:layout_height="80dp"
                    android:layout_gravity="center"
                    android:background="@drawable/bg_input_gray_react"
                    android:gravity="top"
                    android:hint="@{presenter.mHint}"
                    android:padding="10dp"
                    android:text="@={presenter.mComment}"
                    android:textColor="@color/cl_home_title_text_color"
                    android:textColorHint="@color/cl_selector_hui"
                    android:textSize="@dimen/sp_13.3" />

                <LinearLayout
                    style="@style/ll_part_bottom">

                    <TextView
                        style="@style/part_left_text"
                        android:drawableLeft="@drawable/icon_star_necessary"
                        android:text="@string/part_receiver_addr" />

                    <TextView
                        android:id="@+id/tv_province"
                        style="@style/part_select_addr"
                        android:hint="@string/province_str" />

                    <TextView
                        android:id="@+id/tv_city"
                        style="@style/part_select_addr"
                        android:layout_marginLeft="5dp"
                        android:layout_marginRight="5dp"
                        android:hint="@string/city_str" />

                    <TextView
                        android:id="@+id/tv_area"
                        style="@style/part_select_addr"
                        android:hint="@string/zone_str" />
                </LinearLayout>

                <EditText
                    android:id="@+id/edt_detail_addr"
                    style="@style/part_addr_edit"
                    android:layout_marginLeft="80dp"
                    android:layout_marginTop="10dp"
                    android:hint="@string/customer_detail_address" />

                <LinearLayout
                    style="@style/ll_part_bottom">

                    <TextView
                        style="@style/part_left_text"
                        android:drawableLeft="@drawable/icon_star_necessary"
                        android:text="@string/part_receiver_addr" />

                    <EditText
                        android:id="@+id/edt_name"
                        style="@style/part_addr_edit"
                        android:hint="@string/str_name" />
                </LinearLayout>

                <LinearLayout
                    style="@style/ll_part_bottom">

                    <TextView
                        style="@style/part_left_text"
                        android:drawableLeft="@drawable/icon_star_necessary"
                        android:text="@string/part_receiver_addr" />

                    <EditText
                        android:id="@+id/edt_phone"
                        style="@style/part_addr_edit"
                        android:hint="@string/ka_address_mobile" />
                </LinearLayout>
            </LinearLayout>
        </android.support.v4.widget.NestedScrollView>

        <TextView
            android:id="@+id/tv_submit"
            android:layout_width="match_parent"
            android:layout_height="45dp"
            android:gravity="center"
            android:textColor="@color/white"
            android:textSize="@dimen/sp_16"
            android:background="@drawable/btn_blue_commom"
            android:text="@string/submit_part_apply"
            android:layout_marginLeft="40dp"
            android:layout_marginRight="40dp"
            android:layout_marginBottom="20dp"
            android:layout_marginTop="15dp"
            />
    </LinearLayout>

</layout>