artefacts.xml 4.1 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
3
4
5
6
7
8
9
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
	<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:id="@+id/top"
10
11
		android:layout_gravity="left"
   	    android:padding="10dp"	  
12
13
14
	    >
	   	<ImageView
			android:id="@+id/banner"
15
			android:layout_width="wrap_content"
16
17
18
19
			android:layout_height="wrap_content"
			android:src="@drawable/banner"
		/>
	</RelativeLayout>
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
	<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:id="@+id/gradient"
   		android:layout_below="@+id/top"
   		android:background="@drawable/gradient"
	    >
	</RelativeLayout>
	<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:id="@+id/middle"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:layout_below="@+id/gradient"
	    android:layout_marginLeft="10dp"
	    android:layout_marginRight="10dp"
	    android:layout_marginBottom="10dp"
	    android:layout_marginTop="0dp"
	    >
	
		<TextView android:id="@+id/banner_text"
			android:text="@string/artefacts_banner_text"
			android:layout_width="wrap_content" 
			android:singleLine="false" 
			android:layout_height="wrap_content" 
			android:textStyle="bold" 
			style="@android:style/TextAppearance.Large"
			android:layout_below="@+id/banner"
47
		/>
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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
114
115
116
		<TextView android:id="@+id/banner_text2"
			android:text="@string/artefacts_banner_text2"
			android:layout_width="fill_parent" 
			android:singleLine="false" 
			android:layout_height="wrap_content" 
			style="@android:style/TextAppearance.Small"
			android:layout_below="@+id/banner_text"
		  />
	</RelativeLayout>
	<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	    android:id="@+id/bottom_heading"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    style="@style/headerBackground"
	    android:layout_below="@+id/middle"
	    >			  
   	   	<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"	  
		/>
	    
		<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_below="@+id/banner_text2"
	   	    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/bottom"
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
	    android:layout_below="@+id/bottom_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:visibility="gone"
			android:headerDividersEnabled="true"
			android:footerDividersEnabled="true"
			android:groupIndicator="@drawable/expander_group"
			/>
		<TextView android:id="@+id/no_saved_artefacts"
			      android:text="@string/artefacts_no_saved_artefacts"
				  android:layout_margin="0dp"
				  android:layout_width="fill_parent" 
				  android:singleLine="true" 
				  android:layout_height="wrap_content" 
		 		  style="@android:style/TextAppearance.Small"
		 		  android:layout_below="@+id/listView"
		  		  android:visibility="gone"
				  />
	</RelativeLayout>
117
</RelativeLayout>