• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
2    xmlns:app="http://schemas.android.com/apk/res-auto"
3    xmlns:tools="http://schemas.android.com/tools"
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        <LinearLayout
14            android:layout_width="match_parent"
15            android:layout_height="wrap_content"
16            android:orientation="horizontal">
17
18            <View android:layout_height="match_parent"
19                android:layout_width="0dp"
20                android:layout_weight="1" />
21
22            <ImageButton
23                android:id="@+id/button_start"
24                android:layout_width="wrap_content"
25                android:layout_height="wrap_content"
26                android:tint="@color/button_tint"
27                app:srcCompat="@drawable/ic_play_arrow_black_24dp"
28                android:contentDescription="@string/start" />
29
30        </LinearLayout>
31
32        <FrameLayout
33            android:layout_width="match_parent"
34            android:layout_height="match_parent">
35
36            <LinearLayout
37                android:layout_width="match_parent"
38                android:layout_height="match_parent"
39                android:orientation="vertical">
40
41                <RelativeLayout
42                    android:id="@+id/latency_chart_layout"
43                    android:layout_width="match_parent"
44                    android:visibility="gone"
45                    android:layout_height="0dp"
46                    android:layout_weight="1"
47                    android:layout_margin="5dp"
48                    android:background="@drawable/border">
49
50                    <com.github.mikephil.charting.charts.ScatterChart
51                        android:id="@+id/latency_chart"
52                        android:layout_width="match_parent"
53                        android:layout_height="match_parent"
54                        android:layout_margin="5dp" />
55
56                    <Button
57                        android:id="@+id/button_close_chart"
58                        android:layout_width="wrap_content"
59                        android:layout_height="wrap_content"
60                        android:layout_alignTop="@id/latency_chart"
61                        android:layout_alignEnd="@id/latency_chart"
62                        android:tint="@color/button_tint"
63                        android:layout_margin="5dp"
64                        android:text="@string/close" />
65                </RelativeLayout>
66
67                <TextView
68                    android:id="@+id/txt_log"
69                    android:layout_width="match_parent"
70                    android:layout_height="0dp"
71                    android:layout_weight="1"
72                    android:background="#000000"
73                    android:gravity="bottom"
74                    android:textColor="#ffffff"
75                    android:scrollbars="vertical" />
76
77            </LinearLayout>
78        </FrameLayout>
79    </LinearLayout>
80</FrameLayout>
81