I draw a picture and display it like this:
// рисую в отдельном классе ... Canvas canvas = main_picture.beginRecording(w,h); canvas.drawLine(10, 10, 100, 100, point); ... main_picture.endRecording(); .... // Вывожу в MainActivity на imgView canvas.drawPicture(main_picture); imgView.invalidate(); If the screen resolution on the device is very large, then all the drawn lines become poorly distinguishable. Is it possible to reduce or increase the dpi depending on the screen resolution? Or is it solved in some other way?