2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00

[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/5104: Changed empty_exception_container to match constraints.

This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
This commit is contained in:
ValentinTimisica 2019-10-25 14:24:27 +03:00 committed by Emily Kager
parent 6f4fd33912
commit a33229584b

View File

@ -35,8 +35,9 @@
<TextView
android:id="@+id/empty_exception_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:text="@string/no_site_exceptions"
android:textColor="?primaryText"
android:textSize="20sp"