Content change without effect header and footer? - android

Below is my UI
What I need is when the user clicks on any button in the footer menu(gallery), the content(activity) area will change depend on the menu. but it wont effect header and footer area.
Different content has its own layout and function and controlled by it own activity class. How can I do like this? Is TabHosh can do it? Or have other solution?
Sorry for my bad english. Hope u guys understand what I'm talking about.
Thanks.

You can use this:
https://github.com/astuetz/PagerSlidingTabStrip
Screenshot:

Related

FloatingActionButton hide instantly

i have a really simple question, is there a way to hide a FloatingActionButton without the animation that comes with it? One way that i was thinking was "wrapping" it with any Layout and make it GONE or INVISIBLE. But maybe there is a simple way. Do any of you have something in mind?
Thanks a lot!
use visibility property to visible or gone.

How to make vertical custom view slider like this?

I want to make slider with custom view and length of views are not fix.
Is it possible to make this?
Attach Screen design which I want to make. please see this to get a better idea of view and how it looks.
Please let me know if anyone has the solution.
Thanks in Advance.

scroll background image while scrolling information

Hi i have no idea how to perform that kind of effect..
hi an example of what i want
The efect is, having a background image or another similar layout, scroll another layout and show the background moving.
Can someone give me a link with some information or documentation?
Thank you in advance
You can use this library. You also have a sample app with code, go through it. https://github.com/nirhart/ParallaxScroll
It's look like : ObservableScrollView
https://github.com/ksoichiro/Android-ObservableScrollView

How to make a view like MIUI-ROM's preference view?

has anyone been using the MIUI-Rom?
I think its UI is pretty good.
And I wondered how they make it?
Basically, I think it's a preference.
But how to separate the preference view into several section with a header for each?
Here is a picture to give you a direct view.
Please, help me with this, thanks!
You can Do it By Using Segment Radio Button.
See this Example. for your sollution and set the custom view as u need. If it not works for you then let me know.
Thanks.

building an Android Status Bar like the New York Times app

The New York Times Android application has something like a notification bar at the top.
I suspect this is an included layout with a text view. The thing is that they managed to drag that title down in order to present the top news.
Can anyone give any insight on how to replicate this?
Edit:
Yes the drawer was the solution to my problem nevertheless i needed one as New York time and the default SlidingDrawer are meant to only go bottom to top... so i looked over on St Google and got a nice Custom Componente Sliding Drawer, get some difficult to make it work as i need it but you can follow the case in Layout positioning problem with Custom SlidingDrawer
I think what you're looking for is a Sliding Drawer.
http://developer.android.com/reference/android/widget/SlidingDrawer.html
edit:
the link I post is good for the documentation, but might not give a full idea of what is actually happening. A good place to find an example might be here:
http://techdroid.kbeanie.com/2009/08/android-sliding-drawer-example.html
They have most likely just used a TextView as you said. Moving it down can be done in multiple ways. The simplest is just to have another view or view group in top of it and initially set its visibility to gone, and then to visible when you want to show it.
Sorry, i misunderstood what you meant. Since the top element was so small, i simply thought you meant you wanted to expose a element on top of the other element. Ill up vote the other answer since this is most likely what you are after :)

Categories

Resources