[SCORCHED] SF.net SVN: scorched:[3] trunk
Status: Planning
Brought to you by:
zkunath
|
From: <as...@us...> - 2009-02-05 01:10:30
|
Revision: 3
http://scorched.svn.sourceforge.net/scorched/?rev=3&view=rev
Author: asittwo
Date: 2009-02-05 01:10:28 +0000 (Thu, 05 Feb 2009)
Log Message:
-----------
Added title screen image... - asit2
Modified Paths:
--------------
trunk/res/layout/main.xml
trunk/src/com/android/scorch/ScorchedAndroid.java
Added Paths:
-----------
trunk/res/drawable/android.png
trunk/res/drawable/scorchedandroidtemp.png
Added: trunk/res/drawable/android.png
===================================================================
(Binary files differ)
Property changes on: trunk/res/drawable/android.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/res/drawable/scorchedandroidtemp.png
===================================================================
(Binary files differ)
Property changes on: trunk/res/drawable/scorchedandroidtemp.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: trunk/res/layout/main.xml
===================================================================
--- trunk/res/layout/main.xml 2009-02-03 00:05:26 UTC (rev 2)
+++ trunk/res/layout/main.xml 2009-02-05 01:10:28 UTC (rev 3)
@@ -11,18 +11,18 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:id="@+id/TitleText" android:singleLine="true" android:layout_centerHorizontal="true" android:textSize="12pt" android:text="Scorched Android" android:padding="20px"></TextView>
- <LinearLayout
+ <View android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="80px" android:layout_marginLeft="80px" android:layout_marginRight="80px" android:background="@drawable/scorchedandroidtemp" android:layout_marginBottom="210px" android:id="@+id/GameIcon"></View><LinearLayout
android:id="@+id/Buttons" android:layout_width="fill_parent" android:layout_alignParentBottom="true" android:layout_height="200px" android:orientation="vertical">
<Button
android:layout_height="wrap_content"
android:text="New Game"
android:layout_width="fill_parent"
- android:id="@+id/NewGame" android:layout_marginBottom="0px" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:layout_marginTop="20px"></Button><Button
- android:layout_height="wrap_content"
- android:layout_width="fill_parent"
- android:id="@+id/Quit" android:text="Quit" android:layout_marginBottom="0px" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:layout_marginTop="20px"></Button>
+ android:id="@+id/NewGame" android:layout_marginBottom="0px" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:layout_marginTop="20px"></Button>
- </LinearLayout>
+ <Button android:layout_height="wrap_content" android:text="Options" android:layout_width="fill_parent" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:layout_marginTop="20px" android:layout_marginBottom="0px" android:id="@+id/Options"></Button><Button android:layout_width="fill_parent" android:id="@+id/Quit" android:text="Quit" android:layout_marginBottom="0px" android:layout_marginLeft="20px" android:layout_marginRight="20px" android:layout_marginTop="20px" android:layout_height="wrap_content"></Button>
+</LinearLayout>
+
+
</RelativeLayout>
Modified: trunk/src/com/android/scorch/ScorchedAndroid.java
===================================================================
--- trunk/src/com/android/scorch/ScorchedAndroid.java 2009-02-03 00:05:26 UTC (rev 2)
+++ trunk/src/com/android/scorch/ScorchedAndroid.java 2009-02-05 01:10:28 UTC (rev 3)
@@ -29,6 +29,13 @@
}
});
+ Button optionsButton = (Button)findViewById(R.id.Quit);
+ optionsButton.setOnClickListener(new OnClickListener() {
+ public void onClick(View viewParam) {
+
+ }
+ });
+
Button quitButton = (Button)findViewById(R.id.Quit);
quitButton.setOnClickListener(new OnClickListener() {
public void onClick(View viewParam) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|