sdk有simple_list_item_1.xml这个文件,搜出来,复制新建一个xml文件,
把里面的android:textAppearance="?android:attr/textAppearanceLarge"这行去掉,
加入如android:textSize="15dp",并调用该xml即可。
修改系统自带的文件资源,也就相当于重写一个类,先定位源码,然后研究修改。
sdk有simple_list_item_1.xml这个文件,搜出来,复制新建一个xml文件,
把里面的android:textAppearance="?android:attr/textAppearanceLarge"这行去掉,
加入如android:textSize="15dp",并调用该xml即可。
修改系统自带的文件资源,也就相当于重写一个类,先定位源码,然后研究修改。