File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -288,19 +288,19 @@ public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
288
288
289
289
## 常见问题
290
290
291
- ###(1)导入后出现` org/gradle/api/publication/maven/internal/DefaultMavenFactory `
291
+ ### (1)导入后出现` org/gradle/api/publication/maven/internal/DefaultMavenFactory `
292
292
293
293
最简单的方式,通过` compile 'com.zhy:autolayout:x.x.x' ` 进行依赖使用,如果一定要以module引用,参考该issue[ #74 ] ( https://github.com/hongyangAndroid/AndroidAutoLayout/issues/74 )
294
294
295
- ###(2)RadioGroup,Toolbar等控件中的子View无法完成适配
295
+ ### (2)RadioGroup,Toolbar等控件中的子View无法完成适配
296
296
297
297
这个其实上文已经提到过了,需要自己扩展。不过这个很多使用者贡献了他们的扩展类可以直接使用,
298
298
参考[ autolayout-widget] ( https://github.com/hongyangAndroid/AndroidAutoLayout/tree/master/widgetsample ) ,
299
299
如果没有发现你需要的容器类,那么你就真的需要自行扩展了,当然如果你完成了扩展,可以给我发个PR,或者让我知道,我可以加入到
300
300
` autolayout-widget ` 中方便他人,ps:需要用到哪个copy就好了,不要直接引用` autolayout-widget ` ,因为其引用了大量的库,可能很多
301
301
库你是用不到的。
302
302
303
- ###(3)java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
303
+ ### (3)java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
304
304
305
305
这个问题是因为默认AutoLayoutActivity会继承自AppCompatActivity,所以默认需要设置
306
306
Theme.AppCompat的theme;
You can’t perform that action at this time.
0 commit comments