Renommage de la vue game.xml en basegame.xml

This commit is contained in:
Bertrand BRUN 2011-02-09 23:29:02 +01:00
parent 47fc940d00
commit a1356e34ef
2 changed files with 4 additions and 5 deletions

View File

@ -14,14 +14,13 @@
<TextView android:id="@+id/wordRemaining" android:text="0/10"
android:textStyle="bold" android:paddingTop="10px"
android:paddingLeft="20px" android:layout_height="wrap_content"
android:layout_width="wrap_content">
android:layout_width="wrap_content" android:paddingRight="5px">
</TextView>
<TextView android:id="@+id/mainWord" android:text="mainWord"
android:textStyle="bold" android:textSize="30dip"
android:layout_weight="1" android:gravity="center"
android:paddingTop="10px" android:layout_height="fill_parent"
android:layout_width="fill_parent">
android:layout_weight="1" android:paddingTop="10px" android:layout_height="fill_parent"
android:layout_width="fill_parent" android:gravity="center_vertical|center_horizontal">
</TextView>
<ImageView android:src="@drawable/aide" android:id="@+id/aideBaseGame"

View File

@ -55,7 +55,7 @@ public class BaseGame extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.game);
setContentView(R.layout.basegame);
// On recupere du PreferenceManager les differentes information dont on a besoin
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);