【发布时间】:2016-05-09 22:36:35
【问题描述】:
我想显示这样的材料设计按钮:
我正在使用MaterialDesignLibrary。在 XML 中,我可以这样显示:
<com.gc.materialdesign.views.ButtonRectangle
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#1E88E5"
android:text="Button" />
如何以编程方式显示此按钮?
【问题讨论】:
-
告诉我你为什么要贬低我?
标签: android material-design android-button