Changeset 5d9e7bb in advance-wars


Ignore:
Timestamp:
Jan 19, 2011, 6:46:17 PM (14 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
2e798d9
Parents:
9b1f66b
Message:

Added lots of code from the android blackjack project.

Files:
5 added
3 edited

Legend:

Unmodified
Added
Removed
  • AndroidManifest.xml

    r9b1f66b r5d9e7bb  
    55      android:versionName="1.0">
    66    <application android:icon="@drawable/icon" android:label="@string/app_name">
    7         <activity android:name=".advancewars"
     7        <activity android:name=".Game"
    88                  android:label="@string/app_name">
    99            <intent-filter>
  • res/layout/main.xml

    r9b1f66b r5d9e7bb  
    11<?xml version="1.0" encoding="utf-8"?>
    2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    3     android:orientation="vertical"
    4     android:layout_width="fill_parent"
    5     android:layout_height="fill_parent"
    6     >
    7 <TextView
    8     android:layout_width="fill_parent"
    9     android:layout_height="wrap_content"
    10     android:text="@string/hello"
    11     />
    12 </LinearLayout>
     2<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
     3        android:layout_width="fill_parent"
     4        android:layout_height="fill_parent">
     5        <com.example.advancewars.GameView android:id="@+id/lunar"
     6                android:layout_width="fill_parent"
     7                android:layout_height="fill_parent" />
     8        <RelativeLayout android:layout_width="fill_parent"
     9                android:layout_height="fill_parent">
     10                <TextView android:id="@+id/text" android:visibility="visible" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:gravity="center_horizontal" android:textColor="#88ffffff" android:textSize="24sp" />
     11        </RelativeLayout>
     12</FrameLayout>
  • res/values/strings.xml

    r9b1f66b r5d9e7bb  
    33    <string name="hello">Hello World, advancewars!</string>
    44    <string name="app_name"></string>
     5    <string name="menu_exit">Exit</string>
    56</resources>
Note: See TracChangeset for help on using the changeset viewer.