[M2] M2 opt
This commit is contained in:
@@ -35,7 +35,7 @@ class M2StatusBarView @JvmOverloads constructor(
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
LayoutInflater.from(context).inflate(R.layout.p_m2_view_status_bar, this, true)
|
LayoutInflater.from(context).inflate(R.layout.p_m2_view_status_bar, this, true)
|
||||||
setBackgroundColor(Color.WHITE)
|
setBackgroundColor(Color.TRANSPARENT)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onAttachedToWindow() {
|
override fun onAttachedToWindow() {
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
app:layout_constraintLeft_toLeftOf="@+id/img_drive_bg"
|
app:layout_constraintLeft_toLeftOf="@+id/img_drive_bg"
|
||||||
android:layout_marginLeft="@dimen/dp_24"
|
android:layout_marginLeft="@dimen/dp_24"
|
||||||
|
android:layout_marginTop="@dimen/dp_8"
|
||||||
app:layout_constraintTop_toTopOf="@+id/img_drive_bg"
|
app:layout_constraintTop_toTopOf="@+id/img_drive_bg"
|
||||||
tools:ignore="SpUsage" />
|
tools:ignore="SpUsage" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user