java如何在样式内更改字体方向。xml
我有语言变化按钮,我想在样式中设置字体方向。xml也适用于每种语言
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
怎么做
你可以在下面搜索框中键入要查询的问题!
我有语言变化按钮,我想在样式中设置字体方向。xml也适用于每种语言
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
怎么做
# 1 楼答案
这将设置样式中文本的方向。xml,但它必须在每个按钮中完成
android:textDirection=""