huangcm
2025-04-09 02d4ce54b909bd733f12e9f3fa4c1b03cf2d6f45
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent">
  
  <RelativeLayout android:layout_height="match_parent" android:layout_width="wrap_content" android:id="@+id/relativeLayout1">
 <TextView 
   android:text="@string/LightsensorTest" 
   android:id="@+id/txtTitle"
   android:textSize= "30dip"
   android:gravity="center"
   android:layout_centerHorizontal="true"
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"/>   
 
    
       
<!-- for Light   --> 
<TextView
   android:id="@+id/Light"
   android:layout_below="@id/txtTitle"
   android:textSize= "25dip"
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:text="@string/Light"
    />
 
    <TextView
        android:id="@+id/txt_sensor_info"
        android:textSize= "20dip"
        android:layout_below="@+id/Light"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"/>
   
    <TextView
        android:id="@+id/txt_sensor_event"
        android:textSize="20dip"
        android:layout_marginTop="30dp"
        android:layout_below="@id/txt_sensor_info"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"/>
      
    <include layout="@xml/control_buttons" android:id="@+id/level_buttons"/>
    
    </RelativeLayout>
  
  
  
</LinearLayout>