diff options
| author | 2017-09-16 01:53:46 +0000 | |
|---|---|---|
| committer | 2017-09-16 01:53:46 +0000 | |
| commit | 631b987234c7b202607a78b0b390abf458f4d32c (patch) | |
| tree | 58462891942ff19775b60263b8e4e5cd23acac32 | |
| parent | c910573484d8a90bbce7e073d200e53bb50bb317 (diff) | |
| parent | a8c2b36b331dd4170ebd7b734dbf146c19575106 (diff) | |
Merge "Fixed size of autofill service icon on Save affordance." into oc-mr1-dev
am: a8c2b36b33
Change-Id: I771b71a9c189c7eeae30524bd155b5e4f94ad681
| -rw-r--r-- | core/res/res/layout/autofill_save.xml | 2 | ||||
| -rw-r--r-- | core/res/res/values/dimens.xml | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml index 63675ab03916..92419c8c525b 100644 --- a/core/res/res/layout/autofill_save.xml +++ b/core/res/res/layout/autofill_save.xml @@ -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" diff --git a/core/res/res/values/dimens.xml b/core/res/res/values/dimens.xml index 5ee4f7824c97..2c64789f2121 100644 --- a/core/res/res/values/dimens.xml +++ b/core/res/res/values/dimens.xml @@ -609,7 +609,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> |