Revision b2436f98 res/layout/metadatarow.xml

b/res/layout/metadatarow.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2 2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3
    android:layout_width="fill_parent"
4
    android:layout_height="64dip"
5
    android:orientation="vertical" >
6

  
7
    <RelativeLayout
8
        xmlns:android="http://schemas.android.com/apk/res/android"
9
        android:layout_width="fill_parent"
10
        android:layout_height="fill_parent"
11
        android:orientation="horizontal" >
12

  
13
        <TableLayout
14
            xmlns:android="http://schemas.android.com/apk/res/android"
15
            android:id="@+id/table"
16
            android:layout_width="fill_parent"
17
            android:layout_height="fill_parent"
18
            android:layout_marginRight="64dip"
19
            android:orientation="vertical" >
20

  
21
            <TableRow >
22

  
23
                <TextView
24
                    android:id="@+id/mkey"
25
                    android:layout_width="wrap_content"
26
                    android:layout_height="wrap_content"
27
                    android:singleLine="true"
28
                    android:text="PAPALA"
29
                    android:textColor="#FFFFFF"
30
                    android:textSize="24sp" />
31
            </TableRow>
32

  
33
            <TableRow >
34

  
35
                <TextView
36
                    android:id="@+id/mvalue"
37
                    android:layout_width="wrap_content"
38
                    android:layout_height="wrap_content"
39
                    android:singleLine="true"
40
                    android:text="PAPALA2"
41
                    android:textColor="#FFFFFF"
42
                    android:textSize="24sp" />
43
            </TableRow>
44
        </TableLayout>
45

  
46
        <ImageButton
47
            android:id="@+id/remove"
48
            android:layout_width="wrap_content"
49
            android:layout_height="64dip"
50
            android:layout_alignParentRight="true"
51
            android:layout_alignParentTop="true"
52
            android:src="@drawable/deny_rule" />
53
    </RelativeLayout>
54

  
55
    <LinearLayout
56
        android:id="@+id/horizontalLine"
57
        android:layout_width="fill_parent"
58
        android:layout_height="2dip"
59
        android:background="#444444" />
60

  
61
</LinearLayout><!--
62
<?xml version="1.0" encoding="utf-8"?>
63
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
64
    android:layout_width="fill_parent"
4 65
    android:layout_height="wrap_content"
5 66
    android:orientation="vertical" >
67

  
6 68
    <RelativeLayout
7 69
        android:layout_width="fill_parent"
8 70
        android:layout_height="wrap_content" >
9
		<TextView
10
        android:id="@+id/mkey"
11
        android:layout_width="wrap_content"
12
        android:layout_height="wrap_content"
13
        android:layout_weight="1"
14
        android:gravity="left"
15
        android:paddingLeft="8dip"
16
        android:paddingTop="1dip"
17
        android:textColor="#444444"
18
        android:textStyle="bold" />
19
        
20
		<TextView
21
        android:id="@+id/mvalue"
22
        android:layout_width="wrap_content"
23
        android:layout_height="wrap_content"
24
        android:layout_weight="1"
25
        android:gravity="right"
26
        android:paddingLeft="8dip"
27
        android:paddingTop="1dip"
28
        android:textColor="#444444"
29
        android:textStyle="bold" 
30
        android:layout_toRightOf="@id/mkey"/>
31
		
32
		<Button
71

  
72
        <TextView
73
            android:id="@+id/mkey"
74
            android:layout_width="wrap_content"
75
            android:layout_height="wrap_content"
76
            android:layout_weight="1"
77
            android:gravity="left"
78
            android:paddingLeft="8dip"
79
            android:paddingTop="1dip"
80
            android:textColor="#444444"
81
            android:textStyle="bold" />
82

  
83
        <TextView
84
            android:id="@+id/mvalue"
85
            android:layout_width="wrap_content"
86
            android:layout_height="wrap_content"
87
            android:layout_toRightOf="@id/mkey"
88
            android:layout_weight="1"
89
            android:gravity="right"
90
            android:paddingLeft="8dip"
91
            android:paddingTop="1dip"
92
            android:textColor="#444444"
93
            android:textStyle="bold" />
94

  
95
        <Button
33 96
            android:id="@+id/remove"
34 97
            android:layout_width="wrap_content"
35 98
            android:layout_height="wrap_content"
36 99
            android:layout_toRightOf="@id/mvalue"
37 100
            android:text="Remove" />
38
		
39 101
    </RelativeLayout>
40 102

  
41 103
    <LinearLayout
......
44 106
        android:layout_height="2dip"
45 107
        android:background="#444444" />
46 108

  
47
</LinearLayout>
109
</LinearLayout>
110
-->

Also available in: Unified diff