I need to give advice. Can I find out ID of the textview (its above the button). I know ID button. I need to find out ID of the textview in the code (I dont want to use findViewById). Or can i find out children in the layout. I need to set max lines for the textview.