project_files/Android-build/SDL-android-project/res/layout/starting_game.xml
author Xeli
Thu, 14 Jul 2011 15:48:27 +0200
branchhedgeroid
changeset 5424 0627ac9bd878
child 5467 88e25840f532
permissions -rw-r--r--
Layouts for the start local game
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5424
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     1
<?xml version="1.0" encoding="utf-8"?>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     2
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     3
    android:layout_width="fill_parent"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     4
    android:layout_height="fill_parent">
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     5
    <include
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     6
    	layout="@layout/background"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     7
     
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     8
    <ImageView
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
     9
    	android:id="@+id/mapPreview"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    10
    	android:layout_width="256dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    11
    	android:layout_height="128dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    12
    	android:layout_margin="5dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    13
    	android:scaleType="fitXY"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    14
    	android:background="@android:color/transparent"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    15
    	android:src="@drawable/backbutton"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    16
    
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    17
    <Spinner 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    18
       	android:id="@+id/spinMaps"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    19
       	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    20
       	android:layout_width="wrap_content"    
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    21
       	android:layout_below="@id/mapPreview"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    22
       	android:layout_alignRight="@id/mapPreview"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    23
       	android:layout_toRightOf="@+id/txtMap"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    24
    <TextView
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    25
		android:id="@id/txtMap"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    26
		android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    27
		android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    28
		android:text="@string/start_map"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    29
		android:layout_alignTop="@id/spinMaps"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    30
		android:layout_alignBottom="@id/spinMaps"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    31
		android:layout_alignLeft="@id/mapPreview"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    32
		android:gravity="center"/>	
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    33
   	
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    34
    <TableLayout 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    35
       	android:id="@+id/gameOptions" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    36
       	android:layout_height="wrap_content" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    37
       	android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    38
       	android:layout_centerHorizontal="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    39
       	android:layout_toRightOf="@id/mapPreview" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    40
       	android:layout_alignParentRight="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    41
       	android:padding="3dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    42
       	android:layout_margin="5dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    43
       	android:background="@drawable/box"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    44
       	android:stretchColumns="0,2"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    45
       	android:shrinkColumns="1">
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    46
	       	
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    47
       	<TableRow>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    48
        	 <TextView 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    49
		        android:id="@+id/txtGameplay"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    50
		        android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    51
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    52
		        android:text="@string/start_gameplay"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    53
        	<Spinner
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    54
	        	android:id="@+id/spinGameplay"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    55
	        	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    56
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    57
		        />
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    58
		</TableRow>  
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    59
		<TableRow>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    60
		    <TextView 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    61
		        android:id="@+id/txtGamescheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    62
		        android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    63
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    64
		        android:text="@string/start_gamescheme"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    65
		    <Spinner
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    66
		       	android:id="@+id/spinGamescheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    67
		       	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    68
		        android:layout_width="wrap_content"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    69
		    <ImageButton
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    70
		    	android:id="@+id/btnGamescheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    71
		    	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    72
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    73
		        android:background="@drawable/edit"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    74
		        android:adjustViewBounds="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    75
		        android:scaleType="centerInside"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    76
		        android:layout_gravity="center"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    77
		        android:padding="3dip"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    78
		 </TableRow>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    79
		 <TableRow>    
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    80
		     <TextView 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    81
		        android:id="@+id/txtweapons"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    82
		        android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    83
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    84
		        android:layout_below="@id/txtGamescheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    85
		        android:layout_marginTop="5dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    86
		        android:text="@string/start_weapons"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    87
	        
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    88
	        <Spinner
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    89
	        	android:id="@+id/spinweapons"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    90
	        	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    91
		        android:layout_width="wrap_content"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    92
		    
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    93
		    <ImageButton
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    94
		    	android:id="@+id/btnweapons"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    95
		    	android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    96
		        android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    97
		        android:background="@drawable/edit"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    98
		        android:adjustViewBounds="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
    99
		        android:scaleType="centerInside"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   100
		        android:layout_gravity="center"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   101
		        android:padding="3dip"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   102
        </TableRow>	
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   103
    </TableLayout>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   104
        
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   105
    <ImageView 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   106
       	android:id="@+id/imgTheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   107
       	android:layout_height="wrap_content" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   108
       	android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   109
       	android:layout_alignTop="@+id/spinTheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   110
       	android:layout_alignBottom="@id/spinTheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   111
       	android:layout_alignLeft="@id/gameOptions"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   112
       	android:adjustViewBounds="true"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   113
       
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   114
    <Spinner
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   115
        android:id="@id/spinTheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   116
        android:layout_height="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   117
        android:layout_width="wrap_content" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   118
        android:layout_toRightOf="@+id/imgTheme"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   119
        android:layout_alignParentRight="true" 
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   120
        android:layout_above="@+id/btnStart"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   121
       	android:layout_below="@id/gameOptions"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   122
        
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   123
    <ImageButton
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   124
    	android:id="@+id/btnBack"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   125
    	android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   126
    	android:layout_height="50dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   127
    	android:layout_alignParentBottom="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   128
    	android:layout_alignParentLeft="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   129
    	android:adjustViewBounds="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   130
    	android:scaleType="centerInside"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   131
    	android:background="@android:color/transparent"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   132
    	android:src="@drawable/backbutton"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   133
    	
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   134
    <ImageButton
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   135
    	android:id="@+id/btnStart"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   136
    	android:layout_width="wrap_content"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   137
    	android:layout_height="50dip"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   138
    	android:layout_alignParentBottom="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   139
    	android:layout_alignParentRight="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   140
    	android:adjustViewBounds="true"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   141
    	android:scaleType="centerInside"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   142
    	android:background="@android:color/transparent"
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   143
    	android:src="@drawable/startgamebutton"/>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   144
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   145
</RelativeLayout>
0627ac9bd878 Layouts for the start local game
Xeli
parents:
diff changeset
   146