Commit e6b293fc authored by wanglei's avatar wanglei

...

parent e6d6b140
......@@ -94,6 +94,7 @@ object NotificationUiUtil {
bigRemoteViews.setTextViewText(R.id.tv_size, size.toFormatSize())
val smallRemoteViews = RemoteViews(context.packageName, R.layout.notification_junk_small)
smallRemoteViews.setTextViewText(R.id.tv_size, size.toFormatSize())
sendNotificationUI(context, actionId, bigRemoteViews, smallRemoteViews)
}
......
......@@ -132,7 +132,7 @@
android:id="@+id/cl_bottom"
android:layout_width="match_parent"
android:layout_height="56dp"
app:layout_constraintBottom_toBottomOf="parent">
app:layout_constraintBottom_toTopOf="@id/ll_page_search">
<ImageView
android:id="@+id/iv_left"
......@@ -168,10 +168,10 @@
tools:ignore="ContentDescription" />
<ImageView
android:src="@mipmap/weixuan_wuhen"
android:id="@+id/iv_privacy"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/weixuan_wuhen"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/iv_more"
app:layout_constraintStart_toEndOf="@id/iv_home"
......@@ -192,4 +192,31 @@
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:id="@+id/ll_page_search"
android:layout_width="match_parent"
android:layout_height="56dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="15dp"
android:src="@mipmap/guanbi_page_search" />
<FrameLayout
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_weight="1" >
</FrameLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......@@ -2,8 +2,8 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:background="@drawable/bg_ffffff_15"
android:layout_height="60dp">
android:layout_height="60dp"
android:background="@drawable/bg_ffffff_15">
<ImageView
android:layout_width="34dp"
......@@ -13,12 +13,25 @@
android:src="@mipmap/clean"
tools:ignore="ContentDescription" />
<TextView
android:id="@+id/tv_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="2dp"
android:textColor="#FF3722"
android:textSize="15sp"
android:textStyle="bold"
tools:text="1000MB" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginHorizontal="6dp"
android:layout_weight="1"
android:ellipsize="end"
android:singleLine="true"
android:text="Found a lot of junk files"
android:textColor="@color/black"
android:textSize="14sp"
......
......@@ -37,7 +37,7 @@
android:layout_height="wrap_content"
android:textColor="#898989"
android:textSize="12sp"
tools:text="App installation successful" />
android:text="App installation successful" />
</LinearLayout>
<TextView
......
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