2016-10-11 48 views
0

当我点击微调框时,第一项上方有白色区域。我无法解决这个问题。我尝试了很多解决方案。Android微调项目白色空间

enter image description here

活动类:

 ArrayAdapter<AramaTuru> adapter = new ArrayAdapter<AramaTuru>(IsyeriAramaActivity.this,R.layout.simple_list_item_arama, listAramaTurleri); 
    spnAramaSecenekler.setAdapter(adapter); 

simple_list_item_arama:

<?xml version="1.0" encoding="utf-8"?> 
<TextView xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_width="match_parent" 
android:layout_height="wrap_content" 
android:background="@color/kirmizi" 
android:gravity="center_vertical" 
android:padding="5dip" 
android:textColor="#FFFFFF" 
android:textSize="18dp" /> 

回答

0

尽量去除填充。它在所有方面给予间距。

+0

我试过但没有成功。 – mobileprogramming