mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-02 22:30:40 +00:00
Fixed invalid padding.
This commit is contained in:
parent
dd55d10194
commit
ed319a0e5f
2 changed files with 2 additions and 4 deletions
|
@ -45,9 +45,6 @@ class AnnouncementView : LinearLayout {
|
||||||
|
|
||||||
_scope = findViewTreeLifecycleOwner()?.lifecycleScope ?: StateApp.instance.scopeOrNull; //TODO: Fetch correct scope
|
_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);
|
_root = findViewById(R.id.root);
|
||||||
_textTitle = findViewById(R.id.text_title);
|
_textTitle = findViewById(R.id.text_title);
|
||||||
_textCounter = findViewById(R.id.text_counter);
|
_textCounter = findViewById(R.id.text_counter);
|
||||||
|
|
|
@ -12,7 +12,8 @@
|
||||||
android:background="@drawable/background_16_round_4dp"
|
android:background="@drawable/background_16_round_4dp"
|
||||||
android:paddingLeft="10dp"
|
android:paddingLeft="10dp"
|
||||||
android:paddingTop="10dp"
|
android:paddingTop="10dp"
|
||||||
android:paddingRight="10dp">
|
android:paddingRight="10dp"
|
||||||
|
android:layout_margin="10dp">
|
||||||
|
|
||||||
<TextView android:id="@+id/text_title"
|
<TextView android:id="@+id/text_title"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue