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

Commit fed6c6fa authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed padding of autofill service icon on Save affordance.

Test: manual verification
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Fixes: 65739885

Change-Id: Ia2b63750665eefd36143074c4cf0e1310de056b2
parent 34cff4e9
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
@@ -26,9 +26,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.os.Handler;
import android.os.IBinder;
@@ -309,7 +306,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);
        }
    }