【发布时间】:2015-04-21 19:14:47
【问题描述】:
我想用底部的按钮制作这样的视图。我该怎么做?我是材料设计的新手。我试过 RecyclerView 但我不知道那个按钮是什么。
【问题讨论】:
-
相对布局和imageview可以或多或少地保持
标签: android android-5.0-lollipop material-design
我想用底部的按钮制作这样的视图。我该怎么做?我是材料设计的新手。我试过 RecyclerView 但我不知道那个按钮是什么。
【问题讨论】:
标签: android android-5.0-lollipop material-design
访问https://github.com/vinc3m1/RoundedImageView/
这个图书馆可以帮助你。
当您将库添加到项目时,请像这样编写您的 xml 文件:
<com.makeramen.roundedimageview.RoundedImageView
android:id="@+id/imageViewID"
android:layout_width="40dp"
android:layout_height="40dp"/>
【讨论】:
你必须使用 FloatingActionButton 试试这个。
http://developer.android.com/samples/FloatingActionButtonBasic/index.html
【讨论】: