1
0
mirror of https://github.com/bspeice/itcs4180 synced 2025-07-02 06:16:48 -04: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:
tokugawa
2014-02-24 19:20:43 -05:00
parent 05dfaa8ebf
commit 0a80acace1
5 changed files with 222 additions and 5 deletions

View File

@ -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>

View File

@ -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>