Revision 96a8e632 res/layout/listservernodecell.xml

b/res/layout/listservernodecell.xml
1 1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 
3
    android:orientation="horizontal"
4
    android:layout_width="fill_parent"
5
    android:layout_height="64dip"
6
    >
7
    <ImageView android:id="@+id/icon"
8
        android:layout_width="37px"
9
        android:paddingLeft="0px"
10
        android:paddingRight="0px"
11
        android:paddingTop="0px"
12
        android:layout_marginRight="10px"
13
        android:layout_marginLeft="10px"
14
        android:layout_marginTop="13px"
15
        android:layout_height="37px"
16
        android:src="@drawable/ubuntu_icon" />
17
        
18
    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
19
        android:orientation="vertical"
20
        android:layout_width="fill_parent"
21
        android:layout_height="fill_parent">
22
    
23
        <TableRow>
24
		    <TextView android:id="@+id/label"
25
		        android:layout_width="wrap_content"
26
		        android:layout_height="wrap_content"
27
		        android:layout_marginTop="5px"
28
		        android:textColor="#FFFFFF"
29
		        android:textSize="24sp" />
30
		    <CheckBox android:id="@+id/checkBox1" android:layout_weight="1" android:layout_height="fill_parent" android:layout_width="fill_parent"></CheckBox>
31
        </TableRow>
32
        
33
        <TableRow>
34
		    <TextView android:id="@+id/sublabel"
35
		        android:layout_width="wrap_content"
36
		        android:layout_height="wrap_content"
37
		        android:layout_marginTop="0px"
38
		        android:textColor="#FFFFFF"
39
		        android:text="256 server - CentOS 5.3"
40
		        android:textSize="12sp" />
41
        </TableRow>
42
    </TableLayout>
43
        
44
        
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
	android:orientation="horizontal" android:layout_width="fill_parent"
4
	android:layout_height="64dip">
5
	<ImageView android:id="@+id/icon" android:layout_width="37px"
6
		android:paddingLeft="0px" android:paddingRight="0px"
7
		android:paddingTop="0px" android:layout_marginRight="10px"
8
		android:layout_marginLeft="10px" android:layout_marginTop="13px"
9
		android:layout_height="37px" android:src="@drawable/ubuntu_icon" />
10

  
11
	<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
12
		android:orientation="vertical" android:layout_width="fill_parent"
13
		android:layout_height="fill_parent">
14

  
15
		<TableRow>
16
			<RelativeLayout android:id="@+id/relativeLayout1"
17
				android:layout_width="wrap_content" android:layout_height="wrap_content">
18
				<CheckBox android:layout_width="wrap_content"
19
					android:layout_height="wrap_content" android:layout_centerVertical="true"
20
					android:layout_alignParentRight="true" android:layout_marginRight="10dip"
21
					android:id="@+id/add_node_checkbox" android:focusable="false"></CheckBox>
22
				<TextView android:layout_width="wrap_content" android:id="@+id/label"
23
					android:layout_height="wrap_content" android:textSize="24sp"
24
					android:textColor="#FFFFFF" android:layout_centerVertical="true"
25
					android:layout_alignParentLeft="true" android:layout_marginLeft="16dp"
26
					android:layout_toLeftOf="@+id/checkBox1" android:lines="1"></TextView>
27
			</RelativeLayout>
28
		</TableRow>
29

  
30
		<TableRow>
31
			<TextView android:id="@+id/sublabel" android:layout_width="wrap_content"
32
				android:layout_height="wrap_content" android:layout_marginTop="0px"
33
				android:textColor="#FFFFFF" android:text="256 server - CentOS 5.3"
34
				android:textSize="12sp" />
35
		</TableRow>
36
	</TableLayout>
37

  
38

  
45 39
</LinearLayout>

Also available in: Unified diff