Custom tabs on android - android

I want to create some tabs on android but I do not know if this kind of tabs is possible to create on android. If they are possible can someone give me some link to a similar tutorial or example so I can take a look how to create such tabs in android.
Here is what I'm looking for:
I need to have 2 tabs left and right, and a logo in the center that is not clickable.

You can use my library on Github it allows you to create a custom tab layout and use it. So you can create a layout which contains both image and text, and then you can modify tab according to position.

Related

advanced Android menu

Hi Everyone
I'm new in android and i'd like to do a menu for an application.
I want to replicate the menu style of this game that has different section
http://i.giphy.com/l4Jz4PbvjJEZHZn8c.gif
I have 3 different xml layout that i want to show in my horizontal style menu capable of swiping from a layout to another.
I have heard i could use something called horizontal ListView but i don't really know how to use it.
How do i do?
try Sliding tab Layout. Its the same function just need to edit the codes for different design

Make Tabbed Layout with Custom ActionBar?

I am trying to make custom profile page , Tabbed layout is embed within ActionBar , and Tabs can change both with sliding and click on other tab.
I just started playing with ActionBar , and didn't understood what are major differences between Sherlock / simple ActionBar.
Here is what i am trying to make right now:
Any Help in any form appreciated , There is no similar Github lib or helper code at net/SO , so i can't figure out how i should get started
You will need to use a TabLayout along with a ViewPager. These are standard controls. Google it or see here for an example of how to use it. ActionBarSherlock isn't used anymore. Instead we use a Toolbar.

How to implement Image slider with indicator in android

I want to implement image slider in android similar to this . But I need to do this without any third party dependencies . Is there any sample for implementing the same using View pager , or anything else. I need the exact slider style , with dot indicator
Follow the steps below to implement the same.
Step1:
create two circle images, one for on and other for off.
Step2:
Create three blank fragments for displaying the image. you can create as many as you want.
Step3:
Create a footer.xml to place the circle indicator.
Step4:
Create a fragment_main.xml to place the viewpager.
Step5:
Create an adapter class.
Please check this http://javaant.com/viewpager-with-circle-indicator-in-android/#.Vx3_gJN96Ht
to download the complete code

Android change layout by sliding left/right

I tried many times to create a layout that contain multiple layouts and switch between these layouts by sliding left or right like on WhatsApp or Facebook apps.
I have used some LinearLayout, TableLayout and ScrollView but I didn't found the way to achieve it.
Do you have any solution please ?
What do you want to do is a Material Design Sliding Tabs ? I implemented that functionality in my app following this guide
You probably want to use Androids ViewPager and set up your views as fragments, it has built in swipe gestures to transition through pages so should cover what you need.
Check out this example, it's also got a sample app you can download and test out:
http://developer.android.com/training/animation/screen-slide.html

ViewPager - How can I change how this looks? - android

I'm developing an app that is using "tabs". I have successfully implemented a design that uses these tabs in conjunction with a number of fragments.
however, I believe that these tabs look pretty ugly. I want to customize how they appear! I prefer them to appear as plain text next to eachother with a "|" between them and underline the tab that the user is one. Rather than the way they are currently designed which is each text per tab is separated evenly with a blue bar underneath it representing that it is selected.
I am not sure where to start. how can I go about doing this?
Check out the PagerSlidingTabStrip
http://www.androidviews.net/2013/04/pager-sliding-tabstrip/
https://github.com/astuetz/PagerSlidingTabStrip
You can hook it up to your viewpager and customize your tabs in many different ways.
Hope it helps!

Categories

Resources