Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 633 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 633 Bytes

Fan Controller

A fan control UI to learn how to create a custom view.

Features

  • extending View to create a custom view.
  • initializing the custom view with drawing and painting values.
  • overriding OnDraw() to draw the view.
  • adding the custom view to a layout.
  • adding view interactivity with performClick().
  • using custom attributes for colors.
  • adding accessibility with TalkBack.

Based on Creating Custom Views by Google Codelabs (2022).