• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3              android:orientation="vertical"
4              android:layout_width="fill_parent"
5              android:layout_height="fill_parent">
6
7    <LinearLayout android:orientation="horizontal"
8                  android:gravity="center"
9                  android:layout_weight="1"
10                  android:layout_width="fill_parent"
11                  android:layout_height="wrap_content">
12
13        <com.androidplot.xy.XYPlot
14                android:id="@+id/aprLevelsPlot"
15                android:layout_width="fill_parent"
16                android:layout_height="fill_parent"
17                android:layout_margin="0dp"
18                android:layout_weight="3"
19                android:layout_marginTop="10px"
20                android:layout_marginLeft="10px"
21                android:layout_marginRight="10px"
22                androidPlot.backgroundPaint.color="#000000"
23                androidPlot.borderPaint.color="#000000"
24                androidplot.renderMode="use_background_thread"
25                androidPlot.title="Levels"
26                androidPlot.titleWidget.labelPaint.textSize="@dimen/title_font_size"
27                androidPlot.domainLabelWidget.labelPaint.textSize="@dimen/domain_label_font_size"
28                androidPlot.rangeLabelWidget.labelPaint.textSize="@dimen/range_label_font_size"
29                androidPlot.graphWidget.backgroundPaint.color="#000000"
30                androidPlot.graphWidget.gridBackgroundPaint.color="#000000"
31                androidPlot.graphWidget.domainGridLinePaint.color="#00000000"
32                androidPlot.graphWidget.domainOriginLinePaint.color="#00000000"
33                androidPlot.graphWidget.domainOriginLabelPaint.color="#00000000"
34                androidPlot.graphWidget.marginTop="20dp"
35                androidPlot.graphWidget.marginLeft="15dp"
36                androidPlot.graphWidget.marginBottom="25dp"
37                androidPlot.graphWidget.marginRight="10dp"
38                androidPlot.graphWidget.rangeLabelPaint.textSize="@dimen/range_tick_label_font_size"
39                androidPlot.graphWidget.rangeOriginLabelPaint.textSize="@dimen/range_tick_label_font_size"
40                androidPlot.graphWidget.domainLabelPaint.textSize="@dimen/domain_tick_label_font_size"
41                androidPlot.graphWidget.domainOriginLabelPaint.textSize="@dimen/domain_tick_label_font_size"
42                androidPlot.legendWidget.textPaint.textSize="10dp"
43                androidPlot.legendWidget.iconSizeMetrics.heightMetric.value="15dp"
44                androidPlot.legendWidget.iconSizeMetrics.widthMetric.value="15dp"
45                androidPlot.legendWidget.heightMetric.value="25dp"
46                />
47        <com.androidplot.xy.XYPlot
48                android:id="@+id/aprHistoryPlot"
49                android:layout_width="fill_parent"
50                android:layout_height="fill_parent"
51                android:layout_margin="0dp"
52                android:layout_weight="1"
53                android:layout_marginTop="10px"
54                android:layout_marginLeft="10px"
55                android:layout_marginRight="10px"
56                androidPlot.backgroundPaint.color="#000000"
57                androidPlot.borderPaint.color="#000000"
58                androidplot.renderMode="use_background_thread"
59                androidPlot.title="History"
60                androidPlot.domainLabel="Domain"
61                androidPlot.rangeLabel="Range"
62                androidPlot.titleWidget.labelPaint.textSize="@dimen/title_font_size"
63                androidPlot.domainLabelWidget.labelPaint.textSize="@dimen/domain_label_font_size"
64                androidPlot.rangeLabelWidget.labelPaint.textSize="@dimen/range_label_font_size"
65                androidPlot.graphWidget.backgroundPaint.color="#000000"
66                androidPlot.graphWidget.gridBackgroundPaint.color="#000000"
67                androidPlot.graphWidget.marginTop="20dp"
68                androidPlot.graphWidget.marginLeft="15dp"
69                androidPlot.graphWidget.marginBottom="25dp"
70                androidPlot.graphWidget.marginRight="10dp"
71                androidPlot.graphWidget.rangeLabelPaint.textSize="@dimen/range_tick_label_font_size"
72                androidPlot.graphWidget.rangeOriginLabelPaint.textSize="@dimen/range_tick_label_font_size"
73                androidPlot.graphWidget.domainLabelPaint.textSize="@dimen/domain_tick_label_font_size"
74                androidPlot.graphWidget.domainOriginLabelPaint.textSize="@dimen/domain_tick_label_font_size"
75                androidPlot.legendWidget.textPaint.textSize="@dimen/legend_text_font_size"
76                androidPlot.legendWidget.iconSizeMetrics.heightMetric.value="15dp"
77                androidPlot.legendWidget.iconSizeMetrics.widthMetric.value="15dp"
78                androidPlot.legendWidget.heightMetric.value="25dp"
79                />
80
81    </LinearLayout>
82
83    <LinearLayout android:orientation="horizontal"
84                  android:gravity="center"
85                  android:layout_width="fill_parent"
86                  android:layout_height="wrap_content">
87        <CheckBox android:id="@+id/hwAccelerationCb"
88                  android:visibility="gone"
89                  android:text="HW Acceleration"
90                  android:layout_width="wrap_content"
91                  android:layout_height="wrap_content"/>
92
93        <CheckBox android:id="@+id/showFpsCb"
94                  android:text="Show FPS"
95                  android:layout_width="wrap_content"
96                  android:layout_height="wrap_content"/>
97    </LinearLayout>
98</LinearLayout>