A
A
Alexey Devyatov2016-05-11 00:35:37
Android
Alexey Devyatov, 2016-05-11 00:35:37

How to place an object on an activity whose content is rendered using canvas?

Good day.
I am writing a Sudoku game for Android. The activity with the playing field was drawing by itself, using Canvas.
Now the need to place a timer at the bottom of this Activity.
Tell me, please, how to do it? Is it possible to use the Chronometer object, or will I have to write my own timer?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxF, 2016-05-12
@MaxF

Вы же скорее всего использовали CustomView, для рисования на канвасе.
Кладите этот вью внутрь линеарЛэйаута (вертикального), и добавляйте сколько угодно других элементов.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question