【UX】Android 布局 contentDescription属性
来源:互联网 发布:网络伤感歌曲听了想哭 编辑:程序博客网 时间:2024/05/05 07:42
对于那些已经启用了可访问性语音工具的用户来说,这个属性可以大声地读给他们听:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity" > <TextView android:id="@+id/span_text" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:contentDescription="这是一个文本" android:text="@string/hello_world" /></RelativeLayout>
0 0
- 【UX】Android 布局 contentDescription属性
- android:contentDescription属性作用
- Android日记 android:contentDescription 属性
- Android中contentDescription属性作用
- android:contentDescription
- android:contentDescription
- android:contentDescription
- android contentDescription的用法
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- android:contentDescription 的用途
- fork()后父子进程共享文件
- mysql二进制版本与源码版本安装浅记
- jni 适配不同的平台
- SQL语句查询重复字段并按数量排序
- 转载-C++中delete和delete[]的区别
- 【UX】Android 布局 contentDescription属性
- CSS鼠标手势
- 库巴网的兴衰之路
- debug code example in Kernel
- Spring动态对Quartz定时任务的管理,实现动态加载,停止的配置实例代码
- 单例ARC
- asList产生的List对象不可更改
- Redirect stdio in Java and C, 在Java和C代码中重定向输出。
- find命令