Addo Well-Known Member Licensed User Longtime User Mar 20, 2018 #1 When I change the language of typing to none english characters as example arabic the typing direction should change from left to right is there possibility to adjust this in some way ?
When I change the language of typing to none english characters as example arabic the typing direction should change from left to right is there possibility to adjust this in some way ?
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2018 #2 Try it with this line in the manifest editor: B4X: SetApplicationAttribute(android:supportsRtl, "true") Make sure that targetSdkVersion is 17+ Upvote 0
Try it with this line in the manifest editor: B4X: SetApplicationAttribute(android:supportsRtl, "true") Make sure that targetSdkVersion is 17+
Addo Well-Known Member Licensed User Longtime User Mar 21, 2018 #3 sadly it doesn't makes the right to left behavior still typing in one direction in both languages arabic and english B4X: AddManifestText( <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>) SetApplicationAttribute(android:icon, "@drawable/icon") SetApplicationAttribute(android:label, "$LABEL$") SetApplicationAttribute(android:supportsRtl, "true") CreateResourceFromFile(Macro, Themes.DarkTheme) Upvote 0
sadly it doesn't makes the right to left behavior still typing in one direction in both languages arabic and english B4X: AddManifestText( <uses-sdk android:minSdkVersion="5" android:targetSdkVersion="26"/> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>) SetApplicationAttribute(android:icon, "@drawable/icon") SetApplicationAttribute(android:label, "$LABEL$") SetApplicationAttribute(android:supportsRtl, "true") CreateResourceFromFile(Macro, Themes.DarkTheme)
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2018 #4 This should work: B4X: EditText1.Gravity = 8388611 'Gravity.START Upvote 0
Addo Well-Known Member Licensed User Longtime User Mar 21, 2018 #5 is there some settings should be done after that cause its writing to right but the text is not visible until i type too long Upvote 0
is there some settings should be done after that cause its writing to right but the text is not visible until i type too long
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2018 #6 Which OS version are you using? I've tested it on Android 8 and it works properly. It is possible that it will not work properly on older versions. Upvote 0
Which OS version are you using? I've tested it on Android 8 and it works properly. It is possible that it will not work properly on older versions.
Addo Well-Known Member Licensed User Longtime User Mar 21, 2018 #8 now working after adjust the anchor from designer thank you very much Upvote 0