<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/background">
    <include layout="@layout/action_bar"/>    
 	
  	<RelativeLayout android:layout_below="@id/actionBarLayout" android:id="@+id/courseNameLayout"
        android:layout_height="wrap_content" android:layout_width="fill_parent">
        <include layout="@layout/course_or_group_name" />
    </RelativeLayout>
 	
 	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
		android:id="@+id/testMakeStem"
    	android:orientation="horizontal"
    	android:layout_width="match_parent"
    	android:layout_height="wrap_content"
		android:layout_below="@+id/courseNameLayout"
		android:weightSum="1.0"
		android:gravity="center"
    	android:background="@android:color/transparent">
		<TextView
			android:id="@+id/testMakeQuestionScore"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="0.2"
			android:padding="1dip"
			android:gravity="center"
			android:textColor="@color/foreground1"
			android:textStyle="bold"
			android:textSize="20sp"
			android:visibility="gone"/>
			
		<TextView
			android:id="@+id/testMakeText"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="0.8"
			android:padding="1dip"
			android:textColor="@color/foreground1"/>
	</LinearLayout>
		
	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
		android:id="@+id/testMakeAnswer"
    	android:orientation="horizontal"
    	android:layout_width="match_parent"
    	android:layout_height="wrap_content"
		android:layout_below="@+id/testMakeStem"
		android:gravity="center"
		android:weightSum="1.0"
    	android:background="@android:color/transparent">
    	
    	<ImageView
    		android:id="@+id/testMakeCorrectAnswerImage"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="0.2"
			android:visibility="gone"/>
 
		<EditText
			android:id="@+id/testMakeEditText"
			android:layout_width="0dip"
			android:layout_height="wrap_content"
			android:layout_weight="0.8"
			android:textColor="@color/foreground1"
			android:visibility="gone"/>   
	</LinearLayout>
 
	<TextView
		android:id="@+id/testMakeCorrectAnswer"
		android:layout_width="match_parent"
		android:layout_height="wrap_content"
		android:gravity="center"
		android:layout_below="@+id/testMakeAnswer"
		android:textColor="@color/foreground1"
		android:visibility="gone"/> 
		
    <ListView
	    android:id="@+id/testMakeList"
    	android:layout_width="match_parent"
    	android:layout_height="wrap_content"
		android:layout_below="@+id/testMakeStem"
		android:layout_above="@+id/testMakeBottomBar"
    	android:background="@android:color/transparent"
    	android:cacheColorHint="@color/background"
		android:visibility="gone">
    </ListView>
    
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
		android:id="@+id/testMakeBottomBar"
    	android:orientation="horizontal"
	    android:layout_alignParentBottom="true"
    	android:layout_width="match_parent"
    	android:layout_height="wrap_content"
    	android:background="@android:color/transparent">
    	
    	<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
			android:id="@+id/testMakeBottomBar"
	    	android:orientation="horizontal"
		    android:gravity="center_vertical"
	    	android:layout_width="match_parent"
	    	android:layout_height="wrap_content"
			android:weightSum="1.0"
	    	android:background="@android:color/transparent">
   
			<Button 
			  android:id="@+id/testMakePrevButton"
			  android:layout_width="0dip"
			  android:layout_height="wrap_content"
			  android:layout_weight="0.1"
	          android:background="@drawable/back"/>
	          
	        <es.ugr.swad.swadroid.widget.TextProgressBar
			  android:id="@+id/test_questions_bar"
			  android:layout_width="0dip"
			  android:layout_height="wrap_content"
			  android:layout_weight="0.8"
			  style="?android:attr/progressBarStyleHorizontal"/>
		   
			<Button 
			  android:id="@+id/testMakeNextButton"
			  android:layout_width="0dip"
			  android:layout_height="wrap_content"
			  android:layout_weight="0.1"
	          android:background="@drawable/forward"/>
          </LinearLayout>
	  </RelativeLayout>
</RelativeLayout>
