Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

google-developer-training/advanced-android-kotlin-drawing-shaders

Repository files navigation

FindMe - Solution code

The user is presented with a dark surface. When they click on it, a white circle is displayed. This represents a wall shone at with a spotlight. Touching the surface, hides an Aandroid image. The light cone then follows continuous motion. If the image of an android is discovered, the screen lights up. To restart, lift your finger and touch screen again.

Introduction

This app demonstrates how to use Paint with a BitmapShader to fill the spotlight circle with a Bitmap instead of a simple color.

Pre-requisites

You need to know:

  • Create apps with Android Studio and run them on a mobile device.
  • Create a custom view.
  • Draw on a Canvas.
  • Add event handlers to views.

Getting Started

  1. Download and run the app.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages