Android GridLayout and Space backport

后端 未结 3 2072
傲寒
傲寒 2021-01-27 00:13

Is there a backport of GridLayout and Space (both introduced in SDK 4.0) available (or planned) for older SDK\'s?

3条回答
  •  情书的邮戳
    2021-01-27 00:59

    The new version of the compatibility library does support the GridLayout and SpaceLayout but you have to add the tools as a library project. If you're using Eclipse you can import an existing project, navigate to where the Android SDK lives, and select the v7 compatibility directory.
    Once you have that imported you can go into project properties and add the library project through the Android page in that menu. The reason for this seems to be because of additional layout parameters that can't be included in a normal Jar file.

提交回复
热议问题