artefacts.xml 2.37 KB
Newer Older
1
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="utf-8"?>
<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: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>
</RelativeLayout>