原创 shape畫圖底部邊框出不來的解決方法
今天碰到的一個問題: 用shape畫了兩個框框如下:<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectang
原创 讓LinearLayout中的控件可以右對齊
<LinearLayout android:layout_width="wrap_content" android:layout_height="match_parent"
原创 android 自定義dialog代碼簡單版
1.首先在style中設置dialog無標題欄 <style name="MyDialog" parent="@android:Theme.Dialog"> <item name="android:windowNoTitl