Skip to content

k4ng/tab-ui-android-kotlin-example

Repository files navigation

Tab UI Android with kotlin (Example)

This is a example code to make Tab UI android with kotlin

Dependency

Add this dependecy to build.grade (Module:app)

implementation 'com.google.android.material:material:1.0.0' 

Res Values

Setting base application theme on res/values/style.xml, set attribute parent style to NoActionBar like this :

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">

Tab View

Screenshot

drawing

Author

kang-cahya.com