-- EDIT --
I know what xmlns are thank you:)
-- END EDIT --
i can not find any documentation on the res-auto and lib-auto android namespaces. These appears at the top of xml layout files:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
android:background="#CCCCCC"
android:layout_width="match_parent"
android:layout_height="match_parent">
I remarked that aapt2 requires the use of lib-auto instead of res-auto. But don't know why.
xmlns:app="http://schemas.android.com/apk/lib-auto"
And what if you don't have any xml layout file, and you still need to include all resources from a library. What would be the "code" version of lib-auto ?