artefacts.xml 3.96 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
3
4
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
5
    android:gravity="right" >
6
7
8
9
    
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:id="@+id/introduction"
	    android:orientation="vertical"
10
11
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
12
	    android:padding="2dip"
13
	    style="@style/headerBackground"
14
15
16
17
18
	    android:visibility="visible"
	    >			

    	<ImageView
			android:id="@+id/banner"
19
20
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
21
22
			android:layout_margin="5dp"
			android:src="@drawable/banner"
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
51
52
53

		<TextView android:id="@+id/artefacts_banner_text"
		    		android:text="@string/artefacts_banner_text"
				  android:layout_width="wrap_content" 
				  android:singleLine="false" 
				  android:layout_height="wrap_content" 
				  android:textStyle="bold" 
					android:layout_margin="5dp"
					style="@android:style/TextAppearance.Large"
					android:layout_below="@+id/banner"
				  />
	  							
		<TextView android:id="@+id/artefacts_banner_text2"
		    	android:text="@string/artefacts_banner_text2"
			  android:layout_margin="5dp"
			  android:layout_width="fill_parent" 
			  android:singleLine="false" 
			  android:layout_height="wrap_content" 
	 		  style="@android:style/TextAppearance.Small"
	 		  android:layout_below="@+id/artefacts_banner_text"
			  />

		<TextView android:text="@string/artefacts_help"
			  android:layout_margin="5dp"
			  android:layout_width="fill_parent" 
			  android:singleLine="false" 
			  android:layout_height="wrap_content" 
	 		  style="@android:style/TextAppearance.Small"
  	 		  android:layout_below="@+id/artefacts_banner_text2"
			  />
54
	</RelativeLayout>
55
56
57
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:id="@+id/artefacts"
	    android:orientation="vertical"
58
59
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
	    android:padding="2dip"
	    style="@style/headerBackground"
	    android:visibility="visible"
	    android:layout_below="@+id/introduction"
	    >			
    
		<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
		    android:id="@+id/body_heading"
		    android:layout_width="fill_parent"
		    android:layout_height="wrap_content"
		    style="@style/headerBackground"
		    >			  
	   	   	<ImageView
				android:id="@+id/saved"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:src="@drawable/saved"
				android:layout_gravity="left"
		   	    android:layout_marginLeft="10dp"	  
79
			/>
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
		    
			<TextView android:id="@+id/saved_artefacts_header"
				android:text="@string/options_menu_viewsaved"
				android:layout_width="fill_parent" 
				android:singleLine="true" 
				android:layout_height="wrap_content" 
			    style="@style/headerText"
		   	    android:layout_marginLeft="10dp"	  
		   	    android:gravity="left|bottom"  
		   	    android:layout_toRightOf="@id/saved"
		   	    android:layout_centerInParent="true"
			/>
		</RelativeLayout>
		<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
		    android:id="@+id/body"
		    android:layout_width="fill_parent"
		    android:layout_height="wrap_content"
		    android:layout_below="@+id/body_heading"
	   	    android:layout_margin="5dp"	  
		    >			  
			<ExpandableListView android:id="@+id/listView"
				android:scrollbars="none"
				android:choiceMode="multipleChoice"
				android:fastScrollEnabled="true"
				android:layout_below="@+id/saved_artefacts_header"
			    android:layout_weight="1"
				android:layout_width="fill_parent"
				android:layout_height="fill_parent"
				android:headerDividersEnabled="true"
				android:footerDividersEnabled="true"
				
				/>
			<!--  android:groupIndicator="@drawable/expander_group" -->
		</RelativeLayout>
114
	</RelativeLayout>
115
</RelativeLayout>