Android custom keyboard layout leaving a margin of white at the side

后端 未结 6 2183
渐次进展
渐次进展 2021-02-20 03:59

I\'m working on a custom keyboard for Android, and I\'ve run in to an issue where the keyboard seems to leave a white line/space at right, instead of filling the parent view...

6条回答
  •  耶瑟儿~
    2021-02-20 04:19

    In you case: 7 (keys) x 14% = 98% + 1% gap (firstkeyś horizontalGap) = 99%.

    Put the '%1' in horizontalGap in last key as you did in first key.

    
            
            
            
            
            
            
            
    
    

提交回复
热议问题