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
RoundedCornerView can have another view set as its content, which can be aligned using Horizontal/VeriticalOptions. This works as expected in iOS, but not in Android.
Seems like on android, the control is not aware of its own full width, and is missing half it's height. As even setting it to EndAndExpand will leave it stuck on the left side, halfway down. This behavior is not present if you don't set any layout options. In that case, the control will center the view like so :
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for reporting this bug. Have you tried this with a regular
ContentView on Android as well? Just asking because I don't think the
rounded corner view should do any layout processing.
Please feel free to download the source code and investigate as well ;-)
Chris
RoundedCornerView can have another view set as its content, which can be aligned using Horizontal/VeriticalOptions. This works as expected in iOS, but not in Android.
I've made a quick project to demonstrate this bug here
https://github.com/antontsvil/NControls-RoundedCornerView-LayoutBug
iOS, Horizontal Center, Vertical Center
Android, Horizontal Center, Vertical Center
Android, Vertical EndAndExpand
Seems like on android, the control is not aware of its own full width, and is missing half it's height. As even setting it to EndAndExpand will leave it stuck on the left side, halfway down. This behavior is not present if you don't set any layout options. In that case, the control will center the view like so :
The text was updated successfully, but these errors were encountered: