I am a bit new to android development, and I do not know how to achieve something like this? I thought it is bottom navigation view and fragments connected to it, but maybe there is a proper or correct way to achieve something like this ?
So when you click on tools, it expands from the bottom to top and gives you more buttons. .
What is the best way of achieving this or maybe there are some links I can read on?
Thank you!
That looks like a BottomSheetDialogFragment to me. You can read more about them in item 4 here: https://code.tutsplus.com/articles/how-to-use-bottom-sheets-with-the-design-support-library--cms-26031
Related
I'm trying to design an app with a layout that will roughly look like this (don't mind the color):
How can I achieve something like that? I'm thinking of using a CardView for that bottom panel (I don't know what it's really called).
Furthermore, I want to hide it (animating it) when the use scrolls on the content. I have tried many codes but they won't work so I won't put them here anyway (like what's suggested here). Thanks for the help.
Whenever I have a question along the lines of "How do I do this neat UI thing I saw once?", I always start by checking out wasabeef's amazing UI library collection. In your case I might start by looking at bottomsheet or AndroidSweetSheet.
Hi guys i wan't to know that how can i achieve this kind of view??what i can think is ListView inside ScrollView but i don't think that will work the same way as in the picture also i think listview inside a scroll view is not a very good practice.
also i am thinking that can this be done via a parallax view??
Basically i am not asking for code(but if u can provide,i would be very grateful to you ;) )
but just the basic way explaining ,how i can achieve this.
This is known as parallax scrolling. Thankfully there are a variety of ways to do this, and even some really mature libraries to help you out.
The below article is a really great breakdown of someone trying to recreate the Profile screen in Google+:
http://antoine-merle.com/blog/2013/10/04/making-that-google-plus-profile-screen/
Here is a library that the article recommends, and one that I have used with great success in a few apps:
https://github.com/chrisjenx/Paralloid
I need to implement iphone like tab in android. Which means, if there are more than 5 tabs are there the 5th tab text must show "more"? How can I implement this? Is it possible to do so in Android? Please help me. Thanks in advance
As far as I know, it's not possible. You can however implement a scrollbar for the tab widget, so if you have more than a number of tabs and they don't fit the screen, it won't show a 'More' tab, but you can scroll to the rest. For more info about this, check this link.
I totally agree with #yugidroid but sometimes it's hard to explain this to designer :) So you will need to implement that attitude of tabs by yourself, it is possible though.
You can check out my repository on github to have an idea where to begin. You can do it by modifying that actually...
You can add this to your activity:
tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE);
After adding this you can have how many tabs you want.
I would like to develop an application, which has a part, when I have to print a long text on the screen. My question is: What layout or view or ? are you recommend for Me, if I want to make paging effect? Some text could reserve more pages, and I would like to scroll between these pages with an effect like e-book readers does it. What shall I prefer? Webview? TextView with modifications? Canvas? Or What?
Please give me tips. (I just need some direction to where shall I start now)
Thanks in advance!
I think you're refering to the ViewPager :
http://developer.android.com/training/animation/screen-slide.html
If so, I recommend you to follow this training and come back on StackOverFlow if you have a problem, with some code, or something you've tried and hasn't worked.
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