Fixed invalid padding.

This commit is contained in:
Koen J 2024-12-05 17:03:45 +01:00
parent dd55d10194
commit ed319a0e5f
2 changed files with 2 additions and 4 deletions

View file

@ -45,9 +45,6 @@ class AnnouncementView : LinearLayout {
_scope = findViewTreeLifecycleOwner()?.lifecycleScope ?: StateApp.instance.scopeOrNull; //TODO: Fetch correct scope
val dp10 = 10.dp(resources);
setPadding(dp10, dp10, dp10, dp10);
_root = findViewById(R.id.root);
_textTitle = findViewById(R.id.text_title);
_textCounter = findViewById(R.id.text_counter);

View file

@ -12,7 +12,8 @@
android:background="@drawable/background_16_round_4dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingRight="10dp">
android:paddingRight="10dp"
android:layout_margin="10dp">
<TextView android:id="@+id/text_title"
android:layout_width="0dp"