Tag: view

2020.09.01.

Xamarin.Android – Rounded corner of View

Android don’t have rounded corner property, so we have to define a shape in an xml and we have to set this xml as a background of a View. Let’s define our rounded corner in the Resource/drawable folder: rounded.xml. If we want a different radius or different color, just change the android:radius or android:color property. Next, we have to set this as a background of […]

2020.09.01.

Xamarin.Android – Automatic Grid Height

We all use usually grids in our apps. But it doesn’t matter how it appears. Here now it’s not going to be about having a grid and exposing it to a page and just going to be there, but there’s more of everything on a page and you don’t want to have a certain height and be able to scroll through a small area but […]