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

Commit e7cdf95d authored by Danny Epstein's avatar Danny Epstein Committed by android-build-merger
Browse files

Add top padding to grant permission content.

am: dc40bd77

* commit 'dc40bd77':
  Add top padding to grant permission content.
parents 70dc8572 dc40bd77
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@
                android:id="@+id/content"
                android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="wrap_content">
                android:layout_height="wrap_content"
                android:paddingTop="@dimen/conf_diag_content_padding_top">

            <TextView
                    android:id="@+id/current_page_text"
+1 −0
Original line number Diff line number Diff line
@@ -19,5 +19,6 @@
    <dimen name="conf_diag_button_container_height">96dp</dimen>
    <dimen name="conf_diag_2button_margin_side">32dp</dimen>
    <dimen name="conf_diag_2button_margin_top">10dp</dimen>
    <dimen name="conf_diag_content_padding_top">32dp</dimen>

</resources>
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
    <dimen name="conf_diag_2button_margin_top">9dp</dimen>
    <dimen name="conf_diag_3button_padding_side">32dp</dimen>
    <dimen name="conf_diag_3button_padding_bottom">22dp</dimen>
    <dimen name="conf_diag_content_padding_top">6dp</dimen>


    <!-- START: Ported values -->
+1 −1
Original line number Diff line number Diff line
@@ -189,7 +189,7 @@ public abstract class ConfirmationViewHandler implements
        // In order to fake the buttons peeking at the bottom, need to do set the
        // padding properly.
        if (mContent.getPaddingBottom() != mButtonBarContainer.getHeight()) {
            mContent.setPadding(0, 0, 0, mButtonBarContainer.getHeight());
            mContent.setPadding(0, mContent.getPaddingTop(), 0, mButtonBarContainer.getHeight());
            if (Log.isLoggable(TAG, Log.DEBUG)) {
                Log.d(TAG, "    set mContent.PaddingBottom: " + mButtonBarContainer.getHeight());
            }