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

Commit ea0c567f authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Tune mini keyboard visual

This change only gets rid of the surrounding paddings of the mini keyboard.

Bug: 5248783
Change-Id: Idb95ac1467085c230fd60e4bc0f466fef5700bfb
parent 3f8351e1
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@
        <attr name="latinKeyboardStyle" format="reference" />
        <!-- KeyboardView style -->
        <attr name="keyboardViewStyle" format="reference" />
        <!-- MiniKeyboard style -->
        <attr name="miniKeyboardStyle" format="reference" />
        <!-- MiniKeyboardView style -->
        <attr name="miniKeyboardViewStyle" format="reference" />
        <attr name="miniKeyboardPanelStyle" format="reference" />
@@ -130,15 +132,15 @@

    <declare-styleable name="Keyboard">
        <!-- Default keyboard height -->
        <attr name="keyboardHeight" format="dimension" />
        <attr name="keyboardHeight" format="dimension|fraction" />
        <!-- Maximum keyboard height, in pixels or percentage of display height -->
        <attr name="maxKeyboardHeight" format="dimension|fraction" />
        <!-- Minimum keyboard height represented in pixels, percentage of display height if fraction
             is positive, or percentage of display width if fraction is negative. -->
        <attr name="minKeyboardHeight" format="dimension|fraction" />
        <!-- Keyboard top and bottom paddings. -->
        <attr name="keyboardTopPadding" format="dimension" />
        <attr name="keyboardBottomPadding" format="dimension" />
        <attr name="keyboardTopPadding" format="dimension|fraction" />
        <attr name="keyboardBottomPadding" format="dimension|fraction" />
        <!-- Default width of a key, in pixels or percentage of display width.
             If the value is zero, the actual key width will be determined to fill out the area up
             to the right edge of the keyboard.
+1 −1
Original line number Diff line number Diff line
@@ -48,7 +48,7 @@
    <fraction name="keyboard_bottom_padding_ics">4.669%p</fraction>
    <fraction name="key_bottom_gap_ics">6.127%p</fraction>
    <fraction name="key_horizontal_gap_ics">1.739%p</fraction>
    <dimen name="mini_keyboard_horizontal_edges_padding_ics">6dp</dimen>
    <dimen name="mini_keyboard_horizontal_edges_padding_ics">4dip</dimen>

    <!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
    <!-- popup_key_height x 1.2 -->
Loading