2016-04-07 9 views
0

Ich habe ein RelativeLayoutAndroid Accessibility Auslesen "Double Tap Select" zusätzlich

Innen, die ich habe zwei TextView und eine Imageview

<RelativeLayout 
    android:id="@+id/relative_statement_email_alert" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    android:layout_margin="@dimen/activity_horizontal_margin" 
    android:focusable="false" 
    android:contentDescription="@null" 
    android:orientation="horizontal"> 

    <customviews.TypefaceTextView 
     android:id="@+id/txt_statement_emailalert" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:singleLine="true" 
     android:text="@string/statement_alert_email" 
     android:textColor="@color/accounts_darkgray_text" 
     custom:typeface="Tahoma" /> 

    <customviews.TypefaceTextView 
     android:id="@+id/txt_statement_alertby_email_value" 
     android:layout_width="wrap_content" 
     android:layout_height="wrap_content" 
     android:layout_alignParentRight="true" 
     android:layout_alignParentTop="true" 
     android:layout_marginRight="@dimen/activity_horizontal_margin_double" 
     android:gravity="right" 
     android:singleLine="true" 
     android:textColor="@color/accounts_darkgray_text" 
     custom:typeface="Tahoma" /> 

    <ImageView 
     android:id="@+id/img_arrow" 
     android:layout_width="15dp" 
     android:layout_height="15dp" 
     android:layout_alignParentBottom="true" 
     android:layout_alignParentRight="true" 
     android:src="@drawable/icn_blue" 
     android:visibility="gone" /> 
</RelativeLayout> 

Wenn ich auf Intercom-Windungsabschnitt auf ON, Es liest den "E-Mail" -Text zusammen mit der verfügbaren E-Mail-ID aus (was erwartet wird). Aber es sagt auch "Double Tap to select" auf dem Layout (das ist unerwartet).

Ich bin nicht in der Lage herauszufinden, warum es sagt "Doppeltippen, um auszuwählen" zusätzlich, wenn ich die android:contentDescription="@null" eingestellt habe.

Jede Hilfe wird geschätzt. Ich überprüfe Nexus 7 Tab und Nexus 6 Moto Phone, beide mit Android 6.0

Antwort

1

TalkBack spricht das Interaktionsmodell, wenn der Benutzer weiterhin über eine Ansicht schwebt. Dies ist das richtige Verhalten, und Sie sollten nicht versuchen, es zu verhindern oder zu überschreiben.