I have a problem. due to some reasons i need to align the text of preferences to right without using java files. (right alignment is used for arabic and persian) is there any way to do that in xml files? here is some parts of my settings.xml file:
<PreferenceScreen xmlns:android="http://ift.tt/nIICcg"><PreferenceCategory android:title="@string/settings_category_faboyic_title" android:key="@string/settings_category_faboyic"> <Preference android:title="@string/settings_show_user_first" android:key="@string/settings_get" style="?android:attr/preferenceStyle" />
the title one (first one which is category name) is alined right itself, but the second one is alined left.
this xml file is located in xml folder. if there's no way to edit this xml file, is there any way to edit strings file located in values folder? (because the texts of these pereferences are in strings.xml)
tnx in advance
No comments:
Post a Comment