Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

TabbedPage elements are extremely big on Android

$
0
0

Hi guys

So I'm building my first application in Xamarin studio, and initially, I, therefore, want to make a navigation bar that connects my pages.

Unfortunately, everything that I make, seems to be excessively scaled up on Android in comparison to iOS.

For example, in my tabbed page I do the following:

<TabbedPage xmlns="**" xmlns:x="**" xmlns:local="clr-namespace:MyFirstApp;assembly=MyFirstApp" x:Class="MyFirstApp.Navigation"> <local:Page1></local:Page1> <local:Page2></local:Page2> <local:Page3></local:Page3> <local:Page4></local:Page4> </TabbedPage>

In a sample content page I do the following:

<ContentPage xmlns="**" xmlns:x="**" x:Class="MyFirstApp.Settings" Title="Page1" Icon="ic_settings.png"/>

The elements in my menu are however so scaled up on the Android emulator that it occupies almost 20% of the actual contentpage.

Do you have any suggestions as to how i correct this, so that the text and icons are shown in the correct size?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>