2017-03-15 74 views
0

我剛剛觀看了一個在項目中設置Stylish alert對話框的YouTube視頻,但視頻中的人使用Android Studio作爲開發平臺,而我使用Eclipse。所以我只是去了提到的GitHub鏈接並下載了項目庫。現在我已經在Eclipse中導入了該項目庫。但一個XML內沒有顯示出一個錯誤:找不到包含'ProgressIndeterminate'屬性的資源標識符'cn.pedant.sweetalert'

<com.pnikosis.materialishprogress.ProgressWheel 
     android:id="@+id/progressWheel" 
     android:layout_width="80dp" 
     android:layout_height="80dp" 
     wheel:progressIndeterminate="true" 
     android:layout_gravity="center" /> 

error: No resource identifier found for attribute 'ProgressIndeterminate in package 'cn.pedant.sweetalert'

誤差在上面的代碼段的第一行。

回答

1

大聲笑。這很有趣,我無意中得到了解決上述問題的方法。我只是需要更換

wheel:progressIndeterminate = "true"

wheel:matProg_progressIndeterminate = "true" 

和它的工作就像一個魅力。

+0

這個問題,以及如何解決它的解決方案在那裏提到 - https://github.com/pedant/sweet-alert-dialog/issues/91 –

+0

感謝您的信息。 –

相關問題