1<?xml version="1.0" encoding="utf-8"?> 2<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:id="@+id/latency_chart_layout" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 android:layout_margin="5dp" 7 android:background="@drawable/border"> 8 <com.github.mikephil.charting.charts.BarChart 9 android:id="@+id/bar_chart" 10 android:layout_width="match_parent" 11 android:layout_height="match_parent" 12 android:layout_margin="10dp" 13 android:gravity="bottom" /> 14 <Button 15 android:id="@+id/button_close_bar_chart" 16 android:layout_width="wrap_content" 17 android:layout_height="wrap_content" 18 android:layout_alignTop="@id/bar_chart" 19 android:layout_alignEnd="@id/bar_chart" 20 android:tint="@color/button_tint" 21 android:layout_margin="5dp" 22 android:text="@string/close" /> 23</RelativeLayout> 24