zftlive/res/layout/activity_line_chart.xml

83 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/ll_root"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@color/white"
android:orientation="vertical" >
<!-- 标题栏 -->
<LinearLayout
android:id="@+id/ll_title"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@color/red"
android:gravity="center_vertical"
android:orientation="horizontal"
android:paddingBottom="8dp"
android:paddingTop="8dp" >
<Button
android:id="@+id/back_btn"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:background="@color/red"
android:text="返回"
android:textColor="@color/white"
android:visibility="invisible" />
<TextView
android:id="@+id/title_text"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="3"
android:clickable="true"
android:ellipsize="marquee"
android:focusable="true"
android:focusableInTouchMode="true"
android:gravity="center"
android:text="收益率曲线"
android:textColor="@color/white"
android:textSize="20sp"
android:visibility="visible" />
<Button
android:id="@+id/refresh_btn"
android:layout_width="0dip"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:background="@color/red"
android:visibility="invisible" />
</LinearLayout>
<!-- 图表曲线 -->
<LinearLayout
android:id="@+id/ll_chat"
android:layout_width="match_parent"
android:layout_height="0dip"
android:layout_marginBottom="5dp"
android:layout_marginLeft="2dp"
android:layout_marginRight="2dp"
android:layout_marginTop="5dp"
android:layout_weight="1.3"
android:gravity="center"
android:orientation="vertical" >
</LinearLayout>
<LinearLayout
android:id="@+id/ll_blank"
android:layout_width="fill_parent"
android:layout_height="0dip"
android:layout_weight="1"
android:background="@color/blanchedalmond"
android:orientation="vertical" >
</LinearLayout>
</LinearLayout>