kandi background
Explore Kits

ahbottomnavigation | Bottom Navigation guidelines from Material Design | Navigation library

 by   aurelhubert Java Version: v2.3.4 License: No License

 by   aurelhubert Java Version: v2.3.4 License: No License

Download this library from

kandi X-RAY | ahbottomnavigation Summary

ahbottomnavigation is a Java library typically used in User Interface, Navigation applications. ahbottomnavigation has no bugs, it has no vulnerabilities, it has build file available and it has medium support. You can download it from GitHub, Maven.
Library to implement the Bottom Navigation component from Material Design guidelines (minSdkVersion=14).
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • ahbottomnavigation has a medium active ecosystem.
  • It has 3872 star(s) with 699 fork(s). There are 73 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 129 open issues and 249 have been closed. On average issues are closed in 20 days. There are 14 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of ahbottomnavigation is v2.3.4
ahbottomnavigation Support
Best in #Navigation
Average in #Navigation
ahbottomnavigation Support
Best in #Navigation
Average in #Navigation

quality kandi Quality

  • ahbottomnavigation has 0 bugs and 0 code smells.
ahbottomnavigation Quality
Best in #Navigation
Average in #Navigation
ahbottomnavigation Quality
Best in #Navigation
Average in #Navigation

securitySecurity

  • ahbottomnavigation has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • ahbottomnavigation code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
ahbottomnavigation Security
Best in #Navigation
Average in #Navigation
ahbottomnavigation Security
Best in #Navigation
Average in #Navigation

license License

  • ahbottomnavigation does not have a standard license declared.
  • Check the repository for any license declaration and review the terms closely.
  • Without a license, all rights are reserved, and you cannot use the library in your applications.
ahbottomnavigation License
Best in #Navigation
Average in #Navigation
ahbottomnavigation License
Best in #Navigation
Average in #Navigation

buildReuse

  • ahbottomnavigation releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
  • Installation instructions are not available. Examples and code snippets are available.
  • ahbottomnavigation saves you 1319 person hours of effort in developing the same functionality from scratch.
  • It has 2958 lines of code, 208 functions and 44 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
ahbottomnavigation Reuse
Best in #Navigation
Average in #Navigation
ahbottomnavigation Reuse
Best in #Navigation
Average in #Navigation
Top functions reviewed by kandi - BETA

kandi has reviewed ahbottomnavigation and discovered the below as its top functions. This is intended to give you an instant insight into ahbottomnavigation implemented functionality, and help decide if they suit your requirements.

  • Initialize the bottom navigation .
  • Creates the small items .
  • Initializes the settings .
  • Ensures that the given child object is animating .
  • Setup with navigation items
  • Apply a color to an image drawable .
  • Update the floating action button .
  • Override this method to be called when a nested view has been nested .
  • Get the drawable from the context .
  • Override this method to intercept touch events .

ahbottomnavigation Key Features

Follow the bottom navigation guidelines (https://www.google.com/design/spec/components/bottom-navigation.html)

Add 3 to 5 items (with title, icon & color)

Choose your style: Classic or colored navigation

Add a OnTabSelectedListener to detect tab selection

Support icon font color with "setForceTint(true)"

Manage notififcations for each item

Enable/disable tab state

Gradle

copy iconCopydownload iconDownload
dependencies {
    compile 'com.aurelhubert:ahbottomnavigation:2.3.4'
}

XML

copy iconCopydownload iconDownload
<com.aurelhubert.ahbottomnavigation.AHBottomNavigation
        android:id="@+id/bottom_navigation"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"/>

Activity/Fragment

copy iconCopydownload iconDownload
AHBottomNavigation bottomNavigation = (AHBottomNavigation) findViewById(R.id.bottom_navigation);

// Create items
AHBottomNavigationItem item1 = new AHBottomNavigationItem(R.string.tab_1, R.drawable.ic_maps_place, R.color.color_tab_1);
AHBottomNavigationItem item2 = new AHBottomNavigationItem(R.string.tab_2, R.drawable.ic_maps_local_bar, R.color.color_tab_2);
AHBottomNavigationItem item3 = new AHBottomNavigationItem(R.string.tab_3, R.drawable.ic_maps_local_restaurant, R.color.color_tab_3);

// Add items
bottomNavigation.addItem(item1);
bottomNavigation.addItem(item2);
bottomNavigation.addItem(item3);

// Set background color
bottomNavigation.setDefaultBackgroundColor(Color.parseColor("#FEFEFE"));

// Disable the translation inside the CoordinatorLayout
bottomNavigation.setBehaviorTranslationEnabled(false);

// Enable the translation of the FloatingActionButton
bottomNavigation.manageFloatingActionButtonBehavior(floatingActionButton);

// Change colors
bottomNavigation.setAccentColor(Color.parseColor("#F63D2B"));
bottomNavigation.setInactiveColor(Color.parseColor("#747474"));

// Force to tint the drawable (useful for font with icon for example)
bottomNavigation.setForceTint(true);

// Display color under navigation bar (API 21+)
// Don't forget these lines in your style-v21
// <item name="android:windowTranslucentNavigation">true</item>
// <item name="android:fitsSystemWindows">true</item>
bottomNavigation.setTranslucentNavigationEnabled(true);

// Manage titles
bottomNavigation.setTitleState(AHBottomNavigation.TitleState.SHOW_WHEN_ACTIVE);
bottomNavigation.setTitleState(AHBottomNavigation.TitleState.ALWAYS_SHOW);
bottomNavigation.setTitleState(AHBottomNavigation.TitleState.ALWAYS_HIDE);

// Use colored navigation with circle reveal effect
bottomNavigation.setColored(true);

// Set current item programmatically
bottomNavigation.setCurrentItem(1);

// Customize notification (title, background, typeface)
bottomNavigation.setNotificationBackgroundColor(Color.parseColor("#F63D2B"));

// Add or remove notification for each item
bottomNavigation.setNotification("1", 3);
// OR
AHNotification notification = new AHNotification.Builder()
    .setText("1")
    .setBackgroundColor(ContextCompat.getColor(DemoActivity.this, R.color.color_notification_back))
    .setTextColor(ContextCompat.getColor(DemoActivity.this, R.color.color_notification_text))
     .build();
bottomNavigation.setNotification(notification, 1);

// Enable / disable item & set disable color
bottomNavigation.enableItemAtPosition(2);
bottomNavigation.disableItemAtPosition(2);
bottomNavigation.setItemDisableColor(Color.parseColor("#3A000000"));

// Set listeners
bottomNavigation.setOnTabSelectedListener(new AHBottomNavigation.OnTabSelectedListener() {
	@Override
	public boolean onTabSelected(int position, boolean wasSelected) {
		// Do something cool here...
        return true;
	}
});
bottomNavigation.setOnNavigationPositionListener(new AHBottomNavigation.OnNavigationPositionListener() {
	@Override public void onPositionChange(int y) {
		// Manage the new y position
	}
});

With XML menu

copy iconCopydownload iconDownload
int[] tabColors = getApplicationContext().getResources().getIntArray(R.array.tab_colors);
AHBottomNavigation bottomNavigation = (AHBottomNavigation) findViewById(R.id.bottom_navigation);
AHBottomNavigationAdapter navigationAdapter = new AHBottomNavigationAdapter(this, R.menu.bottom_navigation_menu_3);
navigationAdapter.setupWithBottomNavigation(bottomNavigation, tabColors);

License

copy iconCopydownload iconDownload
AHBottomNavigation library for Android
Copyright (c) 2018 Aurelien Hubert (http://github.com/aurelhubert).

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Google play: We found ad SDKs in your app

copy iconCopydownload iconDownload
exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'

implementation ('com.google.firebase:firebase-core:18.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-invites:17.0.0'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-auth:20.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-messaging:21.1.0'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }

implementation ('com.google.firebase:firebase-crashlytics:17.4.1'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-analytics:18.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }

Android: Dependency issue : Gradle support-v4:18.0.+

copy iconCopydownload iconDownload
dependencies {  
    compile('com.android.support:support-v4:18.0.+') // this dependency will be fully excluded ...
    { 
        exclude module: 'support-v4' // ... because of this line
    }
    compile 'com.android.support:support-v4:27.0.2' // this dependency will be added with all transitive dependencies
}
dependencies {
    compile 'com.android.support:support-v4:27.0.2' // this dependency will be added with all transitive dependencies
}
-----------------------
dependencies {  
    compile('com.android.support:support-v4:18.0.+') // this dependency will be fully excluded ...
    { 
        exclude module: 'support-v4' // ... because of this line
    }
    compile 'com.android.support:support-v4:27.0.2' // this dependency will be added with all transitive dependencies
}
dependencies {
    compile 'com.android.support:support-v4:27.0.2' // this dependency will be added with all transitive dependencies
}

Community Discussions

Trending Discussions on ahbottomnavigation
  • Google play: We found ad SDKs in your app
  • Gradle - Could not find androidx.core:core:1.0.0
  • App closes when item on bottom navigation view is selected to replace fragment
  • React-Native error when running with react-native run-android
  • Android: Dependency issue : Gradle support-v4:18.0.+
Trending Discussions on ahbottomnavigation

QUESTION

Google play: We found ad SDKs in your app

Asked 2021-May-23 at 21:06

I have this warning in the google play console, which tells me that I have ads in the app, but I did not use any ads in my app.

Ads Let us know whether your app contains ads. This includes ads delivered by third party ad networks. Make sure this information is accurate and is kept up to date. Learn more

We found ad SDKs in your app

This is Gradle dependencies, I did not know which library uses ads dependency, How I should know?

dependencies {

    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation('de.keyboardsurfer.android.widget:crouton:1.8.5@aar') {

    }

    implementation files('libs/android-viewbadger.jar')
    implementation "org.androidannotations:ormlite-api:$AAVersion"
    annotationProcessor "org.androidannotations:ormlite:$AAVersion"
    implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.recyclerview:recyclerview:1.2.0'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'com.google.android.material:material:1.3.0'
    implementation 'androidx.legacy:legacy-support-v4:1.0.0'
    implementation 'androidx.multidex:multidex:2.0.1'
    implementation 'com.google.code.gson:gson:2.8.6'
    implementation 'com.squareup.picasso:picasso:2.8'
    implementation 'com.koushikdutta.ion:ion:2.2.1'
    implementation 'com.google.firebase:firebase-core:18.0.3'
    implementation 'com.google.firebase:firebase-invites:17.0.0'
    implementation 'com.google.firebase:firebase-auth:20.0.3'
    implementation 'com.google.firebase:firebase-messaging:21.1.0'
    implementation 'com.google.android.gms:play-services-maps:17.0.0'
    implementation ('com.google.android.libraries.places:places:2.4.0'){
        exclude group: "com.android.volley"
    }
    implementation 'com.google.android.gms:play-services-auth:19.0.0'
    implementation 'me.leolin:ShortcutBadger:1.1.22@aar'
    implementation 'com.j256.ormlite:ormlite-android:5.1'
    implementation 'com.j256.ormlite:ormlite-core:5.1'
    implementation'com.facebook.android:facebook-android-sdk:7.0.1'
    implementation 'com.github.PhilJay:MPAndroidChart:v2.2.5'
    implementation 'net.objecthunter:exp4j:0.4.7'
    implementation ('com.squareup.okhttp3:okhttp:3.12.10'){
        force = true
    }
    implementation 'com.kyanogen.signatureview:signature-view:1.1@aar'
    implementation 'pl.bclogic:pulsator4droid:1.0.3'
    implementation 'com.nineoldandroids:library:2.4.0'
    implementation 'com.github.pwittchen:reactivenetwork-rx2:3.0.1'
    implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
    implementation 'com.github.alxrm:audiowave-progressbar:0.8'
    implementation 'net.danlew:android.joda:2.9.5.1'
    implementation 'com.github.paolorotolo:expandableheightlistview:1.0.0'
    implementation 'com.asksira.android:webviewsuite:1.0.3'
    implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
    implementation 'com.facebook.shimmer:shimmer:0.1.0@aar'
    implementation 'com.google.firebase:firebase-crashlytics:17.4.1'
    implementation 'com.google.firebase:firebase-analytics:18.0.3'
    implementation 'com.aurelhubert:ahbottomnavigation:2.1.0'
    implementation 'moe.feng:MaterialStepperView:0.2.4.2'
    implementation 'com.github.danielceinos:Cooper:1.0.1'
    implementation 'com.zhihu.android:matisse:0.5.3-beta3'
    implementation 'cards.pay:paycardsrecognizer:1.1.0'

    // Payments gateways SDK
    implementation 'com.eway.payment:android-sdk:1.2.2'
    implementation 'com.stripe:stripe-android:6.1.1'
    implementation 'com.squareup.sdk:point-of-sale-sdk:2.0'
    implementation 'net.authorize:accept-sdk-android:1.0.2'
    implementation(name: 'wepay-android-3.0.0', ext: 'aar')

    //Location Library
    implementation 'io.nlopez.smartlocation:library:3.3.3'
    implementation 'com.tomergoldst.android:tooltips:1.0.10'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0', {
        exclude group: 'com.android.support', module: 'support-annotations'
    }
    androidTestImplementation 'androidx.test:rules:1.1.0'
    androidTestImplementation 'com.google.code.findbugs:jsr305:1.3.9'
    androidTestImplementation 'androidx.test.espresso:espresso-contrib:3.1.0', {
        exclude group: 'com.android.support', module: 'support-annotations'
        exclude group: 'com.android.support', module: 'support-v4'
        exclude group: 'com.android.support', module: 'design'
        exclude group: 'com.android.support', module: 'recyclerview-v7'
    }
}
android {
    configurations.all {
        resolutionStrategy.force 'com.google.code.findbugs:jsr305:1.3.9'
    }
}

apply plugin: 'com.google.gms.google-services'
// Add the Firebase Crashlytics plugin.
apply plugin: 'com.google.firebase.crashlytics'

ANSWER

Answered 2021-May-23 at 21:06

the ads dependencies come from firebase, exclude ads dependence from firebase

exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'

implementation ('com.google.firebase:firebase-core:18.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-invites:17.0.0'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-auth:20.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-messaging:21.1.0'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }

implementation ('com.google.firebase:firebase-crashlytics:17.4.1'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }
    implementation ('com.google.firebase:firebase-analytics:18.0.3'){
        exclude group: 'com.google.android.gms', module : 'play-services-ads-identifier'
    }

Source https://stackoverflow.com/questions/67659826

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install ahbottomnavigation

You can download it from GitHub, Maven.
You can use ahbottomnavigation like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the ahbottomnavigation component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

Support

Feel free to create issues / pull requests.

DOWNLOAD this Library from

Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

Explore Related Topics

Share this Page

share link
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
over 430 million Knowledge Items
Find more libraries
Reuse Solution Kits and Libraries Curated by Popular Use Cases

Save this library and start creating your kit

  • © 2022 Open Weaver Inc.