The Themes sample app has been enhanced in order to include an "RTL / LTR" button, which shows how we can changet at runtime the text direction of the app, and, therefore the properly theme version (LTR / RTL) automatically.In the same way, when you call to the app.setAppTheme() method, the properly version of the theme (LTR or RTL) is set, according to the current app.textDirection property. Now when you call to the app.setAppTextDirection() method, the properly version of the current app theme (LTR or RTL) is automatically changed, according to the text direction that you specified when calling to that app method.The DecSoft App Builder automatically include the RTL version of the themes that you want to include with the app, and, automatically, the compiler will set the right theme according to the app text direction property established at designtime.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |