Customize the tutorial_slide3.xml

Extension of the RatingBar by " point" see main menu.
Extension of the headline and the text with Custom Sudoku function.
This commit is contained in:
ErikWaegerle 2020-08-25 16:20:51 +02:00
parent 65d4a11082
commit 36151eff0c
2 changed files with 35 additions and 13 deletions

View file

@ -12,7 +12,6 @@
android:layout_centerVertical="true"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@ -21,18 +20,39 @@
android:textSize="@dimen/slide_title"
android:textStyle="bold" />
<RatingBar
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/difficultyBar"
android:layout_gravity="center_horizontal"
android:isIndicator="true"
android:numStars="4"
android:layout_marginTop="25dp"
android:rating="1"
android:background="?attr/backgroundTutorialStars"
android:stepSize="1"
style="@style/RatingBar"/>
android:text="@string/slide3_heading2"
android:textColor="?attr/lightestFontColor"
android:textSize="@dimen/slide_title"
android:textStyle="bold" />
<LinearLayout
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="match_parent"
android:layout_height="match_parent"
android:background="?attr/backgroundTutorialStars"
android:button="@drawable/create_game_src"
android:clickable="false" />
<RatingBar
android:id="@+id/difficultyBar"
style="@style/RatingBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:isIndicator="true"
android:layout_gravity="center_horizontal"
android:numStars="4"
android:rating="1"
android:background="?attr/backgroundTutorialStars"
android:stepSize="1" />
</LinearLayout>
<TextView
android:layout_width="wrap_content"

View file

@ -157,8 +157,10 @@
<string name="slide2_heading">Game mode</string>
<string name="slide2_text">Swipe or press the arrow buttons on the left and right to change the game mode.</string>
<string name="slide3_heading">Difficulty</string>
<string name="slide3_text">Press or swipe the stars to change the difficulty.</string>
<string name="slide3_heading">Custom Sudoku </string>
<string name="slide3_heading2">and difficulty</string>
<string name="slide3_text">Press or swipe the stars to change the difficulty.
For the Custom Sudoku game mode press the circle.</string>
<string name="next">Next</string>
<string name="skip">Skip</string>