relativelayout里面动态放很多textview,有什么办法不动态设置textview大小,通过在容器里面设置,来整体控制textview字体大小么?
values/styles.xml
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item> <item name="colorPrimaryDark">@color/colorPrimaryDark</item> <item name="colorAccent">@color/colorAccent</item> <item name="android:textSize">30sp</item> </style> </resources>