Created
March 31, 2018 00:32
-
-
Save carlosalexandresmo/526ce91561a6423f608fb3e67ad06a07 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<TextView | |
android:id="@+id/notifications.badge" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_gravity="top|center_horizontal" | |
android:layout_marginLeft="10dp" | |
android:layout_marginStart="10dp" | |
android:background="@drawable/notification_badge" | |
android:gravity="center" | |
android:padding="3dp" | |
android:text="9+" | |
android:textColor="@color/white" | |
android:textSize="11sp" /> | |
</FrameLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A XML file for Badge Bottom Navigation View