App Appears to be oversized for the devices tested

KenNickersonKenNickerson USMember ✭✭✭
edited October 30 in Xamarin.Android

Hello -

Updating an app was was written for API 23. Updated packages, visual studio and the android sdks. When I run the app it appears oversized for the emulator. The splash page, which is a background color and a centered logo, display a truncated logo. What is the preferred method for proper rendering on devices which are running API 23 - 26. Please provide code sample if possible.

When I run it on a physical device (samsung galaxy s8) the nav bar displays over the notification bar. I am targeting API 26. I currently have a the toolbar setting on my layout folder. Below is the content of it:

<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/Toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:minHeight="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:theme="@style/ThemeOverlay.AppCompat.Light">

</android.support.v7.widget.Toolbar>

Tagged:
Sign In or Register to comment.