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

Commit 34cff4e9 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed size of autofill service icon on Save affordance.

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

Bug: 65739885

Change-Id: Ic9efd7bbb853c28b2d869a609d21eff4e6ef6d2d
parent 0fe3b1aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@
                <ImageView
                    android:id="@+id/autofill_save_icon"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"/>
                    android:layout_height="24sp"/>

                <TextView
                    android:id="@+id/autofill_save_title"
+6 −2
Original line number Diff line number Diff line
@@ -604,7 +604,11 @@
    <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height -->
    <dimen name="autofill_save_custom_subtitle_max_height">20%</dimen>

    <!-- Max (absolute) dimensions (both width and height) of autofill service icon on autofill save affordance -->
    <dimen name="autofill_save_icon_max_size">100dp</dimen>
    <!-- Max (absolute) dimensions (both width and height) of autofill service icon on autofill save affordance.
      NOTE: the actual displayed size might is actually smaller than this and is hardcoded in the
      autofill_save.xml layout; this dimension is just used to avoid a crash in the UI (if the icon provided
      by the autofill service metadata is bigger than these dimentionsit will not be displayed).
    -->
    <dimen name="autofill_save_icon_max_size">300dp</dimen>

</resources>