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_server_info.xml
Find file
BlameHistoryPermalink
  • 罗翻's avatar
    android v1.93 · 06462cdb
    罗翻 committed 6 years ago
    06462cdb
activity_server_info.xml 2.37 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
<?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">

    <data>

        <variable
            name="presenter"
            type="com.dayu.order.presenter.serverinfo.ServerInfoPresenter" />

        <import type="android.view.View" />
    </data>

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

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

            <TextView
                android:id="@+id/tv_title"
                style="@style/text_title" />

            <ImageView
                android:id="@+id/receiving_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.callPhone()}"
                android:text="@string/company_mobile"
                android:textColor="#3faafc"
                android:textSize="@dimen/dp_13.3"
                android:visibility="@{presenter.mIsShowPhone?View.VISIBLE:View.GONE}" />
        </RelativeLayout>

        <ImageView
            android:id="@+id/line"
            style="@style/card_line"
            android:layout_below="@+id/title_back" />

        <com.dayu.widgets.LRecyclerView
            android:id="@+id/recyclerView"
            setPresenter="@{presenter}"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_below="@+id/line"
            android:layout_marginBottom="@dimen/dp_50"
            app:headType="@layout/recycler_server_info_header"
            app:itemType="@layout/item_server_info" />

        <TextView
            android:id="@+id/tv_process"
            android:layout_width="match_parent"
            android:layout_height="49dp"
            android:layout_alignParentBottom="true"
            android:background='@{presenter.mCanProcess==2?@color/bg_button:@color/cl_selector_hui}'
            android:clickable='@{presenter.mCanProcess==2?true:false}'
            android:gravity="center"
            android:text="@string/next_step"
            android:textColor="@color/white" />
    </RelativeLayout>
</layout>