Rows don't render properly in Android Layout. Buttons seem to be the problem

前端 未结 3 1131
栀梦
栀梦 2021-01-26 04:26

I am new to Android Development and I am having trouble with my XML Layout... when I inly have rows with text and edittext the layout stays ok, but once I put the row with the b

3条回答
  •  生来不讨喜
    2021-01-26 04:54

    I am usure of what made my XML file work properly... however, the use of DIP as mesure instead of pixels was what seemed to make the difference... The modified code for inspection is posted here. I was going to attach an screenshot of the final product, I have no screenshot of the not-working version, but my reputation is not high enough to do it.

    Code:

            
                
                
            
    
            
                
                
            
    
            
                
                
            
    
            
                
                
            
    
            
                
                
            
    
            
                
                
            
    
        
        
    

提交回复
热议问题