From bbfd2ed1c26c9839fee5d5e8963bfbe91c744fe1 Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 5 Apr 2010 14:25:50 -0700 Subject: [PATCH] Project-lib sample: set namespace to com.example.android This is a pure namespace refactoring change. Change-Id: I33f5998f876cdc9893d8d45983422ca0e331b3c4 --- samples/TicTacToeLib/AndroidManifest.xml | 2 +- samples/TicTacToeLib/res/layout-land/lib_game.xml | 2 +- samples/TicTacToeLib/res/layout/lib_game.xml | 2 +- .../{ => android}/tictactoe/library/GameActivity.java | 8 ++++---- .../example/{ => android}/tictactoe/library/GameView.java | 2 +- samples/TicTacToeMain/AndroidManifest.xml | 4 ++-- .../com/example/{ => android}/tictactoe/MainActivity.java | 7 ++++--- 7 files changed, 14 insertions(+), 13 deletions(-) rename samples/TicTacToeLib/src/com/example/{ => android}/tictactoe/library/GameActivity.java (94%) rename samples/TicTacToeLib/src/com/example/{ => android}/tictactoe/library/GameView.java (96%) rename samples/TicTacToeMain/src/com/example/{ => android}/tictactoe/MainActivity.java (91%) diff --git a/samples/TicTacToeLib/AndroidManifest.xml b/samples/TicTacToeLib/AndroidManifest.xml index 9772b88c5..db44c0566 100755 --- a/samples/TicTacToeLib/AndroidManifest.xml +++ b/samples/TicTacToeLib/AndroidManifest.xml @@ -16,7 +16,7 @@ --> \ No newline at end of file diff --git a/samples/TicTacToeLib/res/layout-land/lib_game.xml b/samples/TicTacToeLib/res/layout-land/lib_game.xml index c0f5cbab2..9777e02fe 100755 --- a/samples/TicTacToeLib/res/layout-land/lib_game.xml +++ b/samples/TicTacToeLib/res/layout-land/lib_game.xml @@ -22,7 +22,7 @@ android:gravity="center_vertical|center_horizontal" > - - @@ -30,7 +30,7 @@ - + diff --git a/samples/TicTacToeMain/src/com/example/tictactoe/MainActivity.java b/samples/TicTacToeMain/src/com/example/android/tictactoe/MainActivity.java similarity index 91% rename from samples/TicTacToeMain/src/com/example/tictactoe/MainActivity.java rename to samples/TicTacToeMain/src/com/example/android/tictactoe/MainActivity.java index b8d4afeb2..14a90116f 100755 --- a/samples/TicTacToeMain/src/com/example/tictactoe/MainActivity.java +++ b/samples/TicTacToeMain/src/com/example/android/tictactoe/MainActivity.java @@ -13,10 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package com.example.tictactoe; -import com.example.tictactoe.library.GameActivity; -import com.example.tictactoe.library.GameView.State; +package com.example.android.tictactoe; import android.app.Activity; import android.content.Intent; @@ -24,6 +22,9 @@ import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; +import com.example.android.tictactoe.library.GameActivity; +import com.example.android.tictactoe.library.GameView.State; + public class MainActivity extends Activity { /** Called when the activity is first created. */ @Override