Package ai.nexconn.chatui.utils.view
Class RTLUtils
-
- All Implemented Interfaces:
public class RTLUtilsUtility class for handling RTL (right-to-left) layout mode for certain languages
-
-
Constructor Summary
Constructors Constructor Description RTLUtils()
-
Method Summary
Modifier and Type Method Description static StringadapterAitInRTL(String str)static StringgetRTLCode(String str, String first)static booleanisChineseOrLetter(String txt)static booleanisRtl(Context c)Checks whether the current layout direction is RTL -
-
Method Detail
-
adapterAitInRTL
static String adapterAitInRTL(String str)
-
getRTLCode
static String getRTLCode(String str, String first)
-
isChineseOrLetter
static boolean isChineseOrLetter(String txt)
-
isRtl
static boolean isRtl(Context c)
Checks whether the current layout direction is RTL
-
-
-
-