In my android application, I would like to show small introductory tips for different features but I don’t want to be intrusive by showing them dialogs. What I want is something similar to:
Sorry for poor design but I hope it’s clear to understand. I want a small bar beneath ActionBar/Toolbar which shows the desired text and a close button aligned right. Clicking this cross button will permanently hide the tip.
Is there some library exists for such purpose or there’s room for something like this?
This will be much better way for applications to express their features without being intrusive.
Well, you can use a modified SnackBar like this
Related
I am developing a multiplayer android game and I am trying to add a chat UI for players to talk to eachother.
I don't want this chat UI always visible because of space issues, I'd like there to be a tab that you can press or slide that will bring the chat menu up. I have a sketch so you can see what I mean...
How can I go about implementing this in android.
I know I am going to need to use EditText and TextView etc but How can I get the sliding thing to work.
EDIT: I'm not looking for a flat out answer. I just need guidance. What widgets, methods etc should I be studying
There used to be a SlidingDrawer in the Android SDK. It is officially deprecated and, to be honest, was never that good.
There is nothing in the Android SDK that directly replaces the old SlidingDrawer. The leading third-party implementation seems to be AndroidSlidingUpPanel, though there are probably others floating around.
I am writing a custom android IME, and would like the keyboard on the side of the display rather than the bottom (actually, I want the user to have options). If possible, I would like to split the keyboard into 2 or more parts, located around the display edges.
I have reviewed various complicated solutions which may need extensive cross-device testing.
Is there a simple (and reliable) way to do this, with say, XML layout? I know Java, but not much about android layout.
Answering my own question, after much digging I think the answer is no, there is no simple way of moving the keyboard from the bottom of the display. I have settled on a very small "keyboard" along the bottom, and then creating a mostly transparent popup view. Not nearly as simple as what I was hoping for, but I think I can eventually get it to look the way I want.
I would like to create a custom spinner view so that the spinner options are displayed directly below the spinner control, NOT in a modal pop-up. I would like it to be modeless and the functionality would be similar to what you might see in an html select tag. I'm using Android platform 2.1.
Is this possible?
This should be technically possible, but it's not going to be worth it. I know it is a terrible answer, but I don't think it's wise to fight the system on basic UI controls if you don't have to. You would likely be going to a path from which you are unlikely to emerge in victory. It's more than a quick stackoverflow answer.
Are you getting design requirements like this from someone else? If so, please have them read through Android Design if you need to push back. What is the main reason you want this html-like behavior?
I am very new to android development. I wanna create a app thats like a ticker on android tablet. But when the user clicks on any other application, i still want my ticker to be visible and the other app to resize and occupy rest of the screen only.
Somebody told me that this is not possible. Is it the case ? Anyone know of any similar app ? or somehow plz get me started with this ?
Thanks for your help.
Cheers
It is not a good idea steal screen space from other applications. If your ticker is floating above like modal window, it would probably block some views for the user.
If your app is competing for the screen space, the other app would probably look ugly.
My suggestion is that you rethink your application, and follow the user interface guidelines.
Good luck!
I believe this isn't possible. Even if, it isn't a good idea. If you want something like that consider creating a widget or some kind of notification. That would be the best and a lot of applications use notifications like that.
what you want to do is creating a system type of window,such as PHONE_WINDOW,make your app flowing on the up-layer of other normal window.
You may read this post
http://www.apkbus.com/android-77789-1-1.html
I'm just mucking around with Android tablet stuff in 3.0. I have fragments set up to do the equivalent of UISplitViewController for iPad. Anyone know what the best solution to get something like the iPad UIPopOverController is?
I'm thinking the options are either a separate dialog or something in the Action Bar ...?
I haven't actually seen any Android tablets running 3.0 so not clear what the standard will be ...
Many thanks in advance
This may not be exactly what you are looking for because I'm not all that familiar with UIPopOverController but I think you can accomplish something similar using a Toast with a customized layout.
I would take a look at Creating Toast Notifications and see if it works for you.
Depending on the functionality needed it might work, otherwise you might need to look into trying to generate a modeless dialog with a custom layout.
As for your other question, yes options are generally stored in a separate activity within your application and following Honeycomb design the options activity would be accessible from the Action Bar and the options itself could be a fragment.
Its nothing official but I would crack open the source code to the contacts app for 2.0+ They emulate the popover UI using an Activity in a pretty creative way. It might be a little over kill as it was designed to be usable by any application not just itself. But it should help give you a nudge in the right direction.
Also depending on what the behavior you are looking for exactly a combination of fragments and action bar could be the way to go, but its not going to be as easy as iOS.