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
parent
ee3871cd7c
commit
d7973587fc
|
@ -22,9 +22,9 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/history_empty_view"
|
android:id="@+id/history_empty_view"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="0dp"
|
||||||
android:layout_gravity="center"
|
android:gravity="center"
|
||||||
android:text="@string/history_empty_message"
|
android:text="@string/history_empty_message"
|
||||||
android:textColor="?secondaryText"
|
android:textColor="?secondaryText"
|
||||||
android:textSize="16sp"
|
android:textSize="16sp"
|
||||||
|
|
Loading…
Reference in New Issue