Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Catalog] icon is not square #4617

Open
manabu-nakamura opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4618
Open

[Catalog] icon is not square #4617

manabu-nakamura opened this issue Feb 21, 2025 · 0 comments · May be fixed by #4618
Assignees
Labels

Comments

@manabu-nakamura
Copy link
Contributor

Description: The icon is not square.
Image
https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/dockedtoolbar/res/layout/cat_docked_toolbar_content.xml:

<Button
  android:id="@+id/docked_toolbar_tab_button"
  android:layout_width="48dp"
  android:layout_height="48dp"
  ...

<Button
  android:id="@+id/docked_toolbar_button_overflow_button"
  android:layout_width="40dp"					<-
  android:layout_height="48dp"
  ...

Expected behavior: The icon is square.
Image
https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/dockedtoolbar/res/layout/cat_docked_toolbar_content.xml:

<Button
  android:id="@+id/docked_toolbar_tab_button"
  android:layout_width="48dp"
  android:layout_height="48dp"
  ...

<Button
  android:id="@+id/docked_toolbar_button_overflow_button"
  android:layout_width="48dp"					<-
  android:layout_height="48dp"
  ...

Android API version: 35

Material Library version: a82391a

Device: Android Emulator 35.3.12

@manabu-nakamura manabu-nakamura linked a pull request Feb 21, 2025 that will close this issue
@kendrickumstattd kendrickumstattd self-assigned this Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants