Mercurial > dwindows
changeset 2684:a26e5a2d94be
Android: Using Placeholder class for packing empty space caused layout issues.
Switched to using a bare View class instead and things seem better.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Oct 2021 05:43:02 +0000 |
parents | e7885fd45f7b |
children | 17c34bdaec6c |
files | android/DWindows.kt |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/android/DWindows.kt Mon Oct 25 22:34:54 2021 +0000 +++ b/android/DWindows.kt Tue Oct 26 05:43:02 2021 +0000 @@ -1681,8 +1681,8 @@ // We can't pack nothing, so create an empty placeholder to pack if(item == null) { - item = Placeholder(this) - item.emptyVisibility = View.VISIBLE + item = View(this) + item.visibility = View.VISIBLE } // Handle scrollboxes by pulling the LinearLayout