1<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" 2 xmlns:tools="http://schemas.android.com/tools" 3 xmlns:walt="http://schemas.android.com/apk/res-auto" 4 android:layout_width="match_parent" 5 android:layout_height="match_parent" 6 tools:context="org.chromium.latency.walt.TapLatencyFragment"> 7 8 <LinearLayout 9 android:layout_width="match_parent" 10 android:layout_height="match_parent" 11 android:orientation="vertical"> 12 13 <RelativeLayout 14 android:layout_width="match_parent" 15 android:layout_height="wrap_content" 16 android:orientation="horizontal"> 17 18 <ImageButton 19 android:id="@+id/button_stop_audio" 20 android:layout_width="wrap_content" 21 android:layout_height="wrap_content" 22 android:layout_alignParentStart="true" 23 android:tint="@color/button_tint" 24 walt:srcCompat="@drawable/ic_stop_black_24dp" 25 android:contentDescription="@string/stop" /> 26 27 <ImageButton 28 android:id="@+id/button_start_audio" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 android:layout_alignParentEnd="true" 32 android:tint="@color/button_tint" 33 walt:srcCompat="@drawable/ic_play_arrow_black_24dp" 34 android:contentDescription="@string/start" /> 35 36 <Spinner 37 android:id="@+id/spinner_audio_mode" 38 android:layout_height="45dp" 39 android:layout_width="fill_parent" 40 android:layout_toEndOf="@id/button_stop_audio" 41 android:layout_toStartOf="@id/button_start_audio" 42 android:prompt="@string/audio_mode"/> 43 44 </RelativeLayout> 45 46 <include 47 android:id="@+id/chart_layout" 48 layout="@layout/line_chart" /> 49 50 <org.chromium.latency.walt.HistogramChart 51 android:id="@+id/latency_chart" 52 android:layout_width="match_parent" 53 android:layout_height="0dp" 54 android:layout_weight="1" 55 android:visibility="gone" 56 walt:description="Latency [ms]" 57 walt:binWidth="0.1" /> 58 59 <!-- For now the results are just listed in this textView --> 60 <TextView 61 android:id="@+id/txt_box_audio" 62 android:layout_width="match_parent" 63 android:layout_height="0dp" 64 android:layout_weight="2" 65 android:background="#aaaaaa" 66 android:gravity="bottom" 67 android:scrollbars="vertical" /> 68 69 </LinearLayout> 70</FrameLayout> 71