| <?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:fitsSystemWindows="true" |
| android:orientation="vertical"> |
| |
| |
| <android.support.v7.widget.Toolbar |
| android:id="@+id/toolbarId" |
| android:minHeight="?attr/actionBarSize" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| app:titleTextColor="@android:color/white" |
| android:background="?attr/colorPrimary"> |
| |
| <Button |
| android:id="@+id/saveButtonId" |
| android:text="SAVE" |
| android:textColor="#FFFFFF" |
| android:textSize="12sp" |
| android:layout_height="wrap_content" |
| android:layout_width="wrap_content" |
| android:layout_gravity="right" |
| android:background="@drawable/buttonshape_chart" |
| > |
| </Button> |
| |
| </android.support.v7.widget.Toolbar> |
| |
| |
| <com.github.mikephil.charting.charts.HorizontalBarChart |
| android:id="@+id/chartId" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| /> |
| |
| </LinearLayout> |