1
0
Fork 0

Fixes #5128: Changed history_empty_view to match constraints.

The bug occurred 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.
master
ValentinTimisica 2019-10-28 13:40:11 +02:00 committed by Emily Kager
parent ee3871cd7c
commit d7973587fc
1 changed files with 3 additions and 3 deletions

View File

@ -22,9 +22,9 @@
<TextView
android:id="@+id/history_empty_view"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_width="0dp"
android:layout_height="0dp"
android:gravity="center"
android:text="@string/history_empty_message"
android:textColor="?secondaryText"
android:textSize="16sp"