Android app configuration set to rtl but conflict start with end - android

I'm using RTL in my android app every thing going well until i use Visa sdk
it change the layout direction
i think because they are using chrome webview client but i can't solve it

Related

Use the old Layout Inspector in Android Studio

It seems like Android Studio doesn't allow more to use the legacy Layout Inspector (without live updates), but that one was extremely useful.
I get it, the new one has live updates, but the connection time to the process is slow, sometimes it even restarts the activity if you don't have the non restart activity flag enabled. And personally I rarely need the live updates, I only need to inspect whatever screen I'm seeing at the moment.
Does anybody know if is possible to use the legacy layout inspector without going to a prior version of Android Studio to current stable (Arctic Fox)?
This button should disable live updates
I also have issues with the new Layout Inspect for my React Native app, whether live updates are off or on. However, the new Android Studio (my Android Studio's version is Chipmunk|2021.2.1) cannot turn off "Enable Live Layout Inspector" in the settings, Google has removed this setting. But I found that in the Keymap settings, you can set shortcut keys to Legacy Layout Inspector, and then use Legacy Layout Inspector through shortcut keys. Thank Google for not removing this feature outright.

Turning off Live Updates by default in Layout Inspector

I recently updated Android Studio and the update included some new features for Layout Inspector. There is now a live updates checkbox that seems to be turned ON by default when running the debugger. Unfortunately, my app slows down to a crawl while this is active so I need to check off the feature every time after the app starts, which is a lot. I would like to know if there is a setting to keep live updates off by default instead of on. Thank you!
You can disable Live Layout Inspector by unchecking the Enable Live Layout Inspector box under the Layout Inspector header in the Experimental section. Screenshot of Android Studio Preferences
Note: I'm currently on Android Studio 4.1-RC version and have no elected to update to the latest stable version so the exact details may change depending on what A.S. version you're on.

Smooch android RTL not showing chat script bubbles

Once the Android system wide language have changed to a RTL (right to left) language like Arabic in my case. The chat stops showing just like this photo.
I'm using smooch latest release and google play services 9.4.0.
Image of smooch chat with RTL on Android
How can I make it work and show chat script like LTR?
This issue has been fixed in the latest SDK version (4.0.7) of Smooch
You can control your layouts and widgets in terms of direction (TRL <-> LTR ) by these attributes in layout:
For more precise control over your app UI in both LTR and RTL mode,
Android 4.2 includes the following new APIs to help manage View
components:
android:layoutDirection
Attribute for setting the direction of a component's layout.
android:textDirection
Attribute for setting the direction of a component's text.
For more, see: http://android-developers.blogspot.cz/2013/03/native-rtl-support-in-android-42.html

Select drop down in Android Webview version 50.+ not functional

We're facing a new and peculiar problem when using a simple Select drop down in a hybrid app in Android Webview after the latest update (50.0.+).
Behavior of the select drop down: Blinks twice and opens the Android options list. Upon selecting an item, it doesn't show that item selected - No change in the displayed list.
When we downgrade the Android System Webview to factory settings (v46 or v37), the select box seems to work just fine.
Is anyone else having issues with similar html components and current Android Webview??
We do use JQuery Mobile v 1.4.5 in our app.
And yes, javascript is enabled on the webview.
Yes, the problem is different devices have diffenent Android versions and Webview versions.
There is a PROBLEM on webview version 50,51,52, that when I use Webview.loadUrl, it won't work until I touch the Webview once or Twice.
And then, I replace Webview.loadUrl to Webview.evaluateJavascript hoping to solve the problem, but it didn't work neither.
After I upgraded my Webview version to 53 through Google Play, the Problem was solved. But it doesn't make sense.
CrossWalk Engine will add about 20MB to the APK size, so it won't be my first choice.

Android WebView accessibility in KitKat

I'm having some trouble getting TalkBack to work with a web view (testing with a Nexus 5 on Android 4.4.2). I read that TalkBack support was added to web views around the release of Android JellyBean by checking a preference titled "Enhance Web Accessibility." I can't for the life of me find this preference in the system settings.
Focusing on the web view in our application simply reads "WebView" and provides no other options. I've made sure and called getSettings().setJavaScriptEnabled(true); on the web view.
Was TalkBack support for web views removed in KitKat? If not, what am I missing here?
On 4.4, you need to have TalkBack/Explore by Touch enabled on the first run of your application. If you enabled it after that, it never seems to work. I figured this out by trial and error. I suspect scripts are being injected into your app/WebView on first launch to support it.
As an alternative, you could manually inject the ChromeVox scripts into your WebView and enable accessibility that way. Check out how the PhoneGap plugin does it - https://github.com/phonegap/phonegap-mobile-accessibility

Categories

Resources