Home
Blogs
Questions

Home

About Us

Blogs

Questions

Monetize

Post Job

banner

Questions about android-layout-direction

Read more about android-layout-direction

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - android-layout-direction

Notification body/title RTL android

I want to show notification in Arabic, its title and body is set but in Arabic I need to set title and body to RTL? How I can do that? Please help.
test-img

sHiTaLsHiNdE

push-notification

arabic

android-layout-direction

Votes: 0

Answers: 1

Latest Answer

We can do it through custom notification refer link https://developer.android.com/training/notify-user/custom-notification
test-img

sHiTaLsHiNdE

Android12 -> configuration.setLayoutDirection(new Locale("ar")) not working

It works on other android versions but below code doesn't work on android 12 devices. I use "ar" to language parameter. val configuration: Configuration = resources.configuration configurati...
test-img

Tuncer POLAT

android

kotlin

locale

arabic-support

android-layout-direction

Votes: 0

Answers: 2

Latest Answer

I had the same problem. Maybe a cache to recreate life cycle configuration, I use this: val intent = activity.intent activity.finish() startActivity(intent) It can take effect.
test-img

段浩浩

Posts

Questions

Blogs

Where knowledge meets opportunity!

About

  • Company
  • Monetize your knowledge
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved