# HG changeset patch # User "Vincent Veronis" # Date 1319497579 -7200 # Node ID 1f746f930962f7f8405ff14c003461ba6c5c2126 # Parent d26b442143f95c5ad5f844ef2afcc25a25a3e0f5 ui : login.java modification of the menu diff -r d26b442143f9 -r 1f746f930962 res/menu/login.xml --- a/res/menu/login.xml Tue Oct 18 12:10:07 2011 +0200 +++ b/res/menu/login.xml Tue Oct 25 01:06:19 2011 +0200 @@ -1,12 +1,8 @@ - - + android:title="@string/login_create_account" + android:icon="@drawable/ic_menu_login" /> Se connecter Pas de connexion internet disponible Configuration des informations dans le menu + Creer un compte Connexion en cours ... diff -r d26b442143f9 -r 1f746f930962 res/values/strings.xml --- a/res/values/strings.xml Tue Oct 18 12:10:07 2011 +0200 +++ b/res/values/strings.xml Tue Oct 25 01:06:19 2011 +0200 @@ -185,6 +185,7 @@ No internet connection found Settings configuration in menu Pending ... + Create account Connecting ... diff -r d26b442143f9 -r 1f746f930962 src/com/beem/project/beem/ui/Login.java --- a/src/com/beem/project/beem/ui/Login.java Tue Oct 18 12:10:07 2011 +0200 +++ b/src/com/beem/project/beem/ui/Login.java Tue Oct 25 01:06:19 2011 +0200 @@ -75,6 +75,7 @@ import com.beem.project.beem.BeemIntent; import com.beem.project.beem.BeemService; import com.beem.project.beem.R; +import com.beem.project.beem.ui.wizard.AccountConfigure; /** * This class is the main Activity for the Beem project. @@ -120,17 +121,14 @@ public final boolean onOptionsItemSelected(MenuItem item) { boolean result; switch (item.getItemId()) { - case R.id.login_menu_settings: - startActivity(new Intent(Login.this, Settings.class)); + case R.id.login_create_account: + startActivity(new Intent(Login.this, AccountConfigure.class)); result = true; break; case R.id.login_menu_about: createAboutDialog(); result = true; break; - case R.id.login_menu_login: - result = true; - break; default: result = false; break;