How can I have more than one button, or a button and a text view in the same location in one layout but one on top of the other?
I want to have a button that is hidden m
Use TextView.setVisibility(View.VISIBLE) or TextView.setVisibility(View.GONE) depending on your condition and you may not need to put elements on top of each other in the layout.
TextView.setVisibility(View.VISIBLE)
TextView.setVisibility(View.GONE)