Skip to content

Commit 48b420a

Browse files
committed
Updated ok method
1 parent c28b819 commit 48b420a

3 files changed

Lines changed: 93 additions & 43 deletions

File tree

.idea/workspace.xml

Lines changed: 90 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/github/pierry/simpletoast/SimpleToast.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static void ok(Context context, String msg) {
6060

6161
GradientDrawable gradientDrawable = new GradientDrawable();
6262
gradientDrawable.setColor(color);
63-
gradientDrawable.setAlpha(100);
63+
gradientDrawable.setAlpha(255);
6464
gradientDrawable.setCornerRadius(4);
6565
gradientDrawable.setStroke(1, borderColor);
6666

app/src/main/res/layout/toast_base.xml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,9 @@
88
<IconTextView
99
android:layout_height="wrap_content"
1010
android:layout_width="wrap_content"
11-
android:text="{fa-android}"
12-
android:shadowColor="#22000000"
13-
android:shadowDx="3"
14-
android:shadowDy="3"
15-
android:shadowRadius="1"
1611
android:id="@+id/img"
17-
android:textSize="90dp"
18-
android:textColor="#FF33B5E5" />
12+
android:textSize="40dp"
13+
android:textColor="@color/white" />
1914

2015
<Button
2116
android:id="@+id/button"

0 commit comments

Comments
 (0)