mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 19:43:36 +00:00
Fixed red tint regarding system security not being spanned across the whole card
This commit is contained in:
parent
b0e7c65504
commit
efbb3ab25f
@ -109,6 +109,18 @@
|
|||||||
android:background="@drawable/bg_card"
|
android:background="@drawable/bg_card"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
|
<View
|
||||||
|
gone="@{XAndroidKt.isDeviceSecure()}"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="0dp"
|
||||||
|
android:alpha=".15"
|
||||||
|
android:background="?colorError"
|
||||||
|
android:visibility="gone"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toTopOf="parent" />
|
||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:id="@+id/home_device_overview"
|
android:id="@+id/home_device_overview"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
@ -117,18 +129,6 @@
|
|||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
|
|
||||||
<View
|
|
||||||
gone="@{XAndroidKt.isDeviceSecure()}"
|
|
||||||
android:layout_width="0dp"
|
|
||||||
android:layout_height="0dp"
|
|
||||||
android:alpha=".3"
|
|
||||||
android:background="?colorError"
|
|
||||||
android:visibility="gone"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
|
||||||
app:layout_constraintTop_toTopOf="parent" />
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/home_device_icon"
|
android:id="@+id/home_device_icon"
|
||||||
style="?styleIconPrimary"
|
style="?styleIconPrimary"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user