Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

NavigationPage.SetTitleIcon is not working on Android with FormsAppCompatActivity

$
0
0

I am using Xamarin.Forms 2.3.0.107 (I think) and I'm trying to set an icon or image into the navigation bar like We have already on iOS. But it seems SetTitleIcon is not working or either ignoring this behavior on Android using AppCompat. I'm not expert on Android but it seems that on API 23+ is a "discourage using and icon + text in the toolbar..". Based on this, is there anyway to achieve this? I have already tried using a custom renderer on the page I am using the NavigationPage but setting the SupportActionBar.SetLogo or SetIcon doesn't work at all.

Please I would appreciate your answer...

Regards


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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