android-tablayout Questions

3

Solved

I have 7 dates tabs in my screen. However, if the date falls on another month, I do not allow user to click on that tabs. I want to make them visible but not clickable. This is part of my code:...
Ample asked 29/11, 2016 at 10:17

5

i am setting tablayout to my viewpager . but when i use notifyDataSetChanged then it removing my customview and showing default title view my code ViewPager viewPager = findView(R.id.view_pager...
Ratan asked 14/5, 2016 at 7:29

1

I have checked other answers and articles. But couldn't find what I am looking for. I might be missing something. I have a tabbed activity which contains three fragments: FragmentHome (Tab 1),...

4

I am using android support design tablayout. Here's my code: <android.support.design.widget.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="wrap_...

4

I am stuck in solving this problem. I have set tabs in fragment using TabLayout and ViewPager. The problem is when i move to next fragment and then i press back button i get empty tabs view. Here I...

5

Solved

Currently, I have the following page with ViewPager When the page in INFO tab is scrolled, toolbar will be hidden. This behavior is implemented via CoordinatorLayout, AppBarLayout and app:...
Chetnik asked 26/9, 2017 at 20:43

5

Solved

public class LoginRegister extends AppCompatActivity implements SignUpFragment.OnFragmentInteractionListener ,SignInFragment.OnFragmentInteractionListener{ @Override protected void onCreate(Bundle ...
Hispaniola asked 15/3, 2016 at 17:6

2

I have an xml layout that has following views Scrollview->RelativeLayout->Some Views + Tablayout + ViewPager->Recylerview(In Fragment of ViewPager). ViewPager has some fixed height (Keeping it "Wra...

5

I have sample project with TabLayout and PagerAdapter. Strange things happens with TabLayout when I call pagerAdapter.notifyDataSetChanged(); after tabLayout.setupWithViewPager(viewPager); TabLayo...
Kurtiskurtosis asked 27/3, 2017 at 20:38

2

Solved

I'm using TabLayout and ViewPager together to do a tabbed viewpager. I've got a weird behavior in landscape where TabLayout.GRAVITY_FILL and TabLayout.MODE_FIXED don't seem to work, regardless of ...

2

Solved

I want to use TabLayout with TabItem with following code: <android.support.design.widget.TabLayout android:id="@+id/tabs" android:layout_width="match_parent" android:layout_height="wrap_con...

5

In tab custom layout I set its parent element to match_parent and set its background color. When I run it tabs are shown custom layout wrapping the elements imageview and textview. I want this cust...

2

i have viewpager that have 4 tab which implement it with tablayout. because i wanted to change the font to custom font i used a custom tab layout. now the problem is that the selected tab text colo...
Privatdocent asked 11/12, 2016 at 15:5

7

Solved

I currently have a DrawerLayout in my main.xml. There's a Toolbar wrapped in an AppBarLayout, and then a simple LinearLayout to swap out fragments. One of the fragments I navigate to, I want it t...

1

Solved

Yesterday I am playing with CoordinatorLayout with TabView 1) What is my target ? CoordinatorLayout with TabView When I scroll up at that time One View As show in .GIF move down. and Stick on t...

2

Solved

I have a TabLayout, where I want the tabs to be displayed in the center of the screen. Below is the XML for my TabLayout. <android.support.design.widget.TabLayout android:id="@+id/tabs" andro...
Crossstaff asked 24/4, 2017 at 12:54

4

Solved

So I'm trying to get a tab bar and layout underneath my main navigation bar working on my main activity. I can't seem to get the ViewPager/TabLayout (unsure which is the cause of the problem, new ...

4

Solved

I made an app in which I have displayed a Google Map with GPS location marker on my location. This map is on the 1st tab, and I also have two other tabs as shown in picture below Now I am facin...

3

I am using TabLayout and ViewPager <android.support.v4.view.ViewPager android:id="@+id/view_pager_social_profiles" android:layout_width="match_parent" android:layout_height="match_parent" a...

3

I got something when I was trying to add TabLayout below the Toolbar. I've tried a tab like suggested in this question by adding <android.support.design.widget.TabLayout />, but it positioned...

2

I want to display tabview in dialog. I have one main class file which extend to FragmentActivity and inside that i am showing dialog by calling this method like given below. private void dialogDi...
Inclinometer asked 22/12, 2016 at 8:50

9

Solved

Edit I have followed these tutorials to fix this problem. http://www.truiton.com/2015/06/android-tabs-example-fragments-viewpager/ https://guides.codepath.com/android/google-play-style-tabs-using...

1

Solved

i am working with ViewPager + TabLayout. It was working fine, but after i added navigation bar, the TabLayout is not showing tabs. I searched for solution but none of them helped. It will be really...
Threnode asked 21/2, 2017 at 12:21

1

Solved

I followed this to create an Android Radio Stream over there It's working fine So I am trying to add a tab-layout to this So I followed this to add Tab layout Over there I have Added But I got L...
Latimer asked 10/2, 2017 at 7:22

1

Solved

Im developing an RTL app which uses TabLayout (Scrollable mode) and ViewPager for sliding fragment pages ! after testing it for different api i've notice abnormal behavier of TabLayout in api 17 an...
Montelongo asked 7/6, 2016 at 4:55

© 2022 - 2024 — McMap. All rights reserved.