Statistics
| Branch: | Revision:

root / res / layout / metadatarow.xml @ b2436f98

History | View | Annotate | Download (3.7 kB)

1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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"
65
    android:layout_height="wrap_content"
66
    android:orientation="vertical" >
67

68
    <RelativeLayout
69
        android:layout_width="fill_parent"
70
        android:layout_height="wrap_content" >
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
96
            android:id="@+id/remove"
97
            android:layout_width="wrap_content"
98
            android:layout_height="wrap_content"
99
            android:layout_toRightOf="@id/mvalue"
100
            android:text="Remove" />
101
    </RelativeLayout>
102

103
    <LinearLayout
104
        android:id="@+id/horizontalLine"
105
        android:layout_width="fill_parent"
106
        android:layout_height="2dip"
107
        android:background="#444444" />
108

109
</LinearLayout>
110
-->