Is it possible to convert a Button into a TextView onclick during runtime?
Thanks Chris
Is it possible to convert a Button into a TextView onclick during runtime?
Thanks Chris
What you are trying to do is a bad design.
Hide the button and show instead a TextView.
You can define a Layout that hold both TextView and Button.
At runtime just set ones setVisibility(Visibility.VISIBLE)
and the other setVisibility(Visibility.INVISIBLE)