android-iconify icon indicating copy to clipboard operation
android-iconify copied to clipboard

Add IconImageView and IconImageButton

Open 1zaman opened this issue 9 years ago • 0 comments

Although single icons can be rendered as text in text views, it requires setting a fixed size. Using a drawable allows it to automatically scale according to the size of the widget. Therefore, this pull request introduces IconImageView and IconImageButton to enable using the drawable in XML. They also define custom attributes for the icon properties, which improves readability and extendibility. Furthermore, extending ImageView and ImageButton provides easy inoperability with other drawables (i.e when switching between XML drawable resources and IconDrawable).

Resolves #132

1zaman avatar Dec 16 '15 07:12 1zaman