Add properties needed for accessibility.
authorNolan Darilek <nolan@thewordnerd.info>
Tue, 08 Jun 2010 17:31:00 -0500
changeset 767 74a987c3efb5
parent 766 ca06684fb92f
child 768 3afcf695da44
Add properties needed for accessibility.
res/layout/addcontact.xml
res/layout/changestatus.xml
res/layout/chat.xml
res/layout/contactdialogaliasdialog.xml
res/layout/create_account.xml
res/layout/group_list.xml
res/layout/privacy_list.xml
res/layout/privacy_list_create_dialog.xml
res/layout/subscription.xml
res/layout/wizard_account.xml
res/layout/wizard_account_configure.xml
--- a/res/layout/addcontact.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/addcontact.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -11,21 +11,24 @@
 		<EditText android:id="@+id/addc_login" android:inputType="textEmailAddress"
 			android:imeOptions="actionNext" android:scrollHorizontally="true"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:layout_margin="3dip" />
+			android:layout_margin="3dip"
+			android:contentDescription="@string/AddCLogin"/>
 		<TextView android:layout_width="fill_parent"
 			android:layout_height="wrap_content" android:text="@string/AddCAlias"
 			style="@style/Label" />
 		<EditText android:id="@+id/addc_alias" android:inputType="text"
 			android:imeOptions="actionNext" android:textSize="16sp"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:scrollHorizontally="true" android:layout_margin="3dip" />
+			android:scrollHorizontally="true" android:layout_margin="3dip"
+			android:contentDescription="@string/AddCAlias"/>
 		<TextView android:layout_width="fill_parent"
 			android:layout_height="wrap_content" android:text="@string/AddCGroup"
 			style="@style/Label" />
 		<EditText android:id="@+id/addc_group" android:inputType="text"
 			android:textSize="16sp" android:layout_width="fill_parent"
 			android:scrollHorizontally="true" android:layout_height="wrap_content"
-			android:layout_margin="3dip" />
+			android:layout_margin="3dip"
+			android:contentDescription="@string/AddCGroup"/>
 		<View android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:layout_weight="1" android:layout_marginBottom="18dp" />
 		<Button android:id="@+id/addc_ok" android:layout_width="fill_parent"
--- a/res/layout/changestatus.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/changestatus.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -10,7 +10,8 @@
 			android:text="@string/ChangeStatusType" style="@style/Label" />
 		<Spinner android:id="@+id/ChangeStatusSpinner"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:drawSelectorOnTop="true" android:layout_below="@id/ChangeStatusTypeLabel" />
+			android:drawSelectorOnTop="true" android:layout_below="@id/ChangeStatusTypeLabel"
+			android:contentDescription="@string/ChangeStatusType"/>
 		<TextView android:id="@+id/ChangeStatusMessageLabel"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:layout_below="@id/ChangeStatusSpinner"
@@ -18,6 +19,7 @@
 			android:inputType="textShortMessage|textCapSentences|textAutoCorrect|textMultiLine|textImeMultiLine"
 			android:imeOptions="actionDone"
 			android:selectAllOnFocus="true"
+			android:focusable="true"
 			/>
 		<EditText android:id="@+id/ChangeStatusMessage"
 			android:inputType="textShortMessage|textAutoCorrect"
--- a/res/layout/chat.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/chat.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -16,14 +16,17 @@
 			<TextView android:id="@+id/chat_contact_name"
 				android:layout_width="fill_parent" android:layout_height="wrap_content"
 				android:lines="1" android:singleLine="true" android:textSize="16sp"
-				android:textStyle="bold" android:textColor="#FFFFFF" />
+				android:textStyle="bold" android:textColor="#FFFFFF"
+				android:focusable="true"/>
 			<TextView android:id="@+id/chat_contact_status_msg"
 				android:layout_width="fill_parent" android:layout_height="wrap_content"
 				android:autoLink="all" android:textSize="12sp" android:textColor="#FFFFFF"
-				android:textColorLink="#FFFFFF" />
+				android:textColorLink="#FFFFFF"
+				android:focusable="true"/>
 			<TextView android:id="@+id/chat_contact_chat_state"
 				android:layout_width="fill_parent" android:layout_height="wrap_content"
-				android:textStyle="italic" android:textSize="12sp" />
+				android:textStyle="italic" android:textSize="12sp"
+				android:focusable="true"/>
 		</LinearLayout>
 	</LinearLayout>
 	<View android:layout_width="fill_parent" android:layout_height="2dp"
@@ -32,7 +35,8 @@
 		android:layout_width="fill_parent" android:layout_height="0dip"
 		android:layout_weight="1" android:transcriptMode="normal"
 		android:fastScrollEnabled="true" android:smoothScrollbar="false"
-		android:layout_marginBottom="20sp" android:padding="4px" />
+		android:layout_marginBottom="20sp" android:padding="4px"
+		android:focusable="true"/>
 	<LinearLayout android:layout_width="fill_parent"
 		android:layout_height="wrap_content" android:orientation="horizontal"
 		android:background="#222222" android:padding="8px">
--- a/res/layout/contactdialogaliasdialog.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/contactdialogaliasdialog.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -11,5 +11,6 @@
 		android:layout_height="wrap_content" android:layout_width="fill_parent"
 		android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
 		android:scrollHorizontally="true" android:autoText="false"
-		android:capitalize="none" android:gravity="fill_horizontal" />
+		android:capitalize="none" android:gravity="fill_horizontal"
+		android:contentDescription="@string/userinfo_label_alias"/>
 </LinearLayout>
--- a/res/layout/create_account.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/create_account.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -11,21 +11,24 @@
 		<EditText android:id="@+id/create_account_username"
 			android:inputType="textEmailAddress" android:imeOptions="actionNext"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
-			android:singleLine="true" />
+			android:singleLine="true"
+			android:contentDescription="@string/create_account_username"/>
 		<TextView android:id="@+id/create_account_label_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:text="@string/create_account_password" style="@style/Label" />
 		<EditText android:id="@+id/create_account_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:inputType="textPassword" android:imeOptions="actionNext"
-			android:password="true" android:singleLine="true" />
+			android:password="true" android:singleLine="true"
+			android:contentDescription="@string/create_account_password"/>
 		<TextView android:id="@+id/create_account_label_confirm_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:text="@string/create_account_confirm_password" style="@style/Label" />
 		<EditText android:id="@+id/create_account_confirm_password"
 			android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:inputType="textPassword" android:imeOptions="actionNext"
-			android:password="true" android:singleLine="true" />
+			android:password="true" android:singleLine="true"
+			android:contentDescription="@string/create_account_confirm_password"/>
 		<View android:layout_width="fill_parent" android:layout_height="wrap_content"
 			android:layout_weight="1" android:layout_marginBottom="18dp" />
 		<Button android:id="@+id/create_account_button"
--- a/res/layout/group_list.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/group_list.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -5,11 +5,12 @@
 
 	<ListView android:id="@android:id/list" android:layout_width="fill_parent"
 		android:layout_height="0dip" android:layout_weight="1"
-		android:stackFromBottom="true" android:transcriptMode="normal" />
+		android:stackFromBottom="true" android:transcriptMode="normal"
+		android:focusable="true"/>
 
 	<EditText android:id="@+id/GroupListText"
 		android:layout_width="fill_parent"
 		android:layout_height="wrap_content"
 		android:maxLength="20"
 		android:singleLine="true" />
-</LinearLayout>
\ No newline at end of file
+</LinearLayout>
--- a/res/layout/privacy_list.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/privacy_list.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -4,7 +4,9 @@
 	android:layout_height="fill_parent" android:padding="8dp">
 	<ListView android:id="@id/android:list" android:layout_width="fill_parent"
 		android:layout_height="fill_parent" android:layout_weight="1"
-		android:drawSelectorOnTop="false" />
+		android:drawSelectorOnTop="false"
+		android:focusable="true"/>
 	<TextView android:id="@id/android:empty" android:layout_width="fill_parent"
-		android:layout_height="fill_parent" android:text="@string/privacy_list_no_data" />
+		android:layout_height="fill_parent" android:text="@string/privacy_list_no_data"
+		android:focusable="true"/>
 </LinearLayout>
--- a/res/layout/privacy_list_create_dialog.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/privacy_list_create_dialog.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -10,5 +10,6 @@
 		android:layout_height="wrap_content" android:layout_width="fill_parent"
 		android:layout_marginLeft="20dip" android:layout_marginRight="20dip"
 		android:scrollHorizontally="true" android:autoText="false"
-		android:capitalize="none" android:gravity="fill_horizontal" />
+		android:capitalize="none" android:gravity="fill_horizontal"
+		android:contentDescription="@string/privacy_list_create_dialog_list_name_label"/>
 </LinearLayout>
--- a/res/layout/subscription.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/subscription.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -16,7 +16,8 @@
 			android:layout_height="fill_parent" android:autoLink="none"
 			android:id="@+id/SubscriptionText" android:text="@string/SubscriptText"
 			android:textColor="@color/white" android:textSize="14sp"
-			android:layout_weight="1" android:layout_marginBottom="18dp" />
+			android:layout_weight="1" android:layout_marginBottom="18dp"
+			android:focusable="true"/>
 
 		<LinearLayout android:orientation="horizontal"
 			android:layout_width="fill_parent" android:layout_height="wrap_content">
@@ -30,4 +31,4 @@
 				android:layout_weight="1" android:text="@string/RefuseButton" />
 		</LinearLayout>
 	</LinearLayout>
-</ScrollView>
\ No newline at end of file
+</ScrollView>
--- a/res/layout/wizard_account.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/wizard_account.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -16,7 +16,8 @@
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
 		android:text="@string/account_wizard_text1"
 		android:textSize="18sp"
-		android:paddingBottom="10dip" />
+		android:paddingBottom="10dip"
+		android:focusable="true" />
 	    <RadioGroup android:id="@+id/configure_group"
 		android:layout_width="fill_parent" android:layout_height="wrap_content" >
 		<RadioButton android:id="@+id/configure_account"
--- a/res/layout/wizard_account_configure.xml	Tue Jun 08 17:13:04 2010 -0500
+++ b/res/layout/wizard_account_configure.xml	Tue Jun 08 17:31:00 2010 -0500
@@ -24,14 +24,16 @@
 		android:inputType="textEmailAddress" android:imeOptions="actionNext"
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
 		android:singleLine="true" 
-		android:hint="beem@beem-project.com "/>
+		android:hint="beem@beem-project.com "
+		android:contentDescription="@string/JabberID"/>
 	    <TextView
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
 		android:text="@string/Password" style="@style/Label" />
 	    <EditText android:id="@+id/account_password"
 		android:layout_width="fill_parent" android:layout_height="wrap_content"
 		android:inputType="textPassword" android:imeOptions="actionNext"
-		android:password="true" android:singleLine="true" />
+		android:password="true" android:singleLine="true"
+		android:contentDescription="@string/Password"/>
 	</LinearLayout>
     </ScrollView>