Adapting the activity_main_menu.xml
A CheckBox was inserted here, as this is better than a button in our case. Finally, the Checkbox was set up as a circle (vector file).
This commit is contained in:
parent
5668b2a33f
commit
77520b0d72
1 changed files with 212 additions and 199 deletions
|
@ -103,15 +103,28 @@
|
||||||
android:text="@string/difficulty_easy"
|
android:text="@string/difficulty_easy"
|
||||||
android:textSize="@dimen/main_text_difficulty"/>
|
android:textSize="@dimen/main_text_difficulty"/>
|
||||||
|
|
||||||
<RatingBar
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<CheckBox
|
||||||
|
android:id="@+id/circleButton"
|
||||||
|
android:layout_width="35dp"
|
||||||
|
android:layout_height="35dp"
|
||||||
|
android:button="@drawable/create_game_src" />
|
||||||
|
|
||||||
|
<RatingBar
|
||||||
android:id="@+id/difficultyBar"
|
android:id="@+id/difficultyBar"
|
||||||
|
style="@style/RatingBar"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
android:layout_gravity="center_horizontal"
|
android:layout_gravity="center_horizontal"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
android:numStars="3"
|
android:numStars="3"
|
||||||
android:rating="1"
|
android:rating="0.5"
|
||||||
android:stepSize="1"
|
android:stepSize="1" />
|
||||||
style="@style/RatingBar"/>
|
</LinearLayout>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
android:textColor="?attr/lightestFontColor"
|
android:textColor="?attr/lightestFontColor"
|
||||||
|
|
Loading…
Reference in a new issue