Git Product home page Git Product logo

Comments (10)

AlphaHans avatar AlphaHans commented on May 18, 2024 1

@GIGAMOLE aaaaaa~~~~ I find the problem!!!!
the icon need to put into the drawable folder!
image
image
But at first , i brought them into the drawable-xxdpi folder.!
image
image

aaaa~~Thanks for your patience !!! Thanks for your answer!!!

from navigationtabbar.

GIGAMOLE avatar GIGAMOLE commented on May 18, 2024

Hello. Thanks for your response. Try to wrap your NTB in FrameLayout. Its almost the same issue:
#6

from navigationtabbar.

AlphaHans avatar AlphaHans commented on May 18, 2024

@GIGAMOLE I'm sorry。Is it my misunderstanding? I just totally copy your layout code from the samples. The layout's name is "acitivty_horizontal_ntb".

<?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"
    android:background="#423752"
    android:orientation="vertical">

    <android.support.v4.view.ViewPager
        android:id="@+id/home_view_pager"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/wrapper_ntb_horizontal"/>

    <FrameLayout
        android:id="@+id/wrapper_ntb_horizontal"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true">

        <View
            android:id="@+id/bg_ntb_horizontal"
            android:layout_width="match_parent"
            android:layout_height="52dp"
            android:layout_gravity="bottom"
            android:background="#605271"/>

        <com.gigamole.library.NavigationTabBar
            android:id="@+id/home_bottom_tab"
            android:layout_width="match_parent"
            android:layout_height="60dp"
            app:ntb_badge_gravity="top"
            app:ntb_badge_position="right"
            app:ntb_badged="true"
            app:ntb_scaled="true"
            app:ntb_title_mode="all"
            app:ntb_titled="true"/>

    </FrameLayout>

</RelativeLayout>

I just change the ViewPager's id and NTB's id. but it seems that it doesn't work!

image
Would you help me debug again?

from navigationtabbar.

AlphaHans avatar AlphaHans commented on May 18, 2024

@GIGAMOLE OMG! I just download your samples,and copy your activity and layout into my project,and i find that it doesn't work ,too! Why? Do you have any idea?

from navigationtabbar.

AlphaHans avatar AlphaHans commented on May 18, 2024

@GIGAMOLE Hello! I had written down a letter to your gmail! I'm waiting for your response! please help me! Thanks!

from navigationtabbar.

GIGAMOLE avatar GIGAMOLE commented on May 18, 2024

I dont understand why its happen. I have test on meny devices, but this bug i have not seen before. What is yor device? Is this tablet? Maybe your icons incorrect?

from navigationtabbar.

AlphaHans avatar AlphaHans commented on May 18, 2024

@GIGAMOLE I think it's not about devices. When I run your samples ,it's working! But in my project, it doesn't work! My letter is not sent successfully, i try send again. In the letter, my project is included

from navigationtabbar.

AlphaHans avatar AlphaHans commented on May 18, 2024

@GIGAMOLE can you offer me your outlook 's email? because in china,it is diffcult to send email to gmail. lol

from navigationtabbar.

GIGAMOLE avatar GIGAMOLE commented on May 18, 2024

Thank you for this issue. Its great that you fix your problem. Also, i have some tips. If you put your drawable into speciffic folder you must put in all other folders according to the screen specs, if not just put your drawables into drawable folder, like in your situation. Thanks.

from navigationtabbar.

whdals0 avatar whdals0 commented on May 18, 2024

Thank you so much. GIGAMOLE. It's perfect solution!!!!

from navigationtabbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.