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.
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?
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?
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.
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?
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.
Or you should be also be able to change the target API version to 26.
Please how do I add back arrow button to the left of the toolbar .. the type apps usually have
How do we hide the nav bar in a fragment view ? I’m struggling using xamarin android.. please help me
hi. thx .
my project show toolbar but not show menu. and items.
means menuinflater not worked?
What do you use for dependency injection in Xamarin android apps? Autofac?
If I set WindoActionBar to false, SupportActionBar in main activity is always null..
I need theme name that you are using for visual studio plz
me too
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?
Great tutorial. i want collapsing toolbar in xamarin forms is it possible?
Thank you, your tutorial was very useful.
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?
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.
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?
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
Plz tell me how can i take reference or change ''v'' under color under sprite renderer in unity??
Hello, what "v" do you mean?
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
Great tutorial, however I would use the material icons font instead of the PNG icon files.
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.
do you know how to add search bar on top of a tab page?
I might do a tutorial on that.
yay thanks
how gradeint backgroung in axml android in visual studio
Create an axml file under drawable and write this:
+Reso Coder where put the code??
Create an axml file inside the drawable folder and put it in there.
How do I link an axml page to a work page?
؟؟؟؟
why am I getting this sort of errors, when I'm exactly following your instructions ughhhh!
I honestly have no idea. Xamarin is buggy 😔
@@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
thx 4 the vid
You're welcome!