[Provider Model] Increase the maximum height of Internet Dialog

- The original designed networks of Internet Dialog is as follows
  - Carrier Network x1 (88dp high)
  - WiFi toggle/networks x3 (72dp high)

- When the Ethernet network is added, the new network will become as follows
  - Ethernet x1 (88dp high)
  - Carrier Network x1 (88dp high)
  - WiFi toggle/networks x2 (72dp high)

- The maximum height of the Internet Dialog needs to be increased to
more than 16dp.
  - Increase the maximum height from 646dp to 662dp

Bug: 200764294
Test: manual test, verified on the Settings UI.
atest -c InternetAdapterTest \
         InternetDialogControllerTest \
         InternetDialogTes

Change-Id: I70bdc802213806ad4cac88cdcd45a60e14794552
This commit is contained in:
Weng Su
2021-09-28 22:53:53 +08:00
parent 06f2687f61
commit 72ec0f2ba8

View File

@@ -1592,7 +1592,7 @@
<!-- Internet panel related dimensions -->
<dimen name="internet_dialog_list_margin">12dp</dimen>
<dimen name="internet_dialog_list_max_height">646dp</dimen>
<dimen name="internet_dialog_list_max_height">662dp</dimen>
<!-- The width of large/content heavy dialogs (e.g. Internet, Media output, etc) -->
<dimen name="large_dialog_width">@dimen/match_parent</dimen>