What's is this called and how can I do this? - android

Attached I have a picture of what I want to do, but I have no idea what it's called, making it very hard to ask the right question or search for the answer.
I want to make it so that when an item in my listview is clicked, a small little drop down will appear, able to show the user a little note. I have no idea what to call that drop down or how to implement something like this in my code.
Thanks in advance.

As described in the comments above, what I was looking for is known as an ExpandableListView.

Related

Is there a common way to create sliding sub-views in a list?

The idea isn't very complicated, and I'm pretty sure I've seen it before, the following image illustrates the idea:
See this picture since it won't let me embed yet
I figure this would be a pretty common thing, but I just don't know what it is called.
I have found some information just by doing some searching, but most are from pull up menus from the bottom of the screen etc. I can figure out how to get something to "slide" out, but not really sure how to push everything else down.
Not looking for someone to code this for me, just some pointers.
i think you want to implement expandable list view. so please view this link .

Another activity comes up and covers half the screen size

I have a button which on clicking opens another activity which comes up from below and covers half the screen. I searched about it but did not get any useful approach except the overridePendingTransition function which is useful in getting the animation on activity transition, but this didn't solve my problem. I know this is done in google hangout as shown in the images but can't find any useful solution.
When we press the button this activity comes up and covers half the screen size
when we scroll up the activity becomes our main activity
Any idea how this can be done?
Thanks
you can use bottom sheet for this type of UI.
here is first sample.
another sample
here is code
After some searching i got exactly what i wanted with all the codes, but still the profile picture animation is remaining, rest the SlidingPanelLayout code can be seen here . It contains some detailed information with all the classes implemented which you can use directly. I think this will surely help you. :D
Edit: As said by #MrsEd i would like to add some code that helped me. This is the custom built DraggableLayout which you can use directly, the code can be found here. Then the activity must implement the onStopVerticalDragDown() of the DraggableLayoutCallbackListener inteface and set the content view as this xml file.
Hope this clears all the doubt and makes it easier for anyone to implement their own custom built DraggableLayout without using any third party library. :D
Please. Don't redo this.
And instead, use Flipboard's BottomSheet.

Custom pop up or spinner for android

i found a design in IOS that i really like but i cant figure out how to do it in android i have tried doing a custom spinner and am having a hard time with it and i thought of using a pop up but i need to be able to put clickable button in the pop up, so i think a spinner is my best change. I am going to post a picture of what i am trying to accomplish, specifically on the little half box on the top of the drop down! Thanks would really Appreciate some help thanks!!!! ![enter image description here][1] Also i have seen this in Android as well so i know it can be done. http://i.imgur.com/L1ftrSU.png
It's action you showed in your image is called QuickAction, there are many tutorials on how to create one:
Try the NewQuickAction lib, it has a number of modes, and one of them will give you exactly the same layout as your sample image. Here's a quick tutorial for using the library. Have used this lib for 2 years and worked quite well.
This tutorial offers another method to accomplish the same thing, worth checking out as well.
You can use OptionMenu. Refer to this link!

Android Wheel concept

I am developing an application in android. I have an Activity where I have a couple of buttons. Among them when I click on one button, I want to get dropdown like iPhone default picker.
To achieve that, I am using Android wheel concept. I have implemented like this, when I click on the button, it is calling another activity where my required custom layout is shown. Problem is custom layout should come from bottom of the screen in the same activity where the button I am clicking exists.
I have attached a screenshot. I want to achieve as shown in the screenshot (missing).
Please help me providing the required solution. Pardon me if there any mistakes in my question. This is the first time to ask a question.
Since the lack of a screenshot that helps to understand your issue, this is more some kind of guess: Are you known to the concept of Spinners in Android? They provide a dropdown mechanism and are easily implemented.

Android 1.6 like slider

I need a little help with something that I want to achieve. A want to implement this kind of view in my application :
like the button at the bottom of the page, and when user touch it, it's slide above and show other content. I'm pretty sure that I've found examples like that before, but now when I needed I couldn't find anything similar.
Any ideas what should I look for or even better if you can show me a link to a similar example I will appreciate that!
Thanks in advance!
check this
http://techdroid.kbeanie.com/2009/08/android-sliding-drawer-example.html

Categories

Resources