All Projects → JP1016 → SuperBadge

JP1016 / SuperBadge

Licence: other
🚀 📛 SuperBadge Android Library 🔥

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to SuperBadge

Image-Support
Add badge with counter to ImageView Android.
Stars: ✭ 128 (+276.47%)
Mutual labels:  custom-view, badge
MutativeFab
This is animating floating action button with text
Stars: ✭ 54 (+58.82%)
Mutual labels:  custom-view
ScratchPaper
A Gradle Plugin for adding variant/version/git-commit-id/etc information to APK launcher icon.
Stars: ✭ 58 (+70.59%)
Mutual labels:  badge
ShowMoreText
This is simple library for creating textview expandable. Like Continue or Less. This library extended versiion TextView. Easy to use.
Stars: ✭ 97 (+185.29%)
Mutual labels:  chip
react-textinput-chip
React library to generate textinput chip.
Stars: ✭ 14 (-58.82%)
Mutual labels:  chip
badgecreatr
Quickly place relevant badges at the top of your readme, stop copy pasting, start on your project
Stars: ✭ 61 (+79.41%)
Mutual labels:  badge
mCustomView
总结了博主这么多年所写的自定义view,以及自定义view的教程
Stars: ✭ 17 (-50%)
Mutual labels:  custom-view
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-11.76%)
Mutual labels:  custom-view
Expo-Badge
A design study for Expo badges
Stars: ✭ 22 (-35.29%)
Mutual labels:  badge
TextButton
⏹️ An easy to use `TextButton` when you need a TextView-like button, with handy touch feedback effects.
Stars: ✭ 19 (-44.12%)
Mutual labels:  custom-view
GoAIRatings
Estimate Go AI ratings by real games
Stars: ✭ 118 (+247.06%)
Mutual labels:  rating
youtube-preview
An extension for previewing YouTube video on its thumbnail when hovering.
Stars: ✭ 61 (+79.41%)
Mutual labels:  rating
android-tableview-kotlin
Android's missing TableView component.
Stars: ✭ 40 (+17.65%)
Mutual labels:  custom-view
PlaceholderTextView
A custom TextView which shows placeholder lines given a sample text when it has no text set
Stars: ✭ 24 (-29.41%)
Mutual labels:  custom-view
PassCodeText
A customised EditText view serving the purpose of taking numeric One Time Password from a user. With stunning animation, and high customizability.
Stars: ✭ 105 (+208.82%)
Mutual labels:  custom-view
RecyclerViewCardGallery
RecyclerView实现循环banner,替代ViewPager方案。能够快速滑动并最终定位到居中位置(相比于原库支持了循环滑动)
Stars: ✭ 610 (+1694.12%)
Mutual labels:  custom-view
RoundCornerProgress
No description or website provided.
Stars: ✭ 14 (-58.82%)
Mutual labels:  custom-view
CustomFormViews
A clean collection of views used for forms.
Stars: ✭ 12 (-64.71%)
Mutual labels:  custom-view
react-native-rating-element
A simple rating library for react native supporting: decimal points, direction aware icons, custom icon set from Ionicons, custom images and record rating given by users.
Stars: ✭ 19 (-44.12%)
Mutual labels:  rating
WaveView
Simple Android library to draw sinusoidal waves.
Stars: ✭ 43 (+26.47%)
Mutual labels:  custom-view

SuperBadge

Android Arsenal

`

SuperBadge Android Library : Android Library to display ratings and other information in a beautiful badge!!

Installation

Step 1. Add the JitPack repository to your build file

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

dependencies {
     implementation 'com.github.JP1016:SuperBadge:v2'
	}

Maven

Step 1. Add the JitPack repository to your build file

<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Step 2. Add the dependency

<dependency>
	    <groupId>com.github.JP1016</groupId>
	    <artifactId>SuperBadge</artifactId>
	    <version>v2</version>
</dependency>

Usage

XML

<com.devzstudio.superbadge.SuperBadge
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/badge"
    app:sb_primaryText="Netflix"
    app:sb_secondaryText="Streaming App"
    app:sb_image="https://media.netflix.com/dist/img/meta-image-netflix-symbol-black.png"
    app:sb_tertiaryText="9.5"
    app:sb_tertiaryTextColor="#FF292A"/>

Java

    //Init
    SuperBadge sb=findViewById(R.id.badge);
	sb.setImage("https://4.bp.blogspot.com/-Nyfdpymc_Lo/VkQw-nJ79mI/AAAAAAAARYg/6o9VeoTvu-I/s1600-r/logo_chrome.png");
        sb.setPrimaryText("Google Chrome");
        sb.setSecondaryText("Web Browser");

        //Callback
        sb.setOnBageClickListener(new SuperBadge.OnBadgeClickListener() {
            @Override
            public void onBadgeClick() {
                Toast.makeText(SampleActivity.this, "Clicked on Badge", Toast.LENGTH_SHORT).show();
            }
        });

Kotlin

  //Init
   val sb = findViewById<SuperBadge>(R.id.badge)
  
  //Callback
  sb.setOnBageClickListener { Toast.makeText(this@SampleActivity, "Clicked on Badge", Toast.LENGTH_SHORT).show() }

License

MIT

For any queries mail me at [email protected] Feel free to customize Notify us to feature your app here , free github backlink for your app

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].