You need a programBatchApkTool
That parses / collects apk files.
Unpack the archive in a convenient place and run it.
In the window that appears, you need to set the desired level API (for android 9 level API - 28)
Everything else in my opinion is the default.
To folder _framework
We throw a few files from the firmware required for kompillyatsii. framework-ext-res.apk
we put a file which we will investigate. This file InCalUI.apk
(It is in the phone system \ priv-app folder)
Produce dekompillyatsiyu (press 1)
After successful dekmpillyatsii folder_INPUT_APK
a folder should appear InCallUI
Unwrap the resource files, which we can easily edit.
For the location of the image when an incoming call is responsible fileres \ layout \ call_card.xml
It has several options:android: scaleType = "fitStart"
The picture fills the upper portion of the screenandroid: scaleType = "fitCenter"
The picture fills the middle of the screenandroid: scaleType = "fitEnd"
The picture fills the screen bottomandroid: scaleType = "center"
The picture is displayed in the center of the screen without stretchingandroid: scaleType = "centerCrop"
The picture is stretched evenly on the entire screen, cut off the excessandroid: scaleType = "fitXY"
The picture fills the entire screen, in this case stretched / compressedandroid: scaleType = "matrix"
The picture is displayed in the upper left corner of the unchanged
After editing the filecall_card.xml
collect apk file again (press 3)
and it appears when assembled in a folder_OUTPUT_APK
Install it on your phone (this can be done directly from the program, but needs some tweaking)As you can see, everything is simple. Dare, edit, experiment.