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

Set an app icon in the oncreate method

$
0
0

Hello,
I would like to set my app icon based on an action which occurs in my oncreate method.

It should work something like this pseudo code:

if(Userlicence == other)
    Icon = othericon

Icon = @drawable/icon --- defined in the Activity attribute

After some reseach I am no sure if this is possible or not.
Does anyone know this ?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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