style
杨筱毅
本博客中绝大部分内容为解决项目中遇到的一些问题的方案,可能是从各种途径中获取到的,留个备份让别人(以后的自己也是别人)遇到相同问题时能够快速的解决。。。
展开
-
动态添加button,并设置其style
Button button = new Button(mActivity); button.setId(reportInfo.hashCode()); button.setText(reportInfo.getInfo()); button.setTextAppearance(mActivity, R.style.tv_custom_dialog_st原创 2015-08-19 15:53:21 · 12229 阅读 · 0 评论 -
自定义EditText样式-(包括光标背景)
效果图: 布局文件中<EditText android:layout_width="match_parent" android:layout_height="wrap_content" style="@style/ETEditAlbumInfoText" />样式:ETEditAlbumInfoTe原创 2015-12-26 19:11:29 · 1784 阅读 · 0 评论