H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Jun 10, 2019 #1 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.
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.
DonManfred Expert Licensed User Longtime User Jun 10, 2019 #2 Application attributes must be known when compiling. They are part of the APK. i dont think that you can change it afterwards. Upvote 0
Application attributes must be known when compiling. They are part of the APK. i dont think that you can change it afterwards.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Jun 10, 2019 #3 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
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
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2019 #4 You cannot change it at runtime. The output of the manifest editor is the AndroidManifest.xml file. It cannot be changed after compilation. Upvote 0
You cannot change it at runtime. The output of the manifest editor is the AndroidManifest.xml file. It cannot be changed after compilation.
H Hamied Abou Hulaikah Well-Known Member Licensed User Longtime User Jun 11, 2019 #5 Is there any approach to achieve my goal "changing layout direction at runtime with application restart or without" Upvote 0
Is there any approach to achieve my goal "changing layout direction at runtime with application restart or without"
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2019 #6 As this is an application level setting, I don't see how you can change it. If it was an Activity setting then you could have created two activities with different values. Upvote 0
As this is an application level setting, I don't see how you can change it. If it was an Activity setting then you could have created two activities with different values.