Xml namespace declaration: auto-substitute package name

Turns out that there is a postfix for that: res-auto.

So all you need to do is write

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:custom="http://schemas.android.com/apk/res-auto" />

This will automatically use current package name.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)