Android_RelativeLayout - How to put two elements on the same line?

前端 未结 5 1923
遇见更好的自我
遇见更好的自我 2021-01-25 05:32

The question is: I have a TextView and an EditText, how can I place them on the same \"level\"?

http://postimage.org/image/o9l17a3zv/

As you can see, I want to p

5条回答
  •  时光说笑
    2021-01-25 06:06

    TEXT VIEW AND EDIT TEXT ARE ON THE SAME LINE TOUCHING THE BOTTOM LINE OF PARENT LAYOUT Try this one.

    android:layout_alignBottom="@+id/editText1"
    

    This will surely help you.

    
    
    
        
    
        
    
            
        
    
    
    

    Thanks.

提交回复
热议问题