I am a beginner in iOS development.
I followed this tutorial https://github.com/nrlnishan/ViewPager-Swift to implement a viewPager in my application.
Then I followed https://github.com/nbyn/MWAPopup/blob/master/README.md to implement a popup in the first view of the popup.
But the popup background doesn't appear as full screen.
This screenshot may explain more my problem.
Please help me.
You are showing the popup on the wrong UIViewController. show method shows the popup inside the UIViewController that is passed in as a parameter.
Also when using someones else's GitHub code or library, always look for the number of the stars for the repository since the most quality solutions are recognized by the community, especially solutions to the popular problems like popups. Try something like this https://github.com/Orderella/PopupDialog
Related
Before I begin, I want to mention that I've found a million answers showing how to do this from code, which involves setDisplayHomeAsUpEnabled(true) from your Activity. However, what I have not been able to find is a way how to do it from XML. (I would like to hide as much UI code in the XML files as possible).
One article I did find is this, which states
Step 3: Specifying the parent activity name in the AndroidManifest.xml adds the Back-Button arrow
and Click-action. Tapping on the back-arrow takes us to the Parent
Activity i.e Home Screen.
which doesn't work for me (the Back Button doesn't appear). I've followed all the steps in the article.
Does anyone know how to do this via xml? Is it even possible?
Yes, it's possible but still, you have to set the listener in java code. You can create a custom toolbar view and add a button to it. Then create a button in the java file and set the CilckListener.
Or You can use the default toolbar and do setDisplayHomeAsUpEnabled(true) from your Activity.
We usually make a custom toolbar, suppose you need a search bar in the toolbar then what you will do? So try to make an xml then use <include> tag in xml. You can search youtube. Follow the channel CodingInFlow, that guy explains very perfectly. If you don't understand what I am saying then understand the basics first, it will help you learn faster.
I am new to flutter and I have created an Todo app, for that I want to add a quick guide once the the users opens the app for the first time after installation.
I have seen something like that in the ICICI mobile app, there once you installed it will give a you a quick tour about what all option you will get with a pointing arrow, below that its description and a next button, I want to do similar to that in my flutter application.
Can anyone who had implemented the same, or know about it , can you share the same.
Thanks
Here is the plugin named- feature_discovery which shows the app tour guide following the material design guidelines.
It's quite simple what all you need ::
Whole screen image including pointing arrow.
Your Button to go next and previous.
Connect all screens using navigation.
That's it,
Thanks.
I want to create a Setting page in iPhone.
If you used Facebook in iPhone. You see that when we click on the Setting button on the navigationBar, the main page just go to right, but not disappear, and Setting page comes up.
When we click on the setting button again, we go back to the main page.
Do you know how can I create this functionality in iPhone? I appreciate that you give me some tutorial links.
You can grab this JTRevealSidebarDemo and personalize as per your requirement.
There are plenty of other demo available like,
DDMenuController
ZUUIRevealController
I've been using ViewDeck with good success. It's light (2 classes) and easy to implement.
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Android facebook style slide
Recently Facebook released a new version of its Android application that features an improved navigation. One main new feature is the new menu (that already existed on the iOS version):
By clicking on the home button of the Action Bar, this menu slides from left to right, hiding the main activity that is no longer accessible.
How do you think this menu has been made? Do you think they have just played with the SlidingDrawer or is it something else like a ViewPager?
Thanks!
EDIT
There is no way that it could be one of the two (ViewPager or SlidingDrawer). It's not the menu that slides in, it's the main screen that moves away leaving only a tiny part of it on the screen. It's like if the menu was already behind that main screen and that it just got uncovered. And second thing, we can actually still interact with that main screen (otherwise I would have assumed that they took a screenshot in order to cut a tiny part of it to compose that view).
Almost everything except the photo taking parts is inside a WebView in the new FB app. I could not find any native Android UI controls in the stream or the lists.
Making the same effect using Javascript/HTML/CSS should be quite easy I feel.
Decompiling the apk would give a better idea.
I was looking for implementing the same thing and I came up with a solution that is good enough (or maybe is really near what they have done).
So what I did was a single FrameLayout with both of the Layouts stacked together and then I just animate the top layout to slide to the right of the screen (just need to call the slideTo or scrollBy. And basically it's that! Quite simple and effective!
EDIT:
I've answered to a similar question here with some code samples, enjoy =): Click here
You can build this application style using javascript, HTML5 and CSS3 like it shows this little library "jbackbone-mobile", https://github.com/mjromper/jbackbone-mobile
and see this demo from any browser (device or desktop) http://lab.ochio.com.es/jbackbone/index.html
Hi guys i am very eager to know that how we can make a view like in this application having different icons calling different viewcontrollers and edit button to add shorcuts to tab bar at the bottom. Any tutorial link will be appreciated .
Thats a really long view, why would you want that? Unless you are putting that into a UIScrollView..
Check Three20 Launcher, it may suit your needs, and it is widely used in many apps.
Here is a tutorial for using the UITabBarController: http://21gingerman.wordpress.com/2009/04/06/tutorial-and-sample-code-for-iphone-app-with-tab-bar-and-nav-bar/
Which seems like what you're asking for.
It will allow you to have a "More" button which gives you the view you're looking for.
Otherwise, seems like if you need more control, what you're looking for could be accomplished fairly simply with a UIScrollView and some UIImageViews. There are two great videos on using UIScrollView in the developer videos section of the apple dev site. (They open up in iTunes) http://developer.apple.com/videos/