= 5be4fc05cb LevelButton + WorldButton energy now shown
created drawable for empty_energy
redraw star drawable
tick for completed levels on worldButton
2017-02-21 16:00:31 +01:00

63 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/xml_levelbutton_background"
android:layout_margin="10dp">
<TextView
android:id="@+id/levelbutton_textview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"
android:textColor="#000000"
android:textSize="30sp"
android:layout_centerHorizontal="true" />
<LinearLayout
android:orientation="horizontal"
android:layout_width="140dp"
android:layout_height="70dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/currency_star_empty"
android:id="@+id/levelbutton_star1"
android:layout_weight="1" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/currency_star_empty"
android:id="@+id/levelbutton_star2"
android:layout_weight="1" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/currency_star_empty"
android:id="@+id/levelbutton_star3"
android:layout_weight="1" />
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/currency_energy_empty"
android:id="@+id/levelbutton_energy"
android:layout_weight="1" />
</LinearLayout>
<ImageView
android:id="@+id/levelbutton_lock"
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/lock_locked"
android:layout_centerInParent="true"
android:visibility="invisible"
android:layout_weight="1" />
</RelativeLayout>