Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/190.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 外部设置文本视图的样式_Android - Fatal编程技术网

Android 外部设置文本视图的样式

Android 外部设置文本视图的样式,android,Android,我有许多文本视图具有相同的属性,只有文本更改。。。我相信一定有一种更简单的外部定义方法,比如style.xml或其他什么 <TextView android:layout_width="250px" android:layout_height="100px" android:textSize="13pt" android

我有许多文本视图具有相同的属性,只有文本更改。。。我相信一定有一种更简单的外部定义方法,比如style.xml或其他什么

        <TextView               
            android:layout_width="250px"
            android:layout_height="100px"               
            android:textSize="13pt"
            android:shadowColor="#000000"  
            android:shadowRadius="1"  
            android:shadowDx="1"  
            android:shadowDy="1"                  
            android:textStyle="bold"
            android:text="Look Up"
            android:textColor="#084b7e" />

是的,首先,你必须读一下这篇文章