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
  • item_detail_server_info.xml
Find file
Normal viewHistoryPermalink
item_detail_server_info.xml 1.86 KB
Edit
Newer Older
罗翻's avatar
新增多任务
493772ab
 
罗翻 committed 6 years 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
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android">

    <data>

        <variable
            name="item"
            type="com.dayu.order.api.protocol.Spu" />
    </data>


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginRight="15dp"
        android:orientation="horizontal">

        <LinearLayout
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1">

            <TextView
                android:id="@+id/tv_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:text='@{item.kaSpuName}'
                android:maxLines="1"
                android:maxEms="12"
                android:textColor="@color/cl_home_title_text_color"
                android:textSize="14sp" />

            <TextView
mReturn's avatar
工单优化
3e0b61f3
 
mReturn committed 5 years ago
35
                android:visibility="gone"
罗翻's avatar
新增多任务
493772ab
 
罗翻 committed 6 years ago
36 37 38 39 40 41 42 43 44 45 46 47
                android:id="@+id/tv_num"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:ellipsize="end"
                android:text='@{"x"+item.goodNum}'
                android:paddingLeft="3dp"
                android:textColor="@color/cl_home_title_text_color"
                android:textSize="14sp" />

        </LinearLayout>

        <TextView
mReturn's avatar
order
fcdebea6
 
mReturn committed 5 years ago
48
            android:visibility="gone"
罗翻's avatar
新增多任务
493772ab
 
罗翻 committed 6 years ago
49 50 51 52
            android:id="@+id/tv_server"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginBottom="18dp"
罗翻's avatar
处理工单前增加活体检测
242a5793
 
罗翻 committed 6 years ago
53
            android:text="@string/order_instruction"
罗翻's avatar
新增多任务
493772ab
 
罗翻 committed 6 years ago
54 55 56 57
            android:textColor="@color/bg_button"
            android:textSize="14sp" />
    </LinearLayout>
</layout>