Card_view material design

前端 未结 5 662
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 01:33

I am trying to use card_view. But it keeps giving an error.

Error:(13) No resource identifier found for attribute `\'cardCornerRadius\' in pa

5条回答
  •  忘了有多久
    2021-02-05 02:34

    For eclipse We need to include both the things add android.support.v7.widget.CardView as a library project and also add + check it's jar file in java build path

    • Go to File -> Import -> Existing Android code into workspace --> Browse (Go to sdk/extras/android/support/v7/cardview) --> Click ok --> Click Finish
    • Right click on cardview project --> Properties --> Android(Left Pane) --> Enable isLibrary (tick the checkbox) --> Apply --> ok
    • Right click on your project --> Properties --> Android(Left pane) --> Add (under library) --> cardview --> apply --> ok
    • Right click on your project again --> build path --> configure build path -->under libraries-->add jar-->expand cardview-->expand libs-->select android.support.v7.widget.CardView.jar

    under order and export-->check android.support.v7.widget.CardView.jar-->click

    Hope it will help someone.

提交回复
热议问题