IntelliJ and android.support.v7.widget.GridLayout

后端 未结 3 1911
傲寒
傲寒 2020-12-07 03:18

I am running into trouble either setting up the support v7 GridLayout library in my IntelliJ project, or properly referencing it in my code.

I currently use the Acti

3条回答
  •  -上瘾入骨i
    2020-12-07 03:28

    You only need to add the support gridlayout to your dependencies now.

    dependencies {
        compile 'com.android.support:gridlayout-v7:19.1.0'
    }
    

    Then check the README instructions located in sdk/extras/android/support/v7/gridlayout. Most notably, you have to use the xmlns:app="http://schemas.android.com/apk/res-auto" namespace for some of the attributes.

    
    

提交回复
热议问题