Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

navigation bottom android

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*
  
class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
  
        bottomNavigationView.background = null
        bottomNavigationView.menu.getItem(2).isEnabled = false
    }
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #navigation #bottom #android
ADD COMMENT
Topic
Name
1+8 =