How to right align widget in horizontal linear layout Android?

前端 未结 19 3066
温柔的废话
温柔的废话 2020-12-12 10:34

This is the code I am using and it is not working:




        
19条回答
  •  抹茶落季
    2020-12-12 10:45

    I have done it by easiest way:

    Just take one RelativeLayout and put your child view in it, which you want to place at right side.

        
    
            
    
    
            
    
            
    
    
                
    
            
        
    

    Hope it will help you.

提交回复
热议问题