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_home.xml
Find file
BlameHistoryPermalink
  • luofan's avatar
    286增加师傅转派功能 · c189f36f
    luofan committed 3 years ago
    c189f36f
fragment_order_home.xml 3.49 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
<?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"
    xmlns:tools="http://schemas.android.com/tools">

    <data>

        <variable
            name="presenter"
            type="com.dayu.order.presenter.homeorder.HomeOrderPresenter" />
    </data>

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent">

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

            <RelativeLayout style="@style/title">

                <TextView
                    style="@style/text_title"
                    android:text="@string/order_title" />

                <TextView
                    android:id="@+id/tv_right_title"
                    style="@style/title_right_text"
                    android:onClick="@{()->presenter.dumpToOrderRecordActivity()}"
                    android:text="@string/history_order"
                    android:textColor="#3faafc"
                    android:textSize="@dimen/dp_13.3"
                    android:visibility="gone" />
            </RelativeLayout>

            <TextView
                android:id="@+id/notice"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="-12dp"
                android:ellipsize="marquee"
                android:focusable="true"
                android:scrollHorizontally="true"
                android:focusableInTouchMode="true"
                android:marqueeRepeatLimit="marquee_forever"
                android:paddingStart="10dp"
                android:paddingEnd="10dp"
                android:paddingBottom="5dp"
                android:singleLine="true"
                android:textColor="@color/common_red"
                android:textSize="15dp"
                tools:text="瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of瑟吉欧房间爱佛家放假哦案件发哦附加按房间啊of" />

            <android.support.design.widget.TabLayout
                android:id="@+id/tb_home"
                android:layout_width="match_parent"
                android:layout_height="78dp"
                app:tabBackground="@drawable/top_tab_selector"
                app:tabIndicatorColor="@color/cl_tab_line"
                app:tabIndicatorHeight="0dp"
                app:tabMaxWidth="0dp"
                app:tabMode="fixed" />

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

            <android.support.v4.view.ViewPager
                android:id="@+id/vp_home"
                android:layout_width="match_parent"
                android:layout_height="0dp"
                android:layout_weight="1" />
        </LinearLayout>

        <ImageView
            android:id="@+id/create_order"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_alignParentBottom="true"
            android:layout_marginRight="10dp"
            android:layout_marginBottom="50dp"
            android:src="@drawable/icon_create_order"
            android:visibility="gone" />
    </RelativeLayout>
</layout>