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
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue