• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
17    android:layout_width="match_parent"
18    android:layout_height="match_parent"
19    android:gravity="center_horizontal"
20    android:orientation="vertical" >
21
22    <HorizontalScrollView
23        android:layout_width="wrap_content"
24        android:layout_height="wrap_content" >
25
26        <LinearLayout
27            android:id="@+id/spinner_layout"
28            android:layout_width="wrap_content"
29            android:layout_height="wrap_content"
30            android:orientation="horizontal" />
31    </HorizontalScrollView>
32
33    <LinearLayout
34        android:layout_width="match_parent"
35        android:layout_height="0dip"
36        android:layout_weight="1"
37        android:baselineAligned="true"
38        android:orientation="horizontal" >
39
40        <LinearLayout
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:layout_weight="1"
44            android:gravity="center"
45            android:orientation="horizontal" >
46
47            <com.android.test.hwuicompare.MainView
48                android:id="@+id/hardware_view"
49                android:layout_width="@dimen/layer_width"
50                android:layout_height="@dimen/layer_width" />
51        </LinearLayout>
52
53        <LinearLayout
54            android:layout_width="wrap_content"
55            android:layout_height="wrap_content"
56            android:layout_weight="1"
57            android:gravity="center"
58            android:orientation="horizontal" >
59
60            <com.android.test.hwuicompare.MainView
61                android:id="@+id/software_view"
62                android:layout_width="@dimen/layer_width"
63                android:layout_height="@dimen/layer_width" />
64        </LinearLayout>
65    </LinearLayout>
66
67    <ImageView
68        android:id="@+id/compare_image_view"
69        android:layout_width="@dimen/layer_width_double"
70        android:layout_height="@dimen/layer_height_double"
71        android:filter="false" />
72
73    <LinearLayout
74        android:layout_width="match_parent"
75        android:layout_height="wrap_content"
76        android:gravity="center"
77        android:orientation="horizontal" >
78
79        <ImageButton
80            android:id="@+id/previous"
81            android:layout_width="wrap_content"
82            android:layout_height="wrap_content"
83            android:contentDescription="@string/previous_combination"
84            android:src="@android:drawable/ic_media_previous" />
85
86        <ImageButton
87            android:id="@+id/next"
88            android:layout_width="wrap_content"
89            android:layout_height="wrap_content"
90            android:contentDescription="@string/next_combination"
91            android:src="@android:drawable/ic_media_next" />
92
93        <TextView
94            android:id="@+id/current_error"
95            android:layout_width="100dp"
96            android:layout_height="wrap_content"
97            android:gravity="center"
98            android:textAppearance="?android:attr/textAppearanceLarge" />
99
100        <Button
101            android:id="@+id/show_hardware_version"
102            android:layout_width="wrap_content"
103            android:layout_height="wrap_content"
104            android:text="@string/show_hardware_version" />
105
106        <Button
107            android:id="@+id/show_software_version"
108            android:layout_width="wrap_content"
109            android:layout_height="wrap_content"
110            android:text="@string/show_software_version" />
111
112        <Button
113            android:id="@+id/show_error_heatmap"
114            android:layout_width="wrap_content"
115            android:layout_height="wrap_content"
116            android:text="@string/show_error_heatmap" />
117    </LinearLayout>
118
119</LinearLayout>
120