Center text in empty views

This commit is contained in:
Stypox 2022-12-04 19:25:38 +01:00
parent 10977eaefa
commit 40225443ed
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
2 changed files with 4 additions and 0 deletions

View file

@ -19,5 +19,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:gravity="center"
android:paddingHorizontal="16dp"
android:text="@string/empty_list_subtitle" /> android:text="@string/empty_list_subtitle" />
</LinearLayout> </LinearLayout>

View file

@ -19,5 +19,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center" android:layout_gravity="center"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
android:gravity="center"
android:paddingHorizontal="16dp"
android:text="@string/import_subscriptions_hint" /> android:text="@string/import_subscriptions_hint" />
</LinearLayout> </LinearLayout>