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

Commit e15b1c95 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed padding of autofill service icon on Save affordance." into oc-mr1-dev

parents 64254ff6 fed6c6fa
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -46,13 +46,14 @@

                <ImageView
                    android:id="@+id/autofill_save_icon"
                    android:layout_width="wrap_content"
                    android:layout_height="24sp"/>
                    android:scaleType="fitStart"
                    android:layout_width="24dp"
                    android:layout_height="24dp"/>

                <TextView
                    android:id="@+id/autofill_save_title"
                    android:paddingLeft="8dp"
                    android:layout_width="0dp"
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:text="@string/autofill_save_title"
                    android:textSize="16sp"
+1 −4
Original line number Diff line number Diff line
@@ -27,9 +27,6 @@ import android.content.Context;
import android.content.Intent;
import android.content.IntentSender;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.metrics.LogMaker;
import android.os.Handler;
@@ -317,7 +314,7 @@ final class SaveUi {
            Slog.w(TAG, "Not adding service icon of size "
                    + "(" + actualWidth + "x" + actualHeight + ") because maximum is "
                    + "(" + maxWidth + "x" + maxHeight + ").");
            iconView.setVisibility(View.INVISIBLE);
            ((ViewGroup)iconView.getParent()).removeView(iconView);
        }
    }