diff --git a/sample/src/main/java/dev/arkbuilders/sample/ScoreActivity.kt b/sample/src/main/java/dev/arkbuilders/sample/ScoreActivity.kt index 3f74dfe..96c088b 100644 --- a/sample/src/main/java/dev/arkbuilders/sample/ScoreActivity.kt +++ b/sample/src/main/java/dev/arkbuilders/sample/ScoreActivity.kt @@ -104,7 +104,6 @@ class ScoreActivity : AppCompatActivity() { horizontal.disposeComposition() horizontal.setContent { HorizontalScoreWidgetComposable( - modifier = Modifier.padding(60.dp), size = DpSize(200.dp, 80.dp), controller = scoreWidgetController ) diff --git a/sample/src/main/res/layout/activity_score.xml b/sample/src/main/res/layout/activity_score.xml index ca8fda8..c6cd6e0 100644 --- a/sample/src/main/res/layout/activity_score.xml +++ b/sample/src/main/res/layout/activity_score.xml @@ -28,7 +28,7 @@ android:id="@+id/score_widget_horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginTop="50dp" + android:padding="70dp" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/btn_pick_resource" />