Mercurial > dwindows
comparison android/DWindows.kt @ 2688:c359cbd0b20f
Android: Revert the change from Placeholder to View since it didn't solve the problem.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 28 Oct 2021 00:22:42 +0000 |
parents | 42ff9d95e87b |
children | 7127de139acf |
comparison
equal
deleted
inserted
replaced
2687:42ff9d95e87b | 2688:c359cbd0b20f |
---|---|
1708 var box: LinearLayout? = null | 1708 var box: LinearLayout? = null |
1709 var item: View? = packitem | 1709 var item: View? = packitem |
1710 | 1710 |
1711 // We can't pack nothing, so create an empty placeholder to pack | 1711 // We can't pack nothing, so create an empty placeholder to pack |
1712 if(item == null) { | 1712 if(item == null) { |
1713 item = View(this) | 1713 item = Placeholder(this) |
1714 item.visibility = View.VISIBLE | 1714 item.emptyVisibility = View.VISIBLE |
1715 } | 1715 } |
1716 | 1716 |
1717 // Handle scrollboxes by pulling the LinearLayout | 1717 // Handle scrollboxes by pulling the LinearLayout |
1718 // out of the ScrollView to pack into | 1718 // out of the ScrollView to pack into |
1719 if (boxview is LinearLayout) { | 1719 if (boxview is LinearLayout) { |