ViewPager with right/left scroll - android

could somebody help me and give a example of how can I do a viewpager that can be rotated right/left, something like this: http://1.bp.blogspot.com/-0Sjg8-LaZuo/TkxHAPOkAkI/AAAAAAAACgM/VjNo-nK9fuk/s1600/device-2011-08-18-005327.png
thanks!!!

What you need is this http://viewpagerindicator.com/
Best solution I have seen so far.
Archive that you'll find on this site contains both library and example showing how to implement such type of GUI in you app.

Related

Sliding TabLayout Always in Center

Hello first of all i'm a newbie for the libraries stuff.
I found a Demo Project on Github here but it contains more than i need
I want this like Slider
Image
I have optimized it but its not working. So someone here, please take a look and guide me
Or any other stuff by which i can make that like layout?
Need to use padding for SlidingTabStrip. TabLayout has only app:tabContatentStart property, but you need to set both sides for this behavior.
Look here: https://stackoverflow.com/a/36886331/651770

SlidingTabLayout with subtabs

I would like to implement subtabs in SlidingTabLayout.
I searched a lot, but I don't have found anything like it.
Does anyone have a solution or a suggestion for implementing this?
Thanks.
There's quite a simple approach. You can associate you main tabs with viewpagers. Then, in those viewpagers you may add more slidingtablayouts in order to attain what you want to. I've got it working successfully. So nest the slidingtablayouts and you'll do fine. If you want some code, feel free to ask for it.
I implemented a simple example of sub tabs with slidingtab:
https://github.com/steinmetz/SubSlidingTabs

Accordion / ExpandableListView on Android

I'm trying to create an accordion in Android that has the following features:
Slide animation when opening a tab
Alignment to the top when opening a tab
The ability to be used inside a fragment and not inside an activity
Any idea to how to accomplish all these points? I've seen a lot of libraries that however luck of one or more of this points (and I cannot fix the remaining myself :( ).
Any idea? Also pointers to how-to-guides to how to fix the missing points would be really useful! Thanks
If you are interested on how I solved the problem, you can find the code here: https://github.com/filnik/AndroidSmoothAccordion
It is "quick-and-dirty" but it does the job.

Android 4.0 - Youtubestyled Tabhost - How is that possible?

What I try to do
Hello Guys, I'm creating an app, and I want that it looks nice and simple to control. In my app I got a Tabhost with 3 Tabs. Every Tab is a fragment with diffrent content. Now its the problem, when I switch the tab. I have to do this over a click on the tabhost.
But if you take a look at the Youtube-App on Android 4.0 its possible to switch the tab over a swipe gesture. And exactly here I stuck, how is that possible.
I searched the web, took a look into the Android Documentation, but I didn't really find anything about this topic. So how is that possible to create something like that?
Question
What do I need to do, that I can switch in my tabhost like its done in the Youtube-App. If you have some great tutorials, code snippets or any other tipps, please post them.
Thx for your help in advance.
safari
Pictures
Here you find some pictures to explain better what I'd like to create. They are ordered chronologically.
They are using a ViewPager for that.
ActionBarSherlock samples contains great examples of ViewPager+Fragments tabs:
http://goo.gl/GpbY4

Tab buttons similar to iPhone

I was just wondering if anyone knew of an open-source custom view or even a way to make a decent strip of buttons on Android similar to the image below
I have looked at the tab views and such Android provides and it isn't what the client is looking for in terms of aesthetics. Any help would be appreciated, thanks!
You probably should implement a custom RadioGroup to implement the UISegmentedControl you have shown in the image. see this github project which implements just that!
https://github.com/makeramen/android-segmentedradiobutton
Here is another resource i've used to implement the same thing you're after:
http://blog.bookworm.at/2010/10/segmented-controls-in-android.html

Categories

Resources