artefacts.xml 2.32 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
	<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
7
	    android:id="@+id/body_heading"
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
	    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"	  
		/>
	    
		<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"
34
	    android:id="@+id/body"
35
36
	    android:layout_width="fill_parent"
	    android:layout_height="wrap_content"
37
	    android:layout_below="@+id/body_heading"
38
39
40
41
42
43
44
45
46
47
48
49
50
   	    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"
51
			
52
			/>
53
		<!--  android:groupIndicator="@drawable/expander_group" -->
54
55
56
57
58
59
60
61
62
63
64
		<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>
65
</RelativeLayout>