check_word_variant.xml 4.74 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" >
    
	<LinearLayout
	    android:layout_width="match_parent"
	    android:layout_height="wrap_content"
	    android:gravity="center_horizontal"
	    android:orientation="vertical"
	    android:paddingBottom="@dimen/activity_vertical_margin"
	    android:paddingLeft="@dimen/activity_horizontal_margin"
	    android:paddingRight="@dimen/activity_horizontal_margin" >
	    	
15
	    <!-- Back button
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
	    <GridLayout
	       	android:layout_width="wrap_content"
			android:layout_height="wrap_content" 
			android:layout_gravity="left">
			<Button
				android:id="@+id/btn_goBack"
				android:layout_width="wrap_content"
				android:layout_height="match_parent"
				android:drawableLeft="@drawable/ic_undo_black_24dp"
				android:onClick="onBackPressed"
				android:text="@string/goBack"
				android:textColor="#D32F2F"
				android:layout_marginBottom="20dp" 
				android:layout_marginTop="20dp" />
		</GridLayout>
31
		-->
32 33 34 35 36 37 38 39 40
	    <TableLayout
			    android:layout_width="fill_parent"
		    	android:layout_height="wrap_content" > 
		    
			    <TextView
			        style="@style/MainTitle" 
		            android:layout_width="wrap_content"
		            android:layout_height="wrap_content"
		            android:text="Check variant mode"
41 42
		            android:layout_marginBottom="20dp"
		            android:layout_marginTop="40dp"/>
43 44 45 46 47 48
			    <View
			       android:layout_width="match_parent"
			       android:layout_height="0.2dp"
			       android:id="@+id/separator"
			       android:visibility="visible"
			       android:background="@android:color/darker_gray"
49
			       android:layout_marginBottom="35dp"/> 
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
			       
			    <TextView
		        android:id="@+id/maintextView2"
		        style="@style/SecondTitle"
		        android:layout_width="wrap_content"
		        android:layout_height="wrap_content"
		        android:text="Please, read the bold line and check the box if the word is a variant."
		        android:layout_marginBottom="25dp" />
		</TableLayout>
		
	    <TextView
		        android:id="@+id/tv_verif_lexeme"
		        android:layout_width="wrap_content"
		        android:layout_height="wrap_content"
		        android:paddingBottom="20dp"
		        android:text="TextView"
		        android:textSize="30sp"
		        android:textStyle="bold"
68 69 70
		        android:typeface="serif" 
		        android:layout_marginTop="20dp"
	        	android:layout_marginBottom="20dp"/>
71 72 73 74 75

	    <LinearLayout
	        android:id="@+id/ll_variant"
	        android:layout_width="match_parent"
	        android:layout_height="wrap_content"
76 77
	        android:orientation="vertical" 
	        android:textSize="25sp" >
78 79 80 81 82
	    </LinearLayout>
	    
		<LinearLayout
	        android:layout_width="match_parent"
	        android:layout_height="match_parent"
83 84 85
	        android:layout_weight="2"
			android:layout_marginTop="20dp" >
			    
86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
		    <ImageButton
	            android:id="@+id/btn_next"
	            android:layout_width="match_parent"
	            android:layout_height="match_parent"
	            android:layout_weight="3"
	            android:onClick="onNextClick"
	            android:src="@drawable/arrow_circle_o_right" />
		</LinearLayout>
		
		<ImageButton
	        android:id="@+id/btn_validate"
	        android:layout_width="match_parent"
	        android:layout_height="match_parent"
	        android:layout_weight="2"
	        android:onClick="onValidate"
101 102
	        android:src="@drawable/ok_32" 
	        android:layout_marginTop="40dp"/>
103 104 105 106
		
        <LinearLayout 
               android:layout_width="match_parent"
               android:layout_height="wrap_content"
107 108
               android:orientation="horizontal" 
               android:layout_marginTop="40dp" >
109 110 111 112 113
               
               <TextView
                   android:id="@+id/check_line_number"
                   android:layout_width="wrap_content"
                   android:layout_height="wrap_content"
114
                   android:text="0" 
115 116 117 118 119 120 121 122 123 124 125 126 127
                   />
        
               <TextView
                   android:id="@+id/check_total_number"
                   android:layout_width="wrap_content"
                   android:layout_height="wrap_content"
                   android:text=" / " />               
               
               <view class="org.lp20.aikuma.ui.InterleavedSeekBar"
                       style="@android:style/Widget.ProgressBar.Horizontal"
                       android:id="@+id/seek_check_progression"
                       android:layout_width="fill_parent"
                       android:layout_height="wrap_content"
128
                       android:maxHeight="3dp" />
129 130
       </LinearLayout>
	    
131 132
	
	</LinearLayout>
133 134
	
	
135
</ScrollView>