我的項目已經 CollapsingToolbarLayout 實施了UI效果人行橫道Xwalk網頁視圖衝突CollapsingToolbarLayout <android.support.design.widget>
當我添加
編譯 'org.xwalk:xwalk_core_library:20.50.533.12'
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.1'
compile 'com.android.support:cardview-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.1'
compile 'org.xwalk:xwalk_core_library:20.50.533.12'
// compile 'org.xwalk:xwalk_core_library:16.45.421.19'
}
和運行項目中,我得到錯誤
Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.CollapsingToolbarLayout
在去除 編譯 'org.xwalk:xwalk_core_library:20.50.533.12' 從gradle這個錯誤消失