5FYU*OQVU-BZPVU
w BQQTUBSU*DPO%SBXBCMFBQQFOE*DPO%SBXBCMF
w TFU4UBSU*DPO0O$MJDL-JTUFOFS
TFU&OE*DPO0O$MJDL-JTUFOFS
Slide 18
Slide 18 text
#PUUPN/BWJHBUJPO
Slide 19
Slide 19 text
#PUUPN/BWJHBUJPO
// show only badge
bottomNavigation.showBadge(R.id.navigation_item_1)
// show badge with number
val badgeDrawable =
bottomNavigation.showBadge(R.id.navigation_item_2)
badgeDrawable.apply {
number = 5000
maxCharacterCount = 5 // default is 4
}
// dismiss badge
bottomNavigation.removeBadge(R.id.navigation_item_1)
Slide 20
Slide 20 text
4OBDLCBS
Slide 21
Slide 21 text
4OBDLCBS
Snackbar.make(view, "Message", Snackbar.LENGTH_LONG)
.setAction("Action") {
// Some action
}
.setAnchorView(fab)
.show()
w TFU"ODIPS7JFX WJFX
w FH'MPBUJOH"DUJPO#VUUPO
0UIFS
w 4VQQPSUT.BUFSJBM5IFNJOH $PMPS
4IBQF
5ZQPHSBQIZ
%BSL5IFNF
w .BUFSJBM%JBMPH#VJMEFS
w 4FMFDUJPO$POUSPM 4XJUDI
3BEJP#VUUPO
5PHHMF#VUUPO
w #PUUPN4IFFU
w "OENPSFʜ
Slide 26
Slide 26 text
*OEFWFMPQNFOU
Slide 27
Slide 27 text
w IUUQTHJUIVCDPNNBUFSJBMDPNQPOFOUTNBUFSJBM
DPNQPOFOUTBOESPJE