Questions tagged [android-tabstrip]

16 questions
14
votes
3 answers

Android SlidingTabLayout with icons

I am using google's SlidingTabLayout in my view, but i want to add icons to the tabs. I'm using this http://developer.android.com/samples/SlidingTabsBasic/src/com.example.android.common/view/SlidingTabLayout.html Can anyone please help? void…
4
votes
3 answers

How to change the font of PagerTabStrip

I'm using a ViewPager with a PagerTabStrip and I need to set custom fonts (typeface) , but there is no .setTypeFace function for PagerTabStrip! Here is my XML code:
Emad
  • 588
  • 1
  • 9
  • 22
2
votes
3 answers

Android Development: Directing to specific tabs in fragment

This is how the Main Activity looks like. By clicking on each cardview in the main activity it takes me to Activity two which holds fragments with sliding tab layout and recyclerview. The issue i'm having is trying to direct each cardview to its own…
2
votes
1 answer

Viewpager in Android with fixed tabs at bottom with Icon and Text in each tab

I want to create the following layout - an activity with a viewpager along with a tab that stays that the bottom of the activity to indicate which of the 4 fragments the user is in (and the selected tab gets highlighted by an 'active colour') I've…
dowjones123
  • 3,695
  • 5
  • 40
  • 83
2
votes
1 answer

Android Tabs with transparent blurred background

I want to show transparent blurred tabs, so that listactivity screen behind it shows blurred images And tabs without divider.
1
vote
2 answers

Android - material design: tabstrip with sliding tab (titles)

In my App (Material Design) I would like to show (say) 10 tabs. Of those tabs, the tab strip should hold e.g. 4. Now the tabstrip shows all tab-titles with 2 letters per tab. How can I create a sliding tabstrip? So I can scroll through the tab…
tm1701
  • 7,307
  • 17
  • 79
  • 168
1
vote
0 answers

text view not centrally aligned in tab layout perfectly in android

I am using tab layout for my application , but when i try to use this i want to make sure that text i set for tab layout should be center aligned, i tried different tutorials in which i have succeeded but with some issues. Whenever i click on tab…
1
vote
1 answer

Updating offscreen fragments in a ViewPager

I have an application that has three fragments: Records, Chart, and PieChart. These fragments are stored in a ViewPager in a single activity and the user can swipe between them. The Records fragment has a table where the user can enter data. When…
1
vote
2 answers

How to apply padding for Tabs in android

I'm using this library for pagerSlidingTabStrip Component. I have TabStrip which occupies full screen in Portrait Orientation. But In Landscape it doesn't occupy full screen. I'm using app1:paddingLeftRight attribute in tabstrip tag in xml, but it…
0
votes
1 answer

why icons not displayed when i navigate with Tabs?

when i move from first to second to third tabs the icon changed ok but the selector still at the second only > i want to move the icon to the tab of it . first has the selector on it and also the others i use this code public class…
0
votes
1 answer

Tabstrip of tablayout in android

How to customize tabstrip of tablayout especially if we want fixed and user defined width of tabstrip irrespective to tab? Particular, we want tabstrip to the bottom center of each tab but it should not has width more than that tab, neither it…
0
votes
0 answers

PagerSlidingTabStrip - replacing fragments within viewpager

SCOPE I am using the [PagerSlidingTabStrip][1] and I have two tabs (A and B) and a ListFragment in each tab containing 6 list items (1-6) which, when clicked, will transition to another Fragment (C). PROBLEM After 4 days of searching…
0
votes
3 answers

Change the color of the selected TabItem footer

I cannot change the color of the bottom of the selected tab (TabItem) on the TabControl. I need to change from light blue to dark blue as at the top. I'm using Firemonkey for Android and Delphi XE6.
0
votes
1 answer

AndroidSlidingUpPanel with PagerSlidingTabStrip

When I tried to use PagerTitleStrip in the main content with AndroidSlidingUpPanel, the PagerTitleStrip doesnt show up. My structure is: SlidingUpPanelLayout LinearLayout PagerTitleStrip ViewPager LinearLayout slideup layout
0
votes
2 answers

How to remove tabStrip in android?

I want to remove the tab color strip . I tried setStripEnabled(false); but that did not work. Also tried android:tabStripEnabled="false" in xml code. The tab strip still appears on the tab bar. Can someone tell me how I can remove the blue strip…
1
2