• 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                android:src="@drawable/ic_input_black_24dp" />
25
26            <ImageButton
27                android:id="@+id/button_start_midi_out"
28                android:layout_width="wrap_content"
29                android:layout_height="wrap_content"
30                android:layout_alignParentEnd="true"
31                android:tint="@color/button_tint"
32                android:src="@drawable/ic_output_black_24dp" />
33        </RelativeLayout>
34
35        <org.chromium.latency.walt.HistogramChart
36            android:id="@+id/latency_chart"
37            android:layout_width="match_parent"
38            android:layout_height="0dp"
39            android:layout_weight="1"
40            android:visibility="gone"
41            walt:binWidth="0.5" />
42
43        <!-- For now the results are just listed in this textView -->
44        <TextView
45            android:id="@+id/txt_box_midi"
46            android:layout_width="match_parent"
47            android:layout_height="0dp"
48            android:layout_weight="2"
49            android:background="#aaaaaa"
50            android:gravity="bottom"
51            android:scrollbars="vertical" />
52
53    </LinearLayout>
54</FrameLayout>
55