<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ffffff">
<TextView
android:id="@+id/chart_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="10dp"
android:text="示例图"/>
<TextView
android:id="@+id/chart_show_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:padding="10dp"
android:text="显示"/>
<com.github.mikephil.charting.charts.CombinedChart
android:id="@+id/chart_combined"
android:layout_width="match_parent"
android:layout_height="300dp"
android:layout_below="@+id/chart_show_text"
android:layout_centerInParent="true"/>
</RelativeLayout>