Skip to content

Instantly share code, notes, and snippets.

@nickbutcher
Last active August 16, 2022 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickbutcher/5589706f095a39655a57b279ec884990 to your computer and use it in GitHub Desktop.
Save nickbutcher/5589706f095a39655a57b279ec884990 to your computer and use it in GitHub Desktop.
<!-- Copyright 2019 Google LLC.
SPDX-License-Identifier: Apache-2.0 -->
<!-- This standard button will be replaced with a MaterialButton -->
<Button ... />
<!-- You can even use MaterialButton specific attributes -->
<Button ...
app:icon="@drawable/foo"/>
<!-- Or if you want an AppCompatButton with backported features but not a MaterialButton, you can do this -->
<androidx.appcompat.widget.AppCompatButton ... />
@Mikekosa
Copy link

App icon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment