From 382b479bbddb1733c98bbfe79711a677ae82c392 Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet <> Date: Fri, 3 Apr 2009 17:49:02 -0700 Subject: [PATCH] AI 144567: am: CL 144565 Improve the JetBoy samples - use theme instead of window feature to remove titlebar - remove useless Layouts - Make custom view works in layout editor. - remove some warnings Original author: xav Merged from: //branches/cupcake/... Automated import of CL 144567 --- samples/JetBoy/AndroidManifest.xml | 63 +++++----- samples/JetBoy/res/layout/main.xml | 116 ++++-------------- .../com/example/android/jetboy/JetBoy.java | 10 +- .../example/android/jetboy/JetBoyView.java | 66 +++++----- 4 files changed, 94 insertions(+), 161 deletions(-) diff --git a/samples/JetBoy/AndroidManifest.xml b/samples/JetBoy/AndroidManifest.xml index ccd3518f1..bba069d4c 100755 --- a/samples/JetBoy/AndroidManifest.xml +++ b/samples/JetBoy/AndroidManifest.xml @@ -1,38 +1,37 @@ - - - + used by the system to determine how to start the application and + integrate it with the rest of the system. --> - - - - - - - - - - \ No newline at end of file + package="com.example.android.jetboy" android:versionCode="1" + android:versionName="1.0.0"> + + + + + + + + + + diff --git a/samples/JetBoy/res/layout/main.xml b/samples/JetBoy/res/layout/main.xml index b5309db53..ea2277f71 100755 --- a/samples/JetBoy/res/layout/main.xml +++ b/samples/JetBoy/res/layout/main.xml @@ -1,93 +1,31 @@ - - - - - - - - - - - - - - - + android:layout_width="fill_parent" + android:layout_height="fill_parent"> - - - - - - - - - - - - - - - + + + + +