V
V
Victorius2015-11-17 15:52:47
Android
Victorius, 2015-11-17 15:52:47

Why is the display of custom View different in android 4.4 and 5.0?

Hello colleagues!
I ran into a problem that the application in android versions up to 5.0 is displayed correctly, and in version 5.0+ the text moved out, there is no redrawing of some elements on my custom view.
Has anyone encountered a similar problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victorius, 2016-02-07
@Victorius

The problem turned out to be the scaling of the canvas on which we draw. Here is a description of the problem.
stackoverflow.com/questions/27196068/android-draw...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question