开发者

more space appears between spinner and EditTExt

开发者 https://www.devze.com 2023-01-27 18:21 出处:网络
I am writing an android whe开发者_Go百科re I need to display Spinner and EditText . I am using LinearLayout with vertical orientation. I am getting lot of space between spinner and EditText.Are you us

I am writing an android whe开发者_Go百科re I need to display Spinner and EditText . I am using LinearLayout with vertical orientation. I am getting lot of space between spinner and EditText.


Are you using a resource file to store the set values that the spinner can use? You can try using "\" character. For example:


<string name="test">\This is a test message </string>

The "\" character prevents extra blanks from appearing before the first word.

0

精彩评论

暂无评论...
验证码 换一张
取 消