Questions tagged [tabview]

Any visual layout that incorporates selectable tabs as an organizational element.

770 questions
2
votes
3 answers

Replace ViewPager fragment based on particular condition

I have created a simple ViewPager TabLayout to display 3 fragments inside 3 tabs. Now, if the user opens another activity and makes some changes, and comes back to the activity containing the ViewPager, the 3rd Fragment should be replaced by a new…
kittu88
  • 2,451
  • 5
  • 40
  • 80
2
votes
1 answer

App crashes on backbutton at tab2 while using TabLayout and ViewPager

I have a fragment named Manage Rules and i am using TabLayout and ViewPager for each item of TabLayout. I have 2 buttons on each pager. When i clicked in a button in Tab2, it called a new fragment, then i pressed back, it crashed. I don't know how…
Harry T.
  • 3,478
  • 2
  • 21
  • 41
2
votes
1 answer

how to display background image one every my selected tab with scroll in android

I am new to android ,first sorry for my bad English I am create tabs using google library similar to whats app tab views, mainactivity public class MainActivity extends AppCompatActivity { Toolbar toolbar; ViewPager pager; …
2
votes
1 answer

Icon in Tab QML

I was looking in documentation of QML but I didn't find: Is there any way to insert image into Tab in TabView in QML? Is there possibility of scrolling Tabs?
Szymson
  • 990
  • 1
  • 13
  • 28
2
votes
1 answer

TabChangeEvent not reaching listener with validation error

I am currently working on a project using Primefaces 4.0 and JEE 6. As a build-tool we use maven, and we got a JBoss Application Server. So it was supposed to be simple. When a validation error occurs, I was supposed to prevent a tab-change in my…
Vogel612
  • 5,620
  • 5
  • 48
  • 73
2
votes
0 answers

Remove icon space from TabHost

I need to remove the space between text and top border. I want it to be aligned to center. Now my TabHost looks like this I need to convert into something like this My styles.xml
LIH
  • 933
  • 2
  • 10
  • 25
2
votes
1 answer

tabview inside another tabview

i 'am trying to put a tabview inside a another tabview but i get error in the ajax event from the tabview inside here is the error javax.el.MethodNotFoundException: Method not found:…
2
votes
3 answers

Moving From one tab view to another by button Click Android ActionBar

I am using http://www.androidhive.info/2013/10/android-tab-layout-with-swipeable-views-1/ to make Tab bar.I have also 3 tab first and the second Tab view contains a List view and third on e is Settings. Settings Contain Reload button. When I clicked…
Renjith Krishnan
  • 2,446
  • 5
  • 29
  • 53
2
votes
4 answers

Call one fragment from another

I'm very bad in explaining things, i'll try to do my best :) I was trying to use a Tabhost and display list fragments in each tab. [ListFragments in tabview]: This is how it looks. On click on the list element, another fragment is invoked to display…
user1743673
  • 99
  • 2
  • 3
  • 11
2
votes
1 answer

Initial tab in a tabview

I have an application with a tab view with multiple tab view items. Whenever I run my application, it opens with the tab view item that was last selected when the application was previously run. I always want the first item to open. I've tried…
2
votes
1 answer

customize action bar tabview

I am trying to create a custom tabview in the action bar, something like this: I got this view: i want to change the background of tabviews indicators, so backgroung color become invisible and we have the green line under the selected tabview…
haythem souissi
  • 3,263
  • 7
  • 50
  • 77
2
votes
2 answers

Change color of line in tab layout

I'm following this tutorial : http://www.androidhive.info/2011/08/android-tab-layout-tutorial/ and I want to change view of tabLayout. I've changed color of tabbed buttons…
Cichy
  • 1,319
  • 3
  • 20
  • 36
2
votes
1 answer

Swapping tabs in android

I want to Swap or Switch with drag Between 3 tabs and for each tab there is a separate Activity.. I tried it out with ScrollView but it does not work... Hope some one can help me out.. When i motion my finger over screen from right to left then the…
Jay Trivedi
  • 21
  • 1
  • 6
1
vote
2 answers

Android tabview icon with background color

I am trying to make a tabview in android that has icon alongwith background. But can't set background of the tab. java intent = new Intent().setClass(this, mainActivity.class); spec = tabHost.newTabSpec("main").setIndicator("Main",…
James Mitchee
  • 143
  • 5
  • 16
1
vote
1 answer

iOS customized tabview bar with different size icons

Is there a way to customize the bottom tabview buttons to have different sizes and even shape. Something like this: Thanks!
James Gu
  • 1,382
  • 4
  • 26
  • 39