56 lines
1.9 KiB
XML
56 lines
1.9 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/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/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/star_empty"
|
|
android:id="@+id/levelbutton_star3"
|
|
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> |