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
  • fragment_order_material.xml
Find file
Normal viewHistoryPermalink
fragment_order_material.xml 1.46 KB
Newer Older
wukun's avatar
用料
4670ea15
 
wukun committed a year 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 34 35 36 37 38 39 40 41 42
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">

    <data>

        <variable
            name="presenter"
            type="com.dayu.order.presenter.ordermaterial.OrderMaterialPresenter" />
    </data>

    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/white"
        android:orientation="vertical">

        <com.dayu.widgets.LRecyclerView
            android:id="@+id/lv_part"
            setPresenter="@{presenter}"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"
            android:layout_marginTop="10dp"
            app:itemType="@layout/item_order_material_list" />
        
        <TextView
            android:id="@+id/apply_part"
            android:layout_width="match_parent"
            android:layout_height="49dp"
            android:gravity="center"
            android:text="新增用料记录"
            android:textColor="@color/white"
            android:textSize="@dimen/sp_16"
            android:onClick="@{()->presenter.applyOrReturnPart()}"
            android:background="@drawable/btn_blue_commom"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="20dp"
            android:layout_marginBottom="20dp"
            />
    </LinearLayout>
    
</layout>