• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_start_midi_in"
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_input_black_24dp"
25                android:contentDescription="@string/start_midi_in" />
26
27            <ImageButton
28                android:id="@+id/button_start_midi_out"
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_output_black_24dp"
34                android:contentDescription="@string/start_midi_out" />
35        </RelativeLayout>
36
37        <org.chromium.latency.walt.HistogramChart
38            android:id="@+id/latency_chart"
39            android:layout_width="match_parent"
40            android:layout_height="0dp"
41            android:layout_weight="1"
42            android:visibility="gone"
43            walt:binWidth="0.5" />
44
45        <!-- For now the results are just listed in this textView -->
46        <TextView
47            android:id="@+id/txt_box_midi"
48            android:layout_width="match_parent"
49            android:layout_height="0dp"
50            android:layout_weight="2"
51            android:background="#aaaaaa"
52            android:gravity="bottom"
53            android:scrollbars="vertical" />
54
55    </LinearLayout>
56</FrameLayout>
57