package="org.average.whereami"
android:versionCode="1"
android:versionName="1.0">
+ <supports-screens
+ android:largeScreens="true"/>
<application android:label="@string/app_name" >
<activity android:name="WhereAmI"
android:label="@string/app_name">
+++ /dev/null
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must *NOT* be checked in Version Control Systems,
-# as it contains information specific to your local configuration.
-
-# location of the SDK. This is only used by Ant
-# For customization when using a Version Control System, please read the
-# header note.
-sdk.dir=/export/src/android/android-sdk-linux_86
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
- >
-<TextView
+ android:background="#ffffffff"
+>
+ <TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:text="Hello World, WhereAmI"
- />
+ android:layout_weight="1"
+ android:textColor="#ff000000"
+ android:text="Hello, WhereAmI?!"
+ />
</LinearLayout>
import android.app.Activity;
import android.os.Bundle;
+import android.view.Window;
+import android.view.WindowManager;
public class WhereAmI extends Activity
{
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
+ requestWindowFeature(Window.FEATURE_NO_TITLE);
+ getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
+ getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
setContentView(R.layout.main);
}
}