1<?xml version="1.0" encoding="utf-8"?> 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_parent" 4 android:layout_height="match_parent"> 5 6 <com.github.mikephil.charting.charts.BarChart 7 android:id="@+id/chart1" 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:layout_above="@+id/seekbarValues" /> 11 12 <SeekBar 13 android:id="@+id/seekbarValues" 14 android:layout_width="match_parent" 15 android:layout_height="wrap_content" 16 android:layout_alignParentBottom="true" 17 android:layout_alignParentLeft="true" 18 android:layout_margin="8dp" 19 android:layout_marginBottom="35dp" 20 android:layout_toLeftOf="@+id/tvValueCount" 21 android:layout_marginRight="5dp" 22 android:max="8000" 23 android:paddingBottom="12dp" /> 24 25 <TextView 26 android:id="@+id/tvValueCount" 27 android:layout_width="60dp" 28 android:layout_height="wrap_content" 29 android:layout_alignBottom="@+id/seekbarValues" 30 android:layout_alignParentRight="true" 31 android:text="@string/dash" 32 android:layout_marginBottom="15dp" 33 android:layout_marginRight="10dp" 34 android:gravity="right" 35 android:textAppearance="?android:attr/textAppearanceMedium" /> 36 37</RelativeLayout> 38