Android Question SetApplicationAttribute programmatically

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
What is the code that equivalent to this
B4X:
SetApplicationAttribute (android:supportsRtl, true)
That code is in manifest file, I want to write it in activity or service code.
 

DonManfred

Expert
Licensed User
Longtime User
Application attributes must be known when compiling. They are part of the APK.
i dont think that you can change it afterwards.
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Several months ago, I read in the forum that we can code it in activity/service module, but I didn't reach that post because I forget the search keyword :( , it was an example of something I forget
 
Upvote 0

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
Is there any approach to achieve my goal "changing layout direction at runtime with application restart or without"
 
Upvote 0
Top