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

Xamarin Forms - Tabbed page with back button.

$
0
0

Please can somebody advise how I can change the icon of the back button ? Ive been hunting around for an answer, however, I can't find a solid, clear answer from anywhere ! Im using Xamarin Forms and have a class below :

public class CalculationView : TabbedPage
{

    public CalculationView()
    {
        Title = "test";


        // Tab 1
        var tab1 = new ContentPage {Title = "Tab 1"};


        // Tab 2
        var tab2 = new ContentPage {Title = "Tab 2"};


        // Set tabs to page
        Children.Add(tab1);
        Children.Add(tab2);


        this.Icon = "MobileIcon";


    }

}

but the default android icon still appears.


Viewing all articles
Browse latest Browse all 58056

Trending Articles