Toolbar android

csampaio01csampaio01 PTMember ✭✭✭

Hi, after i upgraded to xamarin.forms 2.4 my toolbar in android went up.

My style is:

<style name="MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">@color/primary</item> <item name="colorPrimaryDark">@color/primaryDark</item> <item name="colorAccent">@color/accent</item> <item name="windowActionModeOverlay">true</item> <item name="android:buttonStyle">@style/NoShadowButton</item> </style>

My toolbar:

<?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.Dark.ActionBar" app:popupTheme="@style/ThemeOverlay.AppCompat.Light" app:layout_scrollFlags="scroll|enterAlways" />

Target framework: 8.0
Target android version: API 26

Example of my toolbar:

Answers

  • SriramSurampudiSriramSurampudi USMember ✭✭

    Me also facing the same issue.
    Yesterday I updated the application to Xamarin Forms Version 2.4.0.38779 and toolbar controls moving up to status bar.

Sign In or Register to comment.