“@android:drawable/ic_” vs “@*android:drawable/ic_

2019-01-18 14:53发布

问题:

Does anybody know where I can find documentation on the asterisk? It appears to override the protection of 'private' variables in subclass android.R.drawable.

回答1:

The @*android is used to access private resources. These resources can change or be removed between two versions of Android so you should NEVER use them. This is for framework use only.