Created
January 21, 2016 06:18
-
-
Save pacificregmi/2f2bbfe15f18b749669e to your computer and use it in GitHub Desktop.
Adding Badge (Item Count) to Android Button - AndroidNotificationCountBadge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Adding a notification badge to a buttons | |
package viralandroid.com.androidxmluserinterfacetutorial; | |
import android.os.Bundle; | |
import android.support.v7.app.AppCompatActivity; | |
public class AndroidNotificationCountBadge extends AppCompatActivity { | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.badge_item_notification_count_layout); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment