|
@@ -0,0 +1,49 @@
|
|
|
|
|
+<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ tools:context="${relativePackage}.${activityClass}" >
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/textView2"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:text="@string/highScore" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/highScoreTv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentTop="true"
|
|
|
|
|
+ android:layout_marginLeft="14dp"
|
|
|
|
|
+ android:layout_toRightOf="@+id/textView2"
|
|
|
|
|
+ android:text="@string/initialHighScore" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/currentScoreTv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
|
|
+ android:layout_centerVertical="true"
|
|
|
|
|
+ android:text="@string/initialHighScore"
|
|
|
|
|
+ android:textSize="36sp" />
|
|
|
|
|
+
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/resetBtn"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:text="@string/reset" />
|
|
|
|
|
+
|
|
|
|
|
+ <Button
|
|
|
|
|
+ android:id="@+id/playBtn"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_above="@+id/resetBtn"
|
|
|
|
|
+ android:layout_alignParentLeft="true"
|
|
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
|
|
+ android:text="@string/play" />
|
|
|
|
|
+
|
|
|
|
|
+</RelativeLayout>
|