Licence text.
[ledtester.git] / res / layout / main.xml
blob546744e0a2d9b92dcc5e5226297f483a3bdde047
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3     LED tester for Android platform
4     Copyright (C) 2009 RafaƂ Rzepecki
6     This program is free software: you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation, either version 3 of the License, or
9     (at your option) any later version.
11     This program is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
16     You should have received a copy of the GNU General Public License
17     along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     android:orientation="vertical"
21     android:layout_width="fill_parent"
22     android:layout_height="fill_parent"
23     >
24     <LinearLayout
25         android:orientation="horizontal"
26         android:layout_width="fill_parent"
27         android:layout_height="fill_parent"
28         android:gravity="center"
29         android:layout_weight="1"
30     >
31                 <SeekBar 
32                         android:id="@+id/red" 
33                         android:layout_height="wrap_content" 
34                         android:layout_width="fill_parent"
35                         android:progressDrawable="@drawable/red_progress"
36                         android:max="255"
37                         android:progress="255"
38                 android:layout_weight="1"
39                 />
40                 <TextView
41                         android:id="@+id/red_label"
42                         android:layout_width="40dip"
43                         android:layout_height="wrap_content"
44                         android:layout_margin="5dip"
45                         android:text="255"
46                         android:gravity="right"
47                 />
48         </LinearLayout>
49     <LinearLayout
50         android:orientation="horizontal"
51         android:layout_width="fill_parent"
52         android:layout_height="fill_parent"
53         android:gravity="center"
54         android:layout_weight="1"
55     >
56                 <SeekBar 
57                         android:id="@+id/green" 
58                         android:layout_height="wrap_content" 
59                         android:layout_width="fill_parent"
60                         android:progressDrawable="@drawable/green_progress"
61                         android:max="255"
62                         android:progress="255"
63                 android:layout_weight="1"
64                 />
65                 <TextView
66                         android:id="@+id/green_label"
67                         android:layout_width="40dip"
68                         android:layout_height="wrap_content"
69                         android:layout_margin="5dip"
70                         android:text="255"
71                         android:gravity="right"
72                 />
73         </LinearLayout>
74     <LinearLayout
75         android:orientation="horizontal"
76         android:layout_width="fill_parent"
77         android:layout_height="fill_parent"
78         android:gravity="center"
79         android:layout_weight="1"
80     >
81                 <SeekBar 
82                         android:id="@+id/blue" 
83                         android:layout_height="wrap_content" 
84                         android:layout_width="fill_parent"
85                         android:progressDrawable="@drawable/blue_progress"
86                         android:max="255"
87                         android:progress="255"
88                 android:layout_weight="1"
89                 />
90                 <TextView
91                         android:id="@+id/blue_label"
92                         android:layout_width="40dip"
93                         android:layout_height="wrap_content"
94                         android:layout_margin="5dip"
95                         android:text="255"
96                         android:gravity="right"
97                 />
98         </LinearLayout>
99 </LinearLayout>