Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f05ddbe authored by PETER LIANG's avatar PETER LIANG Committed by Android (Google) Code Review
Browse files

Merge "Support the RTL mode of the message view."

parents b2aabb16 2fda02b3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ class MenuMessageView extends LinearLayout implements
    MenuMessageView(Context context) {
        super(context);

        setLayoutDirection(LAYOUT_DIRECTION_LOCALE);
        setVisibility(GONE);

        mTextView = new TextView(context);
+3 −0
Original line number Diff line number Diff line
@@ -150,6 +150,9 @@ class MenuViewLayer extends FrameLayout implements
            AccessibilityManager accessibilityManager, IAccessibilityFloatingMenu floatingMenu) {
        super(context);

        // Simplifies the translation positioning and animations
        setLayoutDirection(LAYOUT_DIRECTION_LTR);

        mWindowManager = windowManager;
        mAccessibilityManager = accessibilityManager;
        mFloatingMenu = floatingMenu;