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_ka_address_layout.xml
Find file
BlameHistoryPermalink
  • 罗翻's avatar
    增加ordercenter和loctionlib · ae60479a
    罗翻 committed 7 years ago
    ae60479a
activity_ka_address_layout.xml 4.78 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
<?xml version="1.0" encoding="utf-8"?>
<layout>

    <data>

        <variable
            name="presenter"
            type="com.dayu.order.presenter.kaaddress.KaAddressPresenter" />
    </data>

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

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

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

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

            <ImageView
                android:layout_width="match_parent"
                android:layout_height="@dimen/dp_6"
                android:layout_alignParentBottom="true"
                android:src="@drawable/line_shape" />
        </RelativeLayout>

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:background="@color/white"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/dp_10"
                android:layout_marginRight="53dp"
                android:text="@string/ka_name"
                android:textColor="@color/default_text_color"
                android:textSize="15sp" />

            <TextView
                android:id="@+id/tv_ka_name"
                android:layout_width="0dp"
                android:layout_weight="1"
                android:layout_height="wrap_content"
                android:gravity="left"
                android:layout_marginRight="@dimen/dp_15"
                android:text="@{presenter.data.name}"
                android:textColor="@color/default_editext_color"
                android:textSize="15sp" />
        </LinearLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:background="@color/white"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/dp_10"
                android:layout_marginRight="38dp"
                android:text="@string/ka_mobile"
                android:textColor="@color/default_text_color"
                android:textSize="15sp" />

            <TextView
                android:id="@+id/tv_ka_mobile"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="left"
                android:layout_marginRight="15dp"
                android:text="@{presenter.data.mobile}"
                android:textSize="15sp" />

        </LinearLayout>

        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="15dp"
            android:layout_marginRight="15dp" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:background="@color/white"
            android:gravity="center_vertical"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/dp_10"
                android:layout_marginRight="38dp"
                android:text="@string/ka_address"
                android:textColor="@color/default_text_color"
                android:textSize="15sp" />

            <TextView
                android:id="@+id/tv_ka_address"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:gravity="left"
                android:layout_marginRight="15dp"
                android:text='@{presenter.data.provinceName+presenter.data.cityName+presenter.data.districtName+presenter.data.address}'
                android:textSize="15sp" />

        </LinearLayout>

    </LinearLayout>
</layout>