Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

In iOS, we have a UITabBarController which stays permanently at the bottom of the screen when we push to a new ViewController. In Flutter, we have a bottomNavigationBar of a Scaffold. However, unlike iOS, when we Navigator.push to a new screen, this bottomNavigationBar disappears. In ...

  • 0

I have implemented BottomNavigationView which is available from the new support library 25.0.0. Here is my code for that <android.support.design.widget.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" app:itemBackground="@color/colorPrimary" ...

  • 0

According to the material design spec, when the keyboard appears, the BottomNavigationView should hide underneath it. However, if I set android:windowSoftInputMode="adjustResize" in the Activity’s manifest then the BottomNavigationView moves above the keyboard. I need to set adjustResize to enable scrolling to the bottom of the screen while the keyboard ...

  • 0

After upgrading to latest support library ‘28.0.0-alpha1‘ I cannot disable shifting mode in my BottomNavigationView i.e. the BottomNavigationItemView.setShiftingMode() method is no longer available. java.lang.NoSuchFieldException: No field mShiftingMode in class Landroid/support/design/internal/BottomNavigationMenuView; W/System.err: at java.lang.Class.getDeclaredField(Native Method) ...

  • 0

I have to hide bottom navigation view on up scroll and show on down scroll .how to implement this? my layout is like this <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent">...

  • 0

I refer this. Schedules Activity is appeared when I click Schedules, but first item color (Favorites) is always selected. It doesn’t change Schedules item color from Favorites item color. And also, third item (Music). I use android:state_checked NOT android:state_enabled.” If working with startActivity, ...

  • 0

Following is my code for bottom navigation view item selected bottomNavigationView.setOnNavigationItemSelectedListener(new BottomNavigationView.OnNavigationItemSelectedListener() { @Override public boolean onNavigationItemSelected(@NonNull MenuItem item) { Fragment fragment = null; switch (item.getItemId()) { case ...

  • 0

I have added BottomNavigationView in my application like. main.xml <android.support.design.widget.BottomNavigationView android:id="@+id/bottom_navigation" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true" ...

close