0
我最近添加this GitHub庫在我的Android項目,所以我繼續添加我的gradle這個依賴它看起來像這樣:爲什麼外部CustomViews有紅色鎖?
dependencies {
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.github.rey5137:material:1.2.2'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
}
當我把一個自定義視圖,如果我用一個與它的greenlock好吧,但當我把一個與紅鎖給我的「渲染問題」的錯誤。
¿我應該已經做什麼?
我會嘗試叉,如果它的工作;那麼你會得到我的正確答案,如果不是,我會做同樣的哈哈,謝謝! :d –