TOOLBAR - Quick Tutorial (Xamarin Android)

Поділитися
Вставка
  • Опубліковано 17 гру 2024

КОМЕНТАРІ • 36

  • @xenimus7577
    @xenimus7577 7 років тому +5

    If you get an error like this:
    Error Could not install package 'Xamarin.Android.Support.v7.AppCompat 26.1.0.1'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v6.0'
    Solved this by just installing an older version of AppCompat. When using NuGet package manager, search for AppCompat, click it, then use the drop down to select an older version. I used the latest version of 25 instead of the latest version of 26.

    • @ResoCoder
      @ResoCoder  7 років тому

      Or you should be also be able to change the target API version to 26.

  • @PRINCE-mf8gl
    @PRINCE-mf8gl 2 роки тому

    Please how do I add back arrow button to the left of the toolbar .. the type apps usually have

  • @shanthureddy4234
    @shanthureddy4234 2 роки тому

    How do we hide the nav bar in a fragment view ? I’m struggling using xamarin android.. please help me

  • @shhamidi5989
    @shhamidi5989 6 років тому +1

    hi. thx .
    my project show toolbar but not show menu. and items.
    means menuinflater not worked?

  • @sen.alexandru
    @sen.alexandru 4 роки тому

    What do you use for dependency injection in Xamarin android apps? Autofac?

  • @UntakenNick
    @UntakenNick 5 років тому

    If I set WindoActionBar to false, SupportActionBar in main activity is always null..

  • @sajjadmohammed7452
    @sajjadmohammed7452 6 років тому +2

    I need theme name that you are using for visual studio plz

  • @KhoJee17
    @KhoJee17 5 років тому

    I'm getting a problem in this part:
    public override bool OnCreateOptionsMenu(IMenu menu)
    {
    MenuInflater.Inflate(Resource.Menu.toolbar_menu, menu);
    return base.OnCreateOptionsMenu(menu);
    }
    the toolbar_menu is in error why is that?

  • @i_m_unique94
    @i_m_unique94 4 роки тому

    Great tutorial. i want collapsing toolbar in xamarin forms is it possible?

  • @Evaldas65
    @Evaldas65 3 роки тому

    Thank you, your tutorial was very useful.

  • @underfilho
    @underfilho 7 років тому

    Thank you so much for the video, I wasn't understanding nothing about Support v7 and this video helped me, but what is the "android:theme" in the toolbar axml for? I tried to code without it and worked too, it's necessary use?

    • @ResoCoder
      @ResoCoder  7 років тому +1

      That's awesome! The "android:theme" line is there just to set a theme specifically for the toolbar. In this case it's probably the same as if you didn't write anything there. It's totally optional.

    • @underfilho
      @underfilho 7 років тому

      One more question if you can answer, using Compat Support v7 I need change more things in my code? Example, I used "Button nameofbutton = FindViewById"... before inherit of AppCompatActivity and use namespace Android.Support.Compat.V7.Widget, after use namespace and inherit of AppCompatActivity I need to change something, or the methods and classes continue the same? and in the axml, can leave everything as it is?

  • @ukgames304d
    @ukgames304d 4 роки тому

    i tired searching to add icon into button in xamarin android but most tutorials for xamarin forms 😔
    Can you make tutorial video for add icon in button

  • @n.aclasheryt4802
    @n.aclasheryt4802 7 років тому

    Plz tell me how can i take reference or change ''v'' under color under sprite renderer in unity??

    • @ResoCoder
      @ResoCoder  7 років тому

      Hello, what "v" do you mean?

    • @n.aclasheryt4802
      @n.aclasheryt4802 7 років тому

      Reso Coder like when you open colors under sprite renders, we see h, s, v, a i want to change the v, i think its contrast, how can i do it

  • @andresz1606
    @andresz1606 7 років тому

    Great tutorial, however I would use the material icons font instead of the PNG icon files.

    • @ResoCoder
      @ResoCoder  7 років тому

      Thanks! Isn't it a bit of a hassle to add your own font to an Android app though? The 26 support library for Xamarin Android is still in beta.

  • @jayem3662
    @jayem3662 6 років тому

    do you know how to add search bar on top of a tab page?

    • @ResoCoder
      @ResoCoder  6 років тому +2

      I might do a tutorial on that.

    • @jayem3662
      @jayem3662 6 років тому

      yay thanks

  • @spotlight1239
    @spotlight1239 7 років тому

    how gradeint backgroung in axml android in visual studio

    • @ResoCoder
      @ResoCoder  7 років тому

      Create an axml file under drawable and write this:

    • @spotlight1239
      @spotlight1239 7 років тому

      +Reso Coder where put the code??

    • @ResoCoder
      @ResoCoder  7 років тому +1

      Create an axml file inside the drawable folder and put it in there.

    • @spotlight1239
      @spotlight1239 7 років тому

      How do I link an axml page to a work page?

    • @spotlight1239
      @spotlight1239 7 років тому

      ؟؟؟؟

  • @KhoJee17
    @KhoJee17 5 років тому

    why am I getting this sort of errors, when I'm exactly following your instructions ughhhh!

    • @ResoCoder
      @ResoCoder  5 років тому +1

      I honestly have no idea. Xamarin is buggy 😔

    • @KhoJee17
      @KhoJee17 5 років тому

      @@ResoCoder yes i think the same too, also i think it's more buggy on VS 15, that's why? I don't know just makin my assusptions

  • @rntgm3650
    @rntgm3650 7 років тому +1

    thx 4 the vid