Skip to content

Commit

Permalink
comig
Browse files Browse the repository at this point in the history
  • Loading branch information
gzeinnumer committed May 17, 2023
1 parent e9e973d commit 1731f59
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private void confirmDialog() {
.setTitle("ini title")
.setContent("ini content")
// .setContent(sequence)
.setButtonStyle(ButtonStyle.ButtonOutlined)
// .setButtonStyle(ButtonStyle.ButtonOutlined)
.onCancelPressedCallBack(() -> Toast.makeText(MainActivity.this, "Cancel", Toast.LENGTH_SHORT).show())
.onOkPressedCallBack(() -> Toast.makeText(MainActivity.this, "Ok", Toast.LENGTH_SHORT).show())
.show());
Expand All @@ -68,7 +68,7 @@ private void infoDialog() {
.setAnimationStyle(R.style.CustomDialogStyle)
.setButtonAllCaps(false)
.autoDismisOnSecond(5)
.setButtonStyle(ButtonStyle.ButtonOutlined)
// .setButtonStyle(ButtonStyle.ButtonOutlined)
.setButtonGravity(Gravity.CENTER)
.setContentAlignment(View.TEXT_ALIGNMENT_CENTER)
.setTitleColor(getResources().getColor(R.color.black))
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>

<color name="colorPrimary">#00b48d</color>
<color name="colorPrimaryDark">#00b48d</color>
<color name="colorAccent">#00b48d</color>
<color name="colorPrimary">@color/red_500</color>
<color name="colorPrimaryDark">@color/red_500</color>
<color name="colorAccent">@color/amber_500</color>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ private void initDesign() {
_dBtnCancelMBO.setTextSize((float) dBtnTextSize);
if (btnStyle == ButtonStyle.ButtonContained)
_dBtnCancelMBC.setTextSize((float) dBtnTextSize);
if (btnStyle == ButtonStyle.ButtonText) _dBtnOkMBT.setTextSize((float) dBtnTextSize);
if (btnStyle == ButtonStyle.ButtonText)
_dBtnOkMBT.setTextSize((float) dBtnTextSize);
if (btnStyle == ButtonStyle.ButtonOutlined)
_dBtnOkMBO.setTextSize((float) dBtnTextSize);
if (btnStyle == ButtonStyle.ButtonContained)
Expand Down

0 comments on commit 1731f59

Please sign in to comment.