I need to create a grid view exactly like this:
This feature is being used by many launchers (ADW launcher Ex, Go Ex)
I have been able to create a normal GridView using BaseAdapter. However I have no idea about creating this animation. Please help me with ideas regarding how to proceed in order to achieve something like this.
Related
Maybe someone knows/or found somewhere how to make this kind of list on android using kotlin?
https://cdn.dribbble.com/users/418188/screenshots/2182940/art_gallery_app.gif
I think it's similar to Material desgn:
https://material.io/design/components/lists.html#behavior
but I couldn't find anywhere is it cards layout or some expandable list view. So maybe someone experienced could tell me from where I should start to make list like in the first link?
Moreover for such transitions is it better to use Fragments or Activities?
I am Stuck at place where i want to developer custom layout in android, please Suggest that how can i achieve layout like this which technology should i use , I want to develop application like Booking of Seats in bus or Some thing like that Please Guide which way i go like on XML,openGL , Canvas Please guide me
If you need to interact (handle click or touch) with every view marked with a number I would strongly recommend using XML. Using OpenGL or Canvas would add plenty of time to achieve a good interaction. Creating your layout in XML will be the hardest part, but after that you'll be able to interact with every view setting regular View.OnClickListener or TouchListener.
Hope this suggestion helps.
Hi I want to have image gallery like this.I have tried using jazzyviewpager.It's good but doesn't have this effect. can anybody tell me how can i achieve this effect for showing images.
You can extend the gallery view class, use setStaticTransformationsEnabled(true) and handle item transformations by yourself in getChildStaticTransformation .
EDIT: One way to do achieve this goal, is available in as a sample in a tutorial I wrote, here: http://code.google.com/p/android-3d-carousel-view/ . However this is not exactly what you need, just a starting point that you can modify further on. The important aspect is to learn how to use getChildStaticTransformation .
At the top there is the favorites/styles/all channels
i don't know what that widget/control is i need to know what it is
i am certain i saw it before i just can't seem to find it again.
then there is a listview which is easy to implement no help needed there
then the same control again, i need to know how to build it.
it looks like a native Android control, i know how i can make one just like it using image buttons but i am sure i am missing something.
P.S. this is an image from sky.fm app on android
EDIT: I Do no need help with the ListView i already did that
What i do need help with is how to make the "favorites/styles/all channels" buttons if there is a way to do natively.
If there isn't a way to do natively, and you are sure just say there isn't a way to do natively ( that would be a good answer )
the perfect answer would be a working code, but i am not lazy i am already implementing the code my self
There's no native control for this. It's probably a Button or maybe ToggleButton. You could create a background xml with different states for selected true or false. And when you click the button toggle the selected state.
Top might be a custom tab layout, or just a bunch of buttons with custom styling.
Main part looks like a listview with complex row views.
Bottom almost definately is a bunch of buttons.
You can implement it using ClickableListAdapter.There is also tab implementation.try it.
Just make it using image buttons and put filters in your ListView, or create your own filter form scratch !
I'm trying to achieve a custom controller containing of various buttons in different shapes. I'm wondering how I can achieve this with Android.
The result should look similar like this, where every color is a different button.
I suppose I have to subclass View so please don't write that as an answer ;-) Please give some methodical steps what's needs to be implemented, like drawing, sensing touches, etc or maybe point me to some examples (if exist).
Thanks
if you intend to draw this dynamically you would have to extend View and override onDraw, you can implement onTouchListeners, etc to detect when and where people are touching it.
I found this document explaining everything in detail and having links pointing to related topics.