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.ScatterChart 7 android:id="@+id/chart1" 8 android:layout_width="match_parent" 9 android:layout_height="match_parent" 10 android:layout_above="@+id/seekBar1" /> 11 12 <SeekBar 13 android:id="@+id/seekBar2" 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_toLeftOf="@+id/tvYMax" 20 android:layout_marginRight="5dp" 21 android:max="200" 22 android:paddingBottom="12dp" /> 23 24 <SeekBar 25 android:id="@+id/seekBar1" 26 android:layout_width="match_parent" 27 android:layout_height="wrap_content" 28 android:layout_above="@+id/seekBar2" 29 android:layout_margin="8dp" 30 android:layout_marginBottom="35dp" 31 android:layout_toLeftOf="@+id/tvXMax" 32 android:layout_marginRight="5dp" 33 android:max="500" 34 android:paddingBottom="12dp" /> 35 36 <TextView 37 android:id="@+id/tvXMax" 38 android:layout_width="50dp" 39 android:layout_height="wrap_content" 40 android:layout_alignBottom="@+id/seekBar1" 41 android:layout_alignParentRight="true" 42 android:text="@string/dash" 43 android:layout_marginBottom="15dp" 44 android:layout_marginRight="10dp" 45 android:gravity="right" 46 android:textAppearance="?android:attr/textAppearanceMedium" /> 47 48 <TextView 49 android:id="@+id/tvYMax" 50 android:layout_width="50dp" 51 android:layout_height="wrap_content" 52 android:layout_alignBottom="@+id/seekBar2" 53 android:layout_alignParentRight="true" 54 android:text="@string/dash" 55 android:layout_marginBottom="15dp" 56 android:layout_marginRight="10dp" 57 android:gravity="right" 58 android:textAppearance="?android:attr/textAppearanceMedium" /> 59 60</RelativeLayout> 61