Skip to content

Commit

Permalink
Updated the widths of buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
chnouman committed Nov 13, 2020
1 parent 92e4274 commit bb923cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ fun AlertDialog.icon(

/***
* onPositive Button Properties For Alert Dialog
*
* No Need to call dismiss(). It is calling already
* */
fun AlertDialog.onPositive(
text: String,
Expand All @@ -154,6 +156,8 @@ fun AlertDialog.onPositive(

/***
* onNegative Button Properties For Alert Dialog
*
* No Need to call dismiss(). It is calling already
* */
fun AlertDialog.onNegative(
text: String,
Expand Down
4 changes: 2 additions & 2 deletions awesomeDialog/src/main/res/layout/awesome_dilaog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

<TextView
android:id="@+id/yesButton"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="@dimen/triple_margin"
android:layout_marginStart="@dimen/double_margin"
android:layout_marginTop="@dimen/single_and_half_margin"
Expand All @@ -78,7 +78,7 @@

<TextView
android:id="@+id/noButton"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="@dimen/triple_margin"
android:layout_marginStart="@dimen/double_margin"
android:layout_marginTop="@dimen/half_margin"
Expand Down

0 comments on commit bb923cc

Please sign in to comment.