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
  • userCenter
  • src
  • main
  • res
  • layout
  • item_account_balance_layout.xml
Find file
Normal viewHistoryPermalink
item_account_balance_layout.xml 2.08 KB
Newer Older
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
1
<?xml version="1.0" encoding="utf-8"?>
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
2 3 4 5 6 7
<layout>

    <data>

        <variable
            name="item"
罗翻's avatar
完善用户模块
279c9f45
 
罗翻 committed 7 years ago
8
            type="com.dayu.usercenter.data.protocol.AccountBalance" />
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
9 10 11
    </data>

    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
12 13 14
        android:layout_width="match_parent"
        android:layout_height="74dp"
        android:orientation="horizontal">
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
15

罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
16 17 18 19
        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_alignParentTop="true"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
20
            android:background="@color/cl_order_item_line_bg" />
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
21

罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
22
        <LinearLayout
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
23 24
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
25 26
            android:layout_centerVertical="true"
            android:layout_marginLeft="@dimen/dp_16.7"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
27
            android:orientation="vertical">
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
28 29 30 31 32 33 34

            <TextView
                android:id="@+id/item_tv_accout_source"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@{item.operateActionComment}"
                android:textColor="#3a3a3a"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
35
                android:textSize="16sp" />
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
36 37 38 39 40 41

            <TextView
                android:id="@+id/item_tv_accout_time"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@{item.createTime}"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
42
                android:textSize="13.3sp" />
罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
43
        </LinearLayout>
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
44 45


罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
46 47 48 49 50 51 52 53 54 55
        <TextView
            android:id="@+id/item_tv_accout_balance"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:layout_marginRight="@dimen/dp_16.7"
            android:gravity="end"
            android:text='@{item.streamPrice>0?"+"+item.streamPrice:item.streamPrice+""}'
            android:textColor="@{item.streamPrice>0?@color/cl_tab_yellow:@color/cl_order_text_title}"
罗翻's avatar
抽离出baselibrary,新建provider作为中间件
00356c56
 
罗翻 committed 7 years ago
56
            android:textSize="20sp" />
罗翻's avatar
android v1.01版本
d3d91e57
 
罗翻 committed 7 years ago
57 58


罗翻's avatar
增加订单相关错误码,账户列表使用lrecyclerview
1c7c3e96
 
罗翻 committed 7 years ago
59 60
    </RelativeLayout>
</layout>