artefacts.xml 3.23 KB
Newer Older
1
<?xml version="1.0" encoding="utf-8"?>
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
<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:background="#fff"
	    android:id="@+id/top"
	    >
	
	   	<ImageView
			android:id="@+id/banner"
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:padding="2dp"
			android:src="@drawable/banner"
			android:layout_gravity="left"
			android:scaleType="fitStart"
		/>
	</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:paddingBottom="10dp"
    android:layout_below="@+id/top"
    >

	<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" 
		android:layout_margin="5dp"
		style="@android:style/TextAppearance.Large"
		android:layout_below="@+id/banner"
	/>
	  							
	<TextView android:id="@+id/banner_text2"
		android:text="@string/artefacts_banner_text2"
		android:layout_margin="5dp"
45
		android:layout_width="fill_parent" 
46
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
		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"
    android:background="#333"
    android:layout_below="@+id/middle"
    >			  
	<TextView android:id="@+id/saved_artefacts_header"
		android:text="@string/options_menu_viewsaved"
		android:layout_margin="5dp"
		android:layout_width="fill_parent" 
		android:singleLine="true" 
		android:layout_height="wrap_content" 
		style="@android:style/TextAppearance.Medium"
		android:layout_below="@+id/banner_text2"
	/>
</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:background="#000"
    android:layout_below="@+id/bottom_heading"
    >			  
	<ExpandableListView android:id="@+id/listView"
77
78
79
		android:scrollbars="none"
		android:choiceMode="multipleChoice"
		android:fastScrollEnabled="true"
80
81
82
83
84
		android:layout_below="@+id/saved_artefacts_header"
	    android:layout_weight="1"
		android:layout_width="fill_parent"
		android:layout_height="fill_parent"
		android:visibility="gone"
85
		/>
86
87
88
89
90
91
92
93
94
95
96
97
	<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>
</RelativeLayout>