PeakGen
PeakGen

Reputation: 23035

Limitation of Android Graphics

Please have a look at the following image, it is a black and white print of a colour photo.

enter image description here

This is a Fuel level indicator. User click on the up-down arrows and the fuel bar goes up-down. I have never done graphics like this before, and since this is a for a office software, I have no idea what kind of library can do this.

There is one other image.

enter image description here This is your Car Dashboard Mileage meter. You can click in this and type the value and the numbers in the image will count down/ count up for the typed value.

You are not creating a Game here and therefore, can you create something like this in Android?

Upvotes: 1

Views: 112

Answers (1)

Display Name
Display Name

Reputation: 8128

It's doable by creating a custom View. You can use Canvas to draw anything you want. But in this case you can instead extend ViewGroup class and draw by yourself only "non-standard" parts. (for example, you can reuse standard buttons by adding them to your ViewGroup subclass.) More info here.

Upvotes: 1

Related Questions