mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Fixed operation in progress dialog background color transparency
This commit is contained in:
parent
63138e818c
commit
5da4f748a3
3 changed files with 3 additions and 3 deletions
|
|
@ -353,7 +353,7 @@ class DialogUtils {
|
|||
val d: Drawable = ColorDrawable(
|
||||
context.getColor(R.color.black)
|
||||
)
|
||||
d.alpha = 153 // 60%
|
||||
d.alpha = 153 // 60% opacity
|
||||
setBackgroundDrawable(d)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,8 +12,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?attr/color_grey_300"
|
||||
android:alpha="102"
|
||||
android:background="@color/dialog_background"
|
||||
android:visibility="@{visibility ? View.VISIBLE : View.GONE, default=gone}">
|
||||
|
||||
<ImageView
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
<color name="transparent_color">#00000000</color>
|
||||
<color name="black">#000000</color>
|
||||
<color name="white">#FFFFFF</color>
|
||||
<color name="dialog_background">#99000000</color><!-- 60% opacity -->
|
||||
|
||||
<color name="orange_main_100">#FFEACB</color>
|
||||
<color name="orange_main_100_alpha_50">#80FFEACB</color>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue