Android layout 带有EditText的Android窗体使屏幕闪烁

Android layout 带有EditText的Android窗体使屏幕闪烁,android-layout,android-edittext,android-tablelayout,Android Layout,Android Edittext,Android Tablelayout,我不知道为什么我的“表单”活动会在编辑文本聚焦,然后滚动布局时闪烁。 它只发生在安卓4.0设备上+ 我正在使用表布局并动态添加TableRow 我的TableRow是这样的: <TableRow xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/tableRow1" android:layout_width="fill_parent" android:layout

我不知道为什么我的“表单”活动会在编辑文本聚焦,然后滚动布局时闪烁。 它只发生在安卓4.0设备上+ 我正在使用表布局并动态添加TableRow

我的TableRow是这样的:

 <TableRow xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/tableRow1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/borda"
    android:layout_margin="10dip"
    android:paddingLeft="10dip"
    >
  <LinearLayout
    android:id="@+id/l1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="horizontal"
    android:layout_marginTop="15dip"
    android:layout_marginBottom="15dip"
    >

    <TextView
        android:id="@+id/label"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/nome"
        android:textStyle="bold"
        android:textColor="#526691"
        android:textSize="15sp"
        android:paddingLeft="10dip"
        android:paddingRight="5dip"
         />


       <EditText
        android:id="@+id/valorLabel"
        android:layout_width="140dip"
        android:layout_height="wrap_content"
        android:textSize="15sp" 
        android:background="#ffffffff"   
        android:singleLine="true"   
        android:inputType="textCapSentences" 
         android:textColor="#777777" />          


 </LinearLayout>

</TableRow>
并且添加了很多TableRow

问题是……

为什么我的表单在滚动时会闪烁?为什么只有Android 4.0+才会出现这种情况

我已经看过这个帖子了。。。。 但我不使用ListView

我已经试过了

android:cacheColorHint="#00000000"

在TableLayout中,但它不起作用。

这将100%起作用

ScrollView sv=(ScrollView)findViewById(R.id.scrollView1)

TableRow colunaNome= (TableRow) getLayoutInflater().inflate(R.layout.tablerownovocampo, null);
            LinearLayout linearlNome= (LinearLayout)colunaNome.getChildAt(0);   
            TextView textvNome=(TextView)linearlNome.getChildAt(0);
            textvNome.setText(R.string.nome);
            etNome=(EditText)linearlNome.getChildAt(1);
android:cacheColorHint="#00000000"
    sv.setOnTouchListener(new OnTouchListener() {

        @Override
        public boolean onTouch(View v, MotionEvent event) {
            edttext.clearFocus();   
            return false;
        }
    });