mirror of
				https://github.com/bspeice/itcs4180
				synced 2025-11-03 18:00:37 -05:00 
			
		
		
		
	Functionality for HW3. Tried to seperate Tile class and MainActivity.
Has 2 issues. First is that a completed row has the Tile ImageViews change size and second is that finish()does not properly close the entire application.
This commit is contained in:
		@ -194,7 +194,8 @@
 | 
			
		||||
            android:layout_width="0dp"
 | 
			
		||||
            android:layout_height="40dp"
 | 
			
		||||
            android:layout_weight="1"
 | 
			
		||||
            android:text="@string/btnNewGame" />
 | 
			
		||||
            android:text="@string/btnNewGame" 
 | 
			
		||||
            android:onClick="newGame"/>
 | 
			
		||||
 | 
			
		||||
        <Button
 | 
			
		||||
            android:id="@+id/btnUnCover"
 | 
			
		||||
@ -202,7 +203,8 @@
 | 
			
		||||
            android:layout_width="0dp"
 | 
			
		||||
            android:layout_height="40dp"
 | 
			
		||||
            android:layout_weight="1"
 | 
			
		||||
            android:text="@string/btnUnCover" />
 | 
			
		||||
            android:text="@string/btnUnCover" 
 | 
			
		||||
            android:onClick="uncover" />
 | 
			
		||||
    </LinearLayout>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
@ -3,5 +3,7 @@
 | 
			
		||||
    <!-- Default screen margins, per the Android Design guidelines. -->
 | 
			
		||||
    <dimen name="activity_horizontal_margin">16dp</dimen>
 | 
			
		||||
    <dimen name="activity_vertical_margin">16dp</dimen>
 | 
			
		||||
    <dimen name="imageHeight">80dp</dimen>
 | 
			
		||||
    <dimen name="imageWidth">80dp</dimen>
 | 
			
		||||
 | 
			
		||||
</resources>
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user