Retrieving resources from / res depending

You are currently playing with .aar files for Android and creating libraries. If I created a style in a .aar file and included this .aar file in my project I'm working on. How could I use / res / in my manifest and set the theme for the theme style made in .aar (dependency)?

+4
source share
1 answer

Simple as mentioned in the documentation

in java

[<package_name>.]R.<resource_type>.<resource_name>

in xml

@[<package_name>:]<resource_type>/<resource_name>
+4
source

Source: https://habr.com/ru/post/1662897/


All Articles