First Tutorial added

This commit is contained in:
=
2017-03-17 16:03:39 +01:00
parent b4783cdb17
commit 27a41a44d7
166 changed files with 4673 additions and 7837 deletions

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/topbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -24,14 +23,14 @@
android:layout_height="wrap_content"
android:text="Level: 1"
android:textColor="#000000"
android:textSize="25sp" />
android:textSize="25sp"/>
<ProgressBar
android:id="@+id/topbar_levelprogress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:progress="50" />
android:progress="50"/>
</LinearLayout>
@ -41,7 +40,7 @@
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_toEndOf="@id/topbar_levellayout"
android:background="@drawable/currency_star" />
android:background="@drawable/currency_star"/>
<ImageView
android:layout_width="40dp"
@ -52,17 +51,17 @@
android:layout_toEndOf="@+id/topbar_starcount"
android:layout_marginLeft="20dp"
android:layout_marginStart="20dp"
android:id="@+id/topbar_energyview" />
android:id="@+id/topbar_energyview"/>
<TextView
android:id="@+id/topbar_starcount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toEndOf="@+id/topbar_starview"
android:text="100"
android:textColor="#000000"
android:textSize="25sp" />
android:id="@+id/topbar_starcount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toEndOf="@+id/topbar_starview"
android:text="100"
android:textColor="#000000"
android:textSize="25sp"/>
<TextView
android:id="@+id/topbar_energycount"
@ -72,7 +71,7 @@
android:layout_toEndOf="@+id/topbar_energyview"
android:text="100"
android:textColor="#000000"
android:textSize="25sp" />
android:textSize="25sp"/>
<ToggleButton
android:id="@+id/topbar_soundtoggle"
@ -82,19 +81,19 @@
android:layout_centerVertical="true"
android:layout_margin="5dp"
android:layout_toStartOf="@+id/topbar_toolshop"
android:background="@drawable/xml_sound_toggle"
android:background="@drawable/xml_selector_sound"
android:textOff=""
android:textOn="" />
android:textOn=""/>
<Button
android:id="@+id/topbar_toolshop"
style="@style/customButton"
style="@style/GameButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_centerVertical="true"
android:layout_marginRight="5dp"
android:text="Tool-Shop" />
android:text="Tool-Shop"/>
<TextView
android:id="@+id/topbar_starcount_decrease"
@ -105,11 +104,11 @@
android:textColor="#000000"
android:textSize="20sp"
android:layout_centerVertical="true"
android:layout_alignEnd="@+id/topbar_starcount" />
android:layout_alignEnd="@+id/topbar_starcount"/>
<Button
android:id="@+id/topbar_resetButton"
style="@style/customButton"
style="@style/GameButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Reset"
@ -118,7 +117,6 @@
android:layout_alignBaseline="@+id/topbar_soundtoggle"
android:layout_alignBottom="@+id/topbar_soundtoggle"
android:layout_toRightOf="@+id/topbar_energycount"
android:layout_toEndOf="@+id/topbar_energycount" />
android:layout_toEndOf="@+id/topbar_energycount"/>
</RelativeLayout>