Adding small subviews to main view on Android - android

I'd like to make something close to alerts or modal view in iOS (message and 1 or 2 or 3 buttons), but on Android. For example, then users clicks Back button on some screens of the app he will asked to save or not his progress.
Are there any native ways to do it using Android SDK in Eclipse?
Any suggestions how to implement it in custom design?
Thanks.

this site and this site is giving a simple custom dialog example in code. you can use the code as guidance.

Related

Is there a NATIVE ANDROID button for NEXT or CONTINUE? If so, what does it look like?

Does Android use or have native buttons for something like NEXT or CONTINUE - I'm working on a 2 step process and want to use what Android has NATIVELY vs Custom design.
For example, IOS has the native TOP NAVIGATION that you can change.
In this instance, we are using a CONTINUE button up top. This is a native option with IOS. Does Android have anything like this? If so, what does it look like and where is it placed. I cannot find anything on this.
Thank you in advance!
No android do not have native button.
You have to make your custom xml for action bar and add next/continue buttons.
A good way to learn about what action bar/ App bar provides and what it doesn't visit Material.io.
I would suggest using a floating action button (FAB).
I think this is as close as it gets for a native next button, although it can be used for many things.
For android design components I would recommend you having a look at Material.io. There you will get in depth explanations for almost all android design patterns!

Android QuickActions? PopupMenu? Popup Window?

I'm currently developing an Android app for a client. Problem is their mockup screens contained a UI view that I'm unfamiliar with. In short, I'm not sure what approach/implementation to use.
This is what I'm trying to achieve:
The user taps on SALES TOOLS, and a popup of some sort appears with options leading to other features of the app.
Any suggestions on what implementation I can use?
There are lots of library Available in market
Please check this URL it may be help you links given below
Chrome Style Help Popups
Quick-action-pattern-in-Android
Another alternative would be "super-tooltips":
https://github.com/nhaarman/supertooltips
Use android.widget.PopupWindow to create popwindow for a view.
using it various method you can put the window where ever you want.
Use this link will satisfy your needs .
https://androidresearch.wordpress.com/2012/05/06/how-to-create-popups-in-android/

how can I Render android view through view class?

Im trying to develop an android app that when the user presses a cwerain number of objects in the screen will check if the user should switch to another view(throgh the pageview class) and change it if nessacery
how can i do that?
after doing the validation on the view class do you know how can i render the view?
Tnx
It seems that you are just getting started with Android developement (cool!). It would be easier for you if you went through the Getting Started guides in developer.android.com.
Guides like these.
Personally I would start by experimenting with the samples included in Android SDK. Check this question on how to to do that.

GooglePlus Like Layout unlike waterflow style layout

I want to do GooglePlus on Android. I know iOS have some open source which can be used to show the data based on their content-size and by maintaining the row linear, but I cannot search Android. I want to do it, but I do not know where to start. Can you give me some advice and links?

How to create a custom tabbar in android to look like an iphone tabbar? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Android - iphone style tabhost
I am trying to figure out how to achieve a tab bar look and feel like the one provided in the iOS for android applications? I am using the normal one but it makes my application to look old school. I would like to achieve the same visual experience as the image below:
http://www.android.com/market/data/screenshots/com.i2.android.brasileirao.activity0.png
I have also looked at mobyfactory-uiwidgets-android bu they are far from being equal to the one in the image.
Thanks T
There's nothing that says the TabHost in a tabbed layout needs to be above the tab content area, so feel free to stick it wherever. But please don't put tabs on the bottom just because you can; Android users aren't used to this and you need to have a better reason than "it looks old-school" for violating UX expectations.
If you just want to fix the look of individual tabs themeselves, you can use TabSpec's setContent(View v) method to setup a custom view for a tab. Also see the source code to the Google IO 2010 Schedule app. You can definitely spruce up tabs this way in lots of good ways without messing about with user's understandings of what Android tabs are and how they function.

Categories

Resources