1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

Add server activity: Add content description for accessibility

This commit is contained in:
Sebastian Kaspari 2011-02-19 21:58:37 +01:00
parent e169627905
commit b4f3fc4a15

View File

@ -43,6 +43,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<EditText <EditText
android:id="@+id/title" android:id="@+id/title"
android:contentDescription="@string/server_title"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" /> android:singleLine="true" />
@ -52,6 +53,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<EditText <EditText
android:id="@+id/host" android:id="@+id/host"
android:contentDescription="@string/server_host"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" /> android:singleLine="true" />
@ -61,6 +63,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<EditText <EditText
android:id="@+id/port" android:id="@+id/port"
android:contentDescription="@string/server_port"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" android:singleLine="true"
@ -72,6 +75,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_height="wrap_content" /> android:layout_height="wrap_content" />
<EditText <EditText
android:id="@+id/password" android:id="@+id/password"
android:contentDescription="@string/server_password"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" android:singleLine="true"
@ -80,12 +84,14 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:maxEms="10" /> android:maxEms="10" />
<CheckBox <CheckBox
android:id="@+id/autoconnect" android:id="@+id/autoconnect"
android:contentDescription="@string/server_port"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/server_port" android:text="@string/server_port"
android:visibility="gone" /> android:visibility="gone" />
<CheckBox <CheckBox
android:id="@+id/useSSL" android:id="@+id/useSSL"
android:contentDescription="@string/server_useSSL"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/server_useSSL" /> android:text="@string/server_useSSL" />
@ -107,7 +113,8 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:id="@+id/nickname" android:id="@+id/nickname"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:singleLine="true" /> android:singleLine="true"
android:contentDescription="@string/nickname" />
<Button <Button
android:id="@+id/aliases" android:id="@+id/aliases"
android:layout_width="fill_parent" android:layout_width="fill_parent"
@ -122,6 +129,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="yaaic" android:text="yaaic"
android:contentDescription="@string/ident"
android:singleLine="true" /> android:singleLine="true" />
<TextView <TextView
android:text="@string/realname" android:text="@string/realname"
@ -132,6 +140,7 @@ along with Yaaic. If not, see <http://www.gnu.org/licenses/>.
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="" android:text=""
android:contentDescription="@string/realname"
android:singleLine="true" /> android:singleLine="true" />
<!-- ############################################################################ --> <!-- ############################################################################ -->
<TextView <TextView