Commit f5a432c5 authored by wanglei's avatar wanglei

...

parent 51a7e33a
......@@ -117,6 +117,7 @@ object StayNotification {
builder.setWhen(System.currentTimeMillis())
builder.setCustomContentView(contentView)
builder.setCustomBigContentView(expendView)
builder.setCustomHeadsUpContentView(expendView)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
val channel =
......
......@@ -3,7 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/bg_ffffff_10"
android:orientation="vertical">
<TextView
......@@ -11,9 +10,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginHorizontal="8dp"
android:layout_marginTop="8dp"
android:text="@string/phone_tracker"
android:textColor="#010101"
android:textSize="12sp"
android:textStyle="bold" />
<TextView
......@@ -22,10 +21,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginHorizontal="8dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="8dp"
android:includeFontPadding="false"
android:text="@string/background_for_location"
android:textSize="12sp" />
android:textSize="11sp" />
</LinearLayout>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment