<?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="match_parent">
<com.github.mikephil.charting.charts.BarChart
android:id="@+id/chart1"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/seekbarValues" />
<SeekBar
android:id="@+id/seekbarValues"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_margin="8dp"
android:layout_marginBottom="35dp"
android:layout_toLeftOf="@+id/tvValueCount"
android:layout_marginRight="5dp"
android:max="8000"
android:paddingBottom="12dp" />
<TextView
android:id="@+id/tvValueCount"
android:layout_width="60dp"
android:layout_height="wrap_content"
android:layout_alignBottom="@+id/seekbarValues"
android:layout_alignParentRight="true"
android:text="0"
android:layout_marginBottom="15dp"
android:layout_marginRight="10dp"
android:gravity="right"
android:textAppearance="?android:attr/textAppearanceMedium" />
</RelativeLayout>