I have sign up and sign in layout files (both with form elements on them), a home page (Main.axml) with a two buttons which each setContentView() to their particular layout. When you click the sign up button the signup layout should slide in from the right all the way, covering the home page and the same for the sign in page. Almost setting new content view but the view slide in all the way like Spotify login/signup on their app.
Which component am I best using, viewPage, DialogFragment, hidden content with animation? What do you guys think is best?
Best example I want to follow is Spotify's app home page when you have yet to sign up/in.
You are greeted by a screen with two buttons, login/signup. Say for example you click the signup then the signup page slides in from the right fully covering the main screen.
Image below demonstrates:
How can I duplicate this with Android built in Xamarin C#?
Have a look at "Navigation Drawer". Hope it helps you.
Navigation Drawer - Android Developer
Navigation Drawer - Xamarin
Related
The scenario is pretty simple: let's imagine we are on Home page, and a user is logs out, so we should create a login page one level lower in the NavigationStack and just close (popup) currently active (Home) page.
So, can that be achieved with out-of-box MvvmCross functionality, or I still have to create a Custom Presenter and handle that logic manually?
This is mostly related to Xamarin.Forms case, but in terms of MvvmCross it shouldn't matter.
UPD: This is all about having a nice "disappearing" animation, like we have on iOS when the top view just slides to the right and the previous (in the navigation stack) view appears on the background.
If you don't want to push over the stack, just pop using Close and then open the Login page, as shown:
Navigator.Close(this);
Navigator.Navigate<LoginViewModel>();
I'm trying to write an PDF/Epub reader with Xamarin.Forms.
I managed to get Epub content, showing into a view, scrolling like a web page, all basic stuff. Right now, I wan't to create some kind of page with a right/left slider, just like any other reading app does, but i failed in this task and I have not found a tutorial or project on github that do it.
I want to do something that Adobe Reader already does: You open a file, it fits the page into your screen, when you slide your finger from right to left, you go to the next page, and when you goes from left to right, you go to the previous page. In this app, it looks like some kind of gallery was implemented, but, instead of images, it shows text.
So, any of you know how to accomplish that?
Thank you in advance!
Why don't you use CarouselPage I can see it fits your needs.
I saw this in One Drive login page.
Custom buttons is placed in buttom area of AppBar.
How to achieve this ?
As for now, the AppBar is system UI and you can't put there customized buttons with official API, only AppBarButton.
If you want similar look like this at your picture, you can make your own control which will imitate the AppBar.
I would like to make a Facebook like app which has a dropdown list when clicked on the toolbar button, the view then will have a table view and user can choose one of them then change the view of the MainViewController. So far, I've just added the toolbar items but yet not knowing how to implement the bit that draws a new viewcontroller, please help!
That is not a built-in control in iOS (for iPhone). There is the the popover control for iPad (see here), but that is only for the iPad.
I did a quick search and found FPPopover, but I have not used it before. I'd start there, otherwise what you're looking for is an "implementation of popover control for iPhone".
I developed IE Toolbar using BHO C#.
I can see the toolbar at the bottom of MEnu with Button.
What this toolbar is do, when enter any url in Address bar that Display me title of the site in message box.
But Now what I want I don't want to display that button (and even toolbar below menu) and it just like working in backround same as other plugin.
so,please any body tell me what changes I need to make to work toolbar just like plugin.
Thanks,
Toolbars and BHOs are two completely separate objects. They have different registration in the registry, and they are hosted differently by IE. So, if you don't want a toolbar, just register as a BHO.