-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CommonDialog
- Loading branch information
maqiang
committed
Sep 20, 2018
1 parent
356a7a8
commit ef9aa0e
Showing
6 changed files
with
90 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,99 +1,72 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/ll_parent" | ||
android:layout_width="match_parent" | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:id="@+id/layout_content" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:layout_marginLeft="10dip" | ||
android:layout_marginRight="10dip" | ||
android:background="@android:color/transparent"> | ||
android:background="@drawable/roundlayout" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical"> | ||
|
||
<LinearLayout | ||
android:id="@+id/layout_content" | ||
android:layout_width="fill_parent" | ||
android:id="@+id/layout_havemsg" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_alignParentTop="true" | ||
android:background="@drawable/roundlayout" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical"> | ||
android:orientation="vertical" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp"> | ||
|
||
<LinearLayout | ||
android:id="@+id/layout_havemsg" | ||
<TextView | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="vertical" | ||
android:paddingLeft="15dp" | ||
android:paddingRight="15dp"> | ||
android:layout_marginTop="15dp" | ||
android:gravity="center_horizontal" | ||
android:lineSpacingExtra="6dp" | ||
android:text="我是标题" | ||
android:textColor="#292d33" | ||
android:textSize="18sp" /> | ||
|
||
<TextView | ||
android:id="@id/dialog_title" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="15dp" | ||
android:gravity="center_horizontal" | ||
android:lineSpacingExtra="6dp" | ||
android:text="订单提交成功" | ||
android:textColor="#292d33" | ||
android:textSize="18sp" | ||
android:visibility="visible" /> | ||
<EditText | ||
android:id="@+id/et_content" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="15dp" | ||
android:layout_marginTop="15dp" | ||
android:gravity="start|center_horizontal" | ||
android:hint="请输入想要的内容" | ||
android:lineSpacingExtra="6dp" | ||
android:textColor="#525a66" | ||
android:textSize="15sp" /> | ||
|
||
<EditText | ||
android:id="@+id/et_content" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="15dp" | ||
android:layout_marginTop="15dp" | ||
android:gravity="center_horizontal" | ||
android:hint="请输入想要的内容" | ||
android:lineSpacingExtra="6dp" | ||
android:textColor="#525a66" | ||
android:textSize="15sp" /> | ||
</LinearLayout> | ||
</LinearLayout> | ||
|
||
<TextView | ||
android:id="@+id/txt_onlytitle" | ||
<LinearLayout | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
|
||
<Button | ||
android:id="@id/btn_cancel" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:background="@drawable/selector_btn_cancel_border_bg" | ||
android:gravity="center" | ||
android:lineSpacingExtra="6dp" | ||
android:minHeight="106dp" | ||
android:paddingLeft="20dp" | ||
android:paddingRight="20dp" | ||
android:text="订单提交成功" | ||
android:textColor="#292d33" | ||
android:minHeight="44dp" | ||
android:text="取消" | ||
android:textColor="#f7595a" | ||
android:textSize="17sp" | ||
android:visibility="gone" /> | ||
|
||
<LinearLayout | ||
<Button | ||
android:id="@id/btn_ok" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal"> | ||
|
||
<Button | ||
android:id="@id/btn_cancel" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:background="@drawable/selector_btn_cancel_border_bg" | ||
android:gravity="center" | ||
android:minHeight="44dp" | ||
android:text="取消" | ||
android:textColor="#f7595a" | ||
android:textSize="17sp" | ||
android:visibility="gone" /> | ||
|
||
<Button | ||
android:id="@id/btn_ok" | ||
android:layout_width="fill_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" | ||
android:background="@drawable/selector_btn_assuere_border_bg" | ||
android:gravity="center" | ||
android:minHeight="44dp" | ||
android:text="确定" | ||
android:textColor="#f7595a" | ||
android:textSize="17sp" /> | ||
</LinearLayout> | ||
android:layout_weight="1" | ||
android:background="@drawable/selector_btn_assuere_border_bg" | ||
android:gravity="center" | ||
android:minHeight="44dp" | ||
android:text="确定" | ||
android:textColor="#f7595a" | ||
android:textSize="17sp" /> | ||
</LinearLayout> | ||
|
||
</RelativeLayout> | ||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters