You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stevia.kt is brilliant for UI layout on Android. However, it is not perfect, for instance, I-password-forgot-I, only layout horizontally for first item.
// code snippet from the lib
// Embedded Horizontal layout.
(item as? Array)?.let { horizontalLayout ->
// Take first "View" type in the array to layout.
var secondItem = if (horizontalLayout.count() > 1) horizontalLayout[1] else null
var firstView = (horizontalLayout.firstOrNull() as? View)
?: (secondItem as? View)
firstView?.let {
layoutView(it)
}
}
The expecting result should be layout horizontally for all item.
Is there any plan to improve this library?
The text was updated successfully, but these errors were encountered:
Stevia.kt is brilliant for UI layout on Android. However, it is not perfect, for instance, I-password-forgot-I, only layout horizontally for first item.
// code snippet from the lib
// Embedded Horizontal layout.
(item as? Array)?.let { horizontalLayout ->
}
The expecting result should be layout horizontally for all item.
Is there any plan to improve this library?
The text was updated successfully, but these errors were encountered: