- 博客(3)
- 收藏
- 关注
原创 shape画图底部边框出不来的解决方法
今天碰到的一个问题: 用shape画了两个框框如下:<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <size android:width="60dp" android:height="19dp"/>
2015-04-22 17:45:02 1386
原创 让LinearLayout中的控件可以右对齐
<LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_weight="1" android:gravity="right"
2015-04-22 17:38:45 1111
原创 android 自定义dialog代码简单版
1.首先在style中设置dialog无标题栏 true 2.new出Dialog和关联布局 mDialog = new Dialog(this, R.style.MyDialog); mDialog.setContentView(R.layout.back_dialog); 布局: android:layout_width="match_parent" an
2015-03-09 17:18:53 506
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人