OSDN Git Service

TalkBack does not announce properly the buttons of the PIN lock.
authorSvetoslav Ganov <svetoslavganov@google.com>
Mon, 5 Dec 2011 22:16:26 +0000 (14:16 -0800)
committerSvetoslav Ganov <svetoslavganov@google.com>
Mon, 5 Dec 2011 22:16:30 +0000 (14:16 -0800)
The KeyBoardView shown by the lock screen is not marked as clickable even
though it handles clicks. TalkBack uses the clickability as a clue of what
to speak.

bug:5713102

Change-Id: I0733e30619e6045ce3f78e1499db65f4dc5bc388

core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml
core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml
core/res/res/layout/keyguard_screen_password_landscape.xml
core/res/res/layout/keyguard_screen_password_portrait.xml

index f972843..7a5bb6a 100644 (file)
                 android:layout_marginTop="5dip"
                 android:keyBackground="@drawable/btn_keyboard_key_ics"
                 android:visibility="gone"
                 android:layout_marginTop="5dip"
                 android:keyBackground="@drawable/btn_keyboard_key_ics"
                 android:visibility="gone"
+                android:clickable="true"
             />
 
             <!-- Emergency call button. Generally not used on tablet devices. -->
             />
 
             <!-- Emergency call button. Generally not used on tablet devices. -->
index 8b65b22..6df22ca 100644 (file)
             android:background="#40000000"
             android:keyBackground="@drawable/btn_keyboard_key_ics"
             android:layout_marginBottom="80dip"
             android:background="#40000000"
             android:keyBackground="@drawable/btn_keyboard_key_ics"
             android:layout_marginBottom="80dip"
+            android:clickable="true"
         />
 
         <!-- emergency call button -->
         />
 
         <!-- emergency call button -->
index ba0c22f..e95553f 100644 (file)
         android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
         android:visibility="gone"
         android:layout_rowSpan="7"
         android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
         android:visibility="gone"
         android:layout_rowSpan="7"
+        android:clickable="true"
     />
 
     <!-- Music transport control -->
     />
 
     <!-- Music transport control -->
index f6933c3..053acb2 100644 (file)
         android:background="#40000000"
         android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
         android:visibility="gone"
         android:background="#40000000"
         android:keyBackground="@*android:drawable/btn_keyboard_key_ics"
         android:visibility="gone"
+        android:clickable="true"
     />
 
     <TextView
     />
 
     <TextView