replace our implementation of applyStyle with a native function that calls into libandroidfw

also change a few things to work with latest libandroidfw, since we are now using
it's helper functions that need to agree on e.g STYLE_NUM_ENTRIES with the Java
code.
This commit is contained in:
Mis012
2025-02-27 22:21:14 +01:00
parent d97c3ee048
commit f0fcd47c80
6 changed files with 139 additions and 202 deletions

View File

@@ -273,6 +273,13 @@ public class TypedValue {
* */
public int density;
/**
* If the Value came from a style resource, this holds the corresponding style resource id
* against which the attribute was resolved.
*/
public int sourceStyleResourceId;
/* ------------------------------------------------------------ */
/**