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

Commit 79a02b15 authored by Jim Miller's avatar Jim Miller
Browse files

Fix 5044158: layout and asset work on lockscreen PIN mode

Fix PIN entry layout issues on hdpi, large-mdpi and xhdpi devices where emergencyCallButton was partially off-screen.

Copy button assets from latinIME for PIN screen.

Make PIN keyboard horizontal and vertical gaps configurable.

Change-Id: I415fcd83f02971b987c3df418d4114b8e1ab3945
parent 85de77a1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ import android.util.Log;
import android.view.KeyCharacterMap;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.ViewRootImpl;
import com.android.internal.R;

@@ -62,7 +63,8 @@ public class PasswordEntryKeyboardHelper implements OnKeyboardActionListener {
        mContext = context;
        mTargetView = targetView;
        mKeyboardView = keyboardView;
        if (useFullScreenWidth || mKeyboardView.getLayoutParams().width == -1) {
        if (useFullScreenWidth
                || mKeyboardView.getLayoutParams().width == ViewGroup.LayoutParams.MATCH_PARENT) {
            createKeyboards();
        } else {
            createKeyboardsWithSpecificSize(mKeyboardView.getLayoutParams().width,
+435 B
Loading image diff...
+514 B
Loading image diff...
+585 B
Loading image diff...
+553 B
Loading image diff...
Loading