Adjust the alignment of the circle check box in the MainActivity layouts

This commit is contained in:
uykek 2020-08-30 11:14:36 +02:00
parent c886c6cae3
commit d63f44b5e6
7 changed files with 248 additions and 209 deletions

View file

@ -1,6 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="35dp" android:width="37dp"
android:height="35dp" android:height="37dp"
android:viewportWidth="24.0" android:viewportWidth="24.0"
android:viewportHeight="24.0"> android:viewportHeight="24.0">
<path <path

View file

@ -1,6 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="35dp" android:width="37dp"
android:height="35dp" android:height="37dp"
android:viewportWidth="24.0" android:viewportWidth="24.0"
android:viewportHeight="24.0"> android:viewportHeight="24.0">
<path <path

View file

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.drawerlayout.widget.DrawerLayout android:id="@+id/drawer_layout_main" <androidx.drawerlayout.widget.DrawerLayout android:id="@+id/drawer_layout_main"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_width="match_parent" android:layout_width="match_parent"
@ -24,8 +23,7 @@
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="parent" app:layout_constraintTop_toBottomOf="parent">
tools:layout_editor_absoluteY="433dp">
</androidx.viewpager.widget.ViewPager> </androidx.viewpager.widget.ViewPager>
@ -76,7 +74,6 @@
android:id="@+id/floatingActionButton" android:id="@+id/floatingActionButton"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="128dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:clickable="true" android:clickable="true"
android:onClick="onClick" android:onClick="onClick"
@ -88,150 +85,144 @@
app:layout_constraintVertical_bias="1.0" app:layout_constraintVertical_bias="1.0"
app:srcCompat="@android:drawable/ic_media_play" /> app:srcCompat="@android:drawable/ic_media_play" />
<androidx.constraintlayout.widget.ConstraintLayout <ImageView
android:id="@+id/linearLayout11" android:id="@+id/statistic_image"
android:layout_width="0dp" android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_marginStart="16dp"
android:layout_marginLeft="16dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="8dp"
android:adjustViewBounds="true"
android:src="@drawable/icon_default_9x9"
app:layout_constraintBottom_toTopOf="@+id/view3"
app:layout_constraintEnd_toStartOf="@id/view"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appbar" />
<TextView
android:id="@+id/first_diff_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center|center_horizontal"
android:text="diffi"
android:textSize="22sp"
app:layout_constraintBottom_toTopOf="@+id/first_diff_bar"
app:layout_constraintEnd_toEndOf="@+id/first_diff_bar"
app:layout_constraintStart_toStartOf="@+id/first_diff_bar"
app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintVertical_bias="1.0" />
<RatingBar
android:id="@+id/first_diff_bar"
style="?android:attr/ratingBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginLeft="8dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:numStars="4"
android:scaleX="1.5"
android:scaleY="1.5"
app:layout_constraintBottom_toBottomOf="@+id/statistic_image"
app:layout_constraintEnd_toStartOf="@+id/view"
app:layout_constraintStart_toEndOf="@+id/statistic_image"
app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintVertical_bias="0.50" />
<View
android:id="@+id/view"
android:layout_width="1dp"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginBottom="8dp" android:layout_marginBottom="8dp"
android:weightSum="5" android:background="?attr/colorPrimary"
android:foregroundGravity="center_vertical"
app:layout_constraintBottom_toTopOf="@+id/view3" app:layout_constraintBottom_toTopOf="@+id/view3"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/appbar"> app:layout_constraintTop_toBottomOf="@+id/appbar" />
<ImageView <TextView
android:id="@+id/statistic_image" android:id="@+id/textView4"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:text="@string/daily_number_of_hints"
android:layout_marginLeft="16dp" app:layout_constraintBottom_toBottomOf="parent"
android:adjustViewBounds="true" app:layout_constraintEnd_toEndOf="parent"
android:src="@drawable/icon_default_9x9" app:layout_constraintHorizontal_bias="0.25"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="@id/view"
app:layout_constraintEnd_toStartOf="@id/view" app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintHorizontal_bias="0.0" app:layout_constraintVertical_bias="0.0" />
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/numb_of_hints"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
app:layout_constraintBottom_toBottomOf="@+id/textView4"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/textView4"
app:layout_constraintTop_toTopOf="@+id/textView4" />
<TextView <TextView
android:id="@+id/first_diff_text" android:id="@+id/textView5"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center|center_horizontal" android:text="@string/number_of_completed_games"
android:text="diffi"
android:textSize="22sp"
app:layout_constraintBottom_toTopOf="@+id/first_diff_bar"
app:layout_constraintEnd_toEndOf="@+id/first_diff_bar"
app:layout_constraintStart_toStartOf="@+id/first_diff_bar"
app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintVertical_bias="1.0" />
<RatingBar android:layout_marginBottom="8dp"
android:id="@+id/first_diff_bar" app:layout_constraintBottom_toTopOf="@+id/view3"
style="?android:attr/ratingBarStyleSmall" app:layout_constraintEnd_toEndOf="@+id/textView4"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/textView4"
app:layout_constraintTop_toBottomOf="@+id/textView4"
app:layout_constraintVertical_bias="0.0" />
android:layout_width="wrap_content" <TextView
android:layout_height="wrap_content" android:id="@+id/numb_of_total_games"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
app:layout_constraintBottom_toBottomOf="@+id/textView5"
app:layout_constraintEnd_toEndOf="@+id/numb_of_hints"
app:layout_constraintStart_toStartOf="@+id/numb_of_hints"
app:layout_constraintTop_toTopOf="@+id/textView5" />
android:layout_marginStart="8dp" <TextView
android:layout_marginLeft="8dp" android:id="@+id/textView6"
android:layout_marginEnd="8dp" android:layout_width="wrap_content"
android:layout_marginRight="8dp" android:layout_height="wrap_content"
android:numStars="4" android:text="@string/total_of_time"
android:scaleX="1.5"
android:scaleY="1.5"
app:layout_constraintBottom_toBottomOf="@+id/statistic_image"
app:layout_constraintEnd_toStartOf="@+id/view"
app:layout_constraintStart_toEndOf="@+id/statistic_image"
app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintVertical_bias="0.50" />
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toTopOf="@+id/view3"
app:layout_constraintEnd_toEndOf="@+id/textView4"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/textView4"
app:layout_constraintTop_toBottomOf="@+id/textView5"
app:layout_constraintVertical_bias="0.0" />
<View <TextView
android:id="@+id/view" android:id="@+id/numb_of_total_time"
android:layout_width="1dp" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?attr/colorPrimary" android:text="0"
android:foregroundGravity="center_vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
android:layout_marginBottom="8dp"
<TextView app:layout_constraintBottom_toTopOf="@+id/view3"
android:id="@+id/textView4" app:layout_constraintEnd_toEndOf="@+id/textView6"
android:layout_width="wrap_content" app:layout_constraintHorizontal_bias="0.0"
android:layout_height="wrap_content" app:layout_constraintStart_toStartOf="@+id/textView4"
android:text="@string/daily_number_of_hints" app:layout_constraintTop_toBottomOf="@+id/textView6"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintVertical_bias="0.0" />
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.25"
app:layout_constraintStart_toStartOf="@id/view"
app:layout_constraintTop_toTopOf="@+id/statistic_image"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/numb_of_hints"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
app:layout_constraintBottom_toBottomOf="@+id/textView4"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/textView4"
app:layout_constraintTop_toTopOf="@+id/textView4" />
<TextView
android:id="@+id/textView5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/number_of_completed_games"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/textView4"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/textView4"
app:layout_constraintTop_toBottomOf="@+id/textView4"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/numb_of_total_games"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
app:layout_constraintBottom_toBottomOf="@+id/textView5"
app:layout_constraintEnd_toEndOf="@+id/numb_of_hints"
app:layout_constraintStart_toStartOf="@+id/numb_of_hints"
app:layout_constraintTop_toTopOf="@+id/textView5" />
<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/total_of_time"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/textView4"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/textView4"
app:layout_constraintTop_toBottomOf="@+id/textView5"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/numb_of_total_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="0"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/textView6"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/textView4"
app:layout_constraintTop_toBottomOf="@+id/textView6"
app:layout_constraintVertical_bias="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ListView <ListView
android:id="@+id/sudoku_list" android:id="@+id/sudoku_list"

View file

@ -102,30 +102,44 @@
android:text="@string/difficulty_easy" android:text="@string/difficulty_easy"
android:textSize="@dimen/main_text_difficulty"/> android:textSize="@dimen/main_text_difficulty"/>
<LinearLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content" android:id="@+id/linearLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical">
android:orientation="horizontal">
<CheckBox <CheckBox
android:id="@+id/circleButton" android:id="@+id/circleButton"
android:layout_width="35dp" style="@style/CheckBox"
android:layout_height="35dp" android:layout_width="wrap_content"
android:button="@drawable/create_game_src" /> android:layout_height="wrap_content"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:button="@drawable/create_game_src"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/difficultyBar"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.65" />
<RatingBar <RatingBar
android:layout_width="wrap_content" android:id="@+id/difficultyBar"
android:layout_height="wrap_content" style="@style/RatingBar"
android:id="@+id/difficultyBar" android:layout_width="wrap_content"
android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
android:clickable="true" android:layout_marginStart="41dp"
android:numStars="3" android:layout_marginLeft="41dp"
android:rating="1" android:clickable="true"
android:stepSize="1" android:numStars="3"
style="@style/RatingBar"/> android:rating="1"
android:stepSize="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:textColor="?attr/lightestFontColor" android:textColor="?attr/lightestFontColor"

View file

@ -104,31 +104,44 @@
android:text="@string/difficulty_easy" android:text="@string/difficulty_easy"
android:textSize="@dimen/main_text_difficulty"/> android:textSize="@dimen/main_text_difficulty"/>
<LinearLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/linearLayout3"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical">
android:orientation="horizontal">
<CheckBox <CheckBox
android:id="@+id/circleButton" android:id="@+id/circleButton"
android:layout_width="35dp" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="wrap_content"
android:button="@drawable/create_game_src" /> android:layout_marginEnd="3dp"
android:layout_marginRight="3dp"
android:button="@drawable/create_game_src"
android:scaleX="0.75"
android:scaleY="0.75"
app:layout_constraintBottom_toBottomOf="@+id/difficultyBar"
app:layout_constraintEnd_toStartOf="@+id/difficultyBar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/difficultyBar" />
<RatingBar <RatingBar
android:layout_width="wrap_content" android:id="@+id/difficultyBar"
android:layout_height="wrap_content" style="@style/RatingBar"
android:id="@+id/difficultyBar" android:layout_width="wrap_content"
android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
android:clickable="true" android:layout_marginStart="32dp"
android:numStars="3" android:layout_marginLeft="32dp"
android:rating="1" android:clickable="true"
android:stepSize="1" android:numStars="3"
android:scaleX="0.75" android:rating="1"
android:scaleY="0.75" android:scaleX="0.75"
style="@style/RatingBar"/> android:scaleY="0.75"
</LinearLayout> android:stepSize="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:textColor="?attr/lightestFontColor" android:textColor="?attr/lightestFontColor"

View file

@ -9,9 +9,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.coordinatorlayout.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="tu_darmstadt.sudoku.ui.MainActivity" tools:context="tu_darmstadt.sudoku.ui.MainActivity"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -82,8 +79,7 @@
android:onClick="onClick"/> android:onClick="onClick"/>
</RelativeLayout> </RelativeLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
android:layout_below="@id/scroller" android:layout_below="@id/scroller"
@ -107,34 +103,46 @@
android:text="@string/difficulty_easy" android:text="@string/difficulty_easy"
android:textSize="@dimen/main_text_difficulty"/> android:textSize="@dimen/main_text_difficulty"/>
<LinearLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/linearLayout2"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical">
android:orientation="horizontal">
<CheckBox <CheckBox
android:id="@+id/circleButton" android:id="@+id/circleButton"
android:layout_width="35dp" style="@style/CheckBox"
android:layout_height="35dp" android:layout_width="wrap_content"
android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
android:button="@drawable/create_game_src" /> android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:button="@drawable/create_game_src"
app:layout_constraintBottom_toBottomOf="@+id/difficultyBar"
app:layout_constraintEnd_toStartOf="@+id/difficultyBar"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/difficultyBar"
app:layout_constraintVertical_bias="0.65" />
<RatingBar <RatingBar
android:layout_width="wrap_content" android:id="@+id/difficultyBar"
android:layout_height="wrap_content" style="@style/RatingBar"
android:id="@+id/difficultyBar" android:layout_width="wrap_content"
android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
android:clickable="true" android:layout_marginStart="41dp"
android:numStars="3" android:layout_marginLeft="41dp"
android:rating="1" android:clickable="true"
android:padding="0dp" android:numStars="3"
android:layout_margin="0dp" android:padding="0dp"
android:stepSize="1" android:paddingTop="70dp"
android:paddingTop="70dp" android:rating="1"
style="@style/RatingBar"/> android:stepSize="1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</LinearLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:textColor="?attr/lightestFontColor" android:textColor="?attr/lightestFontColor"
android:layout_width="match_parent" android:layout_width="match_parent"

View file

@ -9,7 +9,6 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<androidx.coordinatorlayout.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="tu_darmstadt.sudoku.ui.MainActivity" tools:context="tu_darmstadt.sudoku.ui.MainActivity"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -80,8 +79,7 @@
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:onClick="onClick"/> android:onClick="onClick"/>
</RelativeLayout> </RelativeLayout>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0px" android:layout_height="0px"
android:layout_weight="6" android:layout_weight="6"
@ -103,28 +101,43 @@
android:text="@string/difficulty_easy" android:text="@string/difficulty_easy"
android:textSize="@dimen/main_text_difficulty"/> android:textSize="@dimen/main_text_difficulty"/>
<LinearLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:gravity="center_vertical" android:gravity="center_vertical"
android:orientation="horizontal"> android:orientation="horizontal"
android:id="@+id/linearLayout4">
<CheckBox <CheckBox
android:id="@+id/circleButton" android:id="@+id/circleButton"
android:layout_width="35dp" android:layout_width="wrap_content"
android:layout_height="35dp" android:layout_height="wrap_content"
android:button="@drawable/create_game_src" /> android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:layout_marginBottom="7dp"
android:button="@drawable/create_game_src"
app:layout_constraintBottom_toBottomOf="@+id/difficultyBar"
app:layout_constraintEnd_toStartOf="@+id/difficultyBar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="@+id/difficultyBar"
app:layout_constraintVertical_bias="0.65" />
<RatingBar <RatingBar
android:id="@+id/difficultyBar" android:id="@+id/difficultyBar"
style="@style/RatingBar" style="@style/RatingBar"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_gravity="center_horizontal" android:layout_height="wrap_content"
android:layout_marginStart="41dp"
android:layout_marginLeft="41dp"
android:clickable="true" android:clickable="true"
android:numStars="3" android:numStars="3"
android:rating="0.5" android:rating="0.5"
android:stepSize="1" /> android:stepSize="1"
</LinearLayout> app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:textColor="?attr/lightestFontColor" android:textColor="?attr/lightestFontColor"