Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fun onPlay(view: View){
- var play = findViewById(R.id.play) as Button
- play.isClickable=false
- play.visibility=view.INVISIBLE
- }
- fun onPlay(view: View){
- var play = findViewById(R.id.play) as Button
- play.isClickable=false
- play.visibility= View.INVISIBLE // v letter should be capital
- }
- appCompatActivity!!.findViewById<LinearLayout>(R.id.layoutsearch)?.visibility =View.GONE
Add Comment
Please, Sign In to add comment