Skip to main content

Posts

Showing posts from January, 2019

Membuat catatan di bawah pada android Studio

Pada kali ini, saya akan membuat tambahan slide dengan android pada bagian bawah : buat xml di res/layout dengan nama "bottom_sheet.xml" <? xml version= "1.0" encoding= "utf-8" ?> < LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android" xmlns: app = "http://schemas.android.com/apk/res-auto" android :id= "@+id/bottom_sheet" android :orientation= "vertical" android :layout_width= "match_parent" android :layout_height= "445dp" android :background= "@color/colorGrey" app :behavior_hideable= "false" app :behavior_peekHeight= "?actionBarSize" app :layout_behavior= "android.support.design.widget.BottomSheetBehavior" > < android.support.constraint.ConstraintLayout android :layout_width= "match_parent" android :layout_height= "?actionBarSize"