最新回答 / 宝慕林9632733
frameLayout布局方式使它里面的控件都位于布局的左上角,这种独特方式适用于动态添加自定义View,也适用于碎片的布局。在这里是动态添加的item这个我们自定义的View,所以可以用FrameLayout。同样也可以用RelativeLayout。
2016-04-23
最新回答 / 碎冰冰0
new CellData("cindy","fine"),new CellData("title","this title is ok")mRecyclerView.setLayoutManager(new GridLayoutManager(this,3, LinearLayout.HORIZONTAL,false));
2016-04-07
最新回答 / 天使的羽毛v1
没有引入 jar包的原因,本人使用的 recyclerview 为:compile 'com.android.support:recyclerview-v7:24.0.0-alpha1',可以试一下
2016-03-20
最新回答 / 慕涵
<resources> <!-- Base application theme. --> <style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar"> <!-- Customize your theme here. --> <item name="colorPrimary">@color/colorPrimary</item&...
2016-03-01