Android Question SetApplicationAttribute programmatically

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
What is the code that equivalent to this
Code: Copy
SetApplicationAttribute (android:supportsRtl, true)
That code is in manifest file, I want to write it in activity or service code.
 
Application attributes must be known when compiling. They are part of the APK.
i dont think that you can change it afterwards.
 
Upvote 0
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
Is there any approach to achieve my goal "changing layout direction at runtime with application restart or without"
 
Upvote 0
Back
Top