<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:orientation="vertical">
|
|
<com.dayu.recharge.view.TitleBar
|
android:id="@+id/titleBar"
|
android:layout_width="match_parent"
|
android:layout_height="@dimen/dimen_title_height"
|
android:background="@drawable/title_bar_bg"
|
app:centerText="首页" />
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_gravity="center"
|
android:layout_marginTop="30dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/home_newCard"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="新卡开户"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
|
<TextView
|
android:id="@+id/home_recharge"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="充值"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
|
<TextView
|
android:id="@+id/home_redCard"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="读取卡片"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="50dp"
|
android:layout_gravity="center"
|
android:layout_marginTop="30dp"
|
android:orientation="horizontal">
|
|
<TextView
|
android:id="@+id/home_admin"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="管理系统"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
|
<TextView
|
android:id="@+id/home_parameter"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="参数设置"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
|
<TextView
|
android:id="@+id/home_my"
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:gravity="center"
|
android:text="个人中心"
|
android:textColor="@color/text_selecter"
|
android:textSize="@dimen/home_text_size" />
|
</LinearLayout>
|
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:gravity="bottom|center_horizontal">
|
|
<TextView
|
android:id="@+id/socketState"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_marginBottom="20dp"
|
android:text="已连接数据中心" />
|
</LinearLayout>
|
|
</LinearLayout>
|