Skip to content

Commit

Permalink
Second Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashank02051997 committed Feb 21, 2018
1 parent 23e642b commit 1a165ac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@
import com.shashank.sony.fancyfacebookbadgelib.FacebookNotificationBadge;

public class MainActivity extends AppCompatActivity {
private FacebookNotificationBadge mBadge;
private int mCount = 0;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
mBadge = findViewById(R.id.badge);
final FacebookNotificationBadge mBadge = (FacebookNotificationBadge) findViewById(R.id.badge);
mBadge.setEmoji(Emoji.HAHA);
Button increase = (Button) findViewById(R.id.button);
increase.setOnClickListener(new View.OnClickListener() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/shape"
android:background="@drawable/facebook_notification_bade_shape"
android:paddingRight="5dp"
android:paddingLeft="3dp"
android:paddingTop="2dp"
Expand Down

0 comments on commit 1a165ac

Please sign in to comment.