开发者

Android Preferences Layout

开发者 https://www.devze.com 2023-03-26 03:44 出处:网络
I am using CheckBoxPreference in my preferences activity. The application is written in hebrew, which 开发者_如何转开发is RTL language.

I am using CheckBoxPreference in my preferences activity.

The application is written in hebrew, which 开发者_如何转开发is RTL language.

Does anyone knows if I can change the direction of the CheckBoxPreference, so that the checkbox will be on the left and the text will be aligned to the right?

10X, Udi


You need to extend "CheckBoxPreference" base class and override the onCreateView method adding your own layout.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号