android-tablayout Questions

1

Solved

My activity uses TabLayout + ViewPager. The number of tabs and pages here are dynamic depending on the data fetch from the server. The crash are reported via Crashlytics, I'm not able to replica...

1

I'm using android.support.design.widget and I need to set the position of TabLayout at the activity_main.xml in the bottom of the screen. I've seen that you can use TabHost, but I prefer to use an...
Rufinaruford asked 19/1, 2016 at 8:30

2

Solved

I have this generated XML code when I started a new Tabbed Activity: <?xml version="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas....
Shoshonean asked 5/1, 2017 at 9:37

1

Solved

I wanted to achieve this animation, which is the search edit box overlays the tab-layout, I must tell that I tried this code on the parent layout android:animateLayoutChanges="true" and set the tab...
Frederique asked 3/11, 2016 at 19:13

0

Well After Spending hours together on the issue I finally thought to post here for the Solution... App Hierarchy is as Follows: tab1/tab2/tab3/tab4 (Tab Views with ViewPagers) tab1 has Another ta...

3

Solved

Hi I have Tablayout with Viewpager and i am using Fragment for tablayout. Now in every Tablayout fragments I have Recyclerview and displaying items.Please See this my json response http://pastebi...

4

I am trying to make my ViewPager Tab text in small caps but its not working, I have searched and checked other post related to this, tried their solution, but still doesn't work <style name="M...

6

Solved

I'm following this example.. I'm having one issue, when I swipe on ViewPager respective fragment appear but when I swipe from from left to right or right to left and select previous Tab the Tab in...

2

Solved

I have a ViewPager using a TabLayout with several fragments. I would like to click a button from one of the ViewPager fragments and direct the user to another tab/fragment using the tab name. When...
Buccinator asked 14/9, 2016 at 22:10

2

Solved

My question has been answered several times when it's a TabActivity with tabWidgets. But I couldn't find anything about the relativly new TabLayout view. It's quite simple, like facebook, I want a...
Greatest asked 9/3, 2016 at 15:35

3

I have implemented this example. but not able to click on 2nd tab. my xml file looks like <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:l...
Trotskyism asked 21/12, 2015 at 13:56

4

Solved

I am using a navigation drawer plus a tablayout. I have a video in my tab which was not visible at first, but I can hear the sound. Once I set video_view.setZOrderOnTop(true); and I can also see...

3

Here is my tab layout XML <android.support.design.widget.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="@dimen/custom_tab_layout_height" android...
Saberhagen asked 21/1, 2016 at 5:18

7

Solved

I'm having an issue with the TabLayout attached to my ViewPager. Repro steps: Start on the first tab. Select the 2nd tab. Press the back button--my code sees that the user is on the second tab a...
Frayda asked 15/2, 2016 at 23:12

3

Solved

What I want. In a tab sliding menu context, I want to replace a fragment to another inside a tab, and maintaining the tab menu, and also the current tab. When sliding to another tab and returning ...

5

Solved

I'm currently experimenting with various new components in the new Android Support Design library. I've implemented a NavigationView in my MainActivity.java, which uses a FragmentManager to navigat...

2

I have setUp tabLayout with ViewPager which has 5 Fragments. tabLayout with android:layout_gravity set to bottom . Third fragment has editText which when focused , my tabs come over the keyboard. ...

3

Solved

I'm using TabLayout to display different input methods. The first tab contains buttons and the fourth tab should display the standard keyboard embedded in this TabLayout. Here a screenshot how it s...
Dispeople asked 12/7, 2016 at 10:57

1

Solved

Is there really really no easy way to use a TabLayout and be able to set the colors of the tabs (selected, not selected)? Like the selected tab background uses colorPrimary, non selected tabs uses ...

2

Solved

I want to put an animation when i am taping the tab i want image rotation animation on tab icon. Below is the Example but it is in iOS.
Inquiry asked 28/6, 2016 at 6:42

2

Solved

Recently google added android.support.design.widget.TabItem in supportDesign as documentation said: TabItem is a special 'view' which allows you to declare tab items for a TabLayout within a la...

4

Solved

I am using the TabLayout from Android Design support library. How can I use MODE_SCROLLABLE along with GRAVITY_FILL so that it looks the same across all devices and orientations? Currently if I us...
Mobley asked 8/7, 2015 at 21:44

2

Solved

I have a custom viewpager (with swiping disabled for reasons) working with a tablayout. The content changes based on which tab is selected. I want to test this using espresso: 1) Click on a particu...
Augend asked 10/11, 2015 at 22:11

2

I want to implement a wizard with Material Design Support library. I'm using ViewPager and Tablayout but I have a problem adding new tabs dynamically. First, I set up my widgets in onCreate meth...
Entomostracan asked 16/12, 2015 at 20:19

1

I am trying to do color selector, when tab selected his color will be white, and when unselected - other color. For this goal I use setColorFilter. But tab icon color is not clear white when select...
Perimorph asked 27/4, 2016 at 6:36

© 2022 - 2024 — McMap. All rights reserved.