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.
精彩评论