Advanced_Android_Development icon indicating copy to clipboard operation
Advanced_Android_Development copied to clipboard

Custom attribute namespace change in 23.3.0

Open cameocoder opened this issue 9 years ago • 0 comments

If you update your build config to use version 23.3.0 of the android libraries, you also need to change the namespace used for the custom attribute minLength in prefs_general.xml:

Here is the diff:

diff --git a/app/src/main/res/xml/pref_general.xml b/app/src/main/res/xml/pref_general.xml index a8b175b..92c4d04 100644 --- a/app/src/main/res/xml/pref_general.xml +++ b/app/src/main/res/xml/pref_general.xml @@ -16,7 +16,7 @@ --> <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"

  • xmlns:custom="http://schemas.android.com/apk/res/com.example.android.sunshine.app"
  • xmlns:custom="http://schemas.android.com/apk/lib/com.example.android.sunshine.app" android:layout_width="match_parent" android:layout_height="match_parent">

cameocoder avatar Apr 20 '16 02:04 cameocoder