diff --git a/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java b/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java index 2f151b8..11cc474 100644 --- a/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java +++ b/app/src/main/java/cn/hugh/bz/gk2/wallpaper/AutoWallpaperService.java @@ -1043,7 +1043,7 @@ public class AutoWallpaperService extends WallpaperService { // 创建通知 NotificationCompat.Builder builder = new NotificationCompat.Builder(AutoWallpaperService.this, channelId) - .setSmallIcon(android.R.drawable.ic_menu_gallery) + .setSmallIcon(cn.hugh.bz.gk2.R.drawable.ic_notification) .setContentTitle("打开固定壁纸") .setContentText("点击在系统相册中查看固定壁纸") .setPriority(NotificationCompat.PRIORITY_HIGH) diff --git a/app/src/main/res/drawable/ic_app_icon_foreground.xml b/app/src/main/res/drawable/ic_app_icon_foreground.xml new file mode 100644 index 0000000..389fbc1 --- /dev/null +++ b/app/src/main/res/drawable/ic_app_icon_foreground.xml @@ -0,0 +1,11 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_notification.xml b/app/src/main/res/drawable/ic_notification.xml new file mode 100644 index 0000000..6305687 --- /dev/null +++ b/app/src/main/res/drawable/ic_notification.xml @@ -0,0 +1,9 @@ + + + \ No newline at end of file diff --git a/app/src/main/res/layout/item_album_card.xml b/app/src/main/res/layout/item_album_card.xml index 16e5c74..43006f9 100644 --- a/app/src/main/res/layout/item_album_card.xml +++ b/app/src/main/res/layout/item_album_card.xml @@ -8,10 +8,11 @@ android:layout_height="wrap_content" android:layout_marginBottom="12dp" android:layout_marginHorizontal="4dp" - app:cardElevation="2dp" - app:cardCornerRadius="16dp" + app:cardElevation="0dp" + app:cardCornerRadius="20dp" app:cardBackgroundColor="@color/white" - app:strokeWidth="0dp" + app:strokeWidth="1dp" + app:strokeColor="#F0F0F0" android:clickable="true" android:focusable="true" android:foreground="?android:attr/selectableItemBackground"> @@ -21,42 +22,68 @@ android:layout_height="wrap_content" android:padding="16dp"> - + + app:layout_constraintTop_toTopOf="parent" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintVertical_bias="0.0"> - - + + app:layout_constraintEnd_toEndOf="parent"> - + + + + + + + + app:layout_constraintStart_toStartOf="@id/headerRow" + app:layout_constraintTop_toBottomOf="@id/headerRow" + app:layout_constraintEnd_toEndOf="parent" /> - - - - - - - + + app:layout_constraintStart_toStartOf="@id/headerRow" + app:layout_constraintTop_toBottomOf="@id/tvAlbumInfo" + app:layout_constraintEnd_toStartOf="@id/actionsLayout" + app:layout_constraintBottom_toBottomOf="parent"> - + + - - - - - + android:layout_marginStart="4dp" + android:text="顺序" + android:textSize="12sp" + android:textColor="@color/text_hint" /> + + - + + - - - - - + android:layout_marginStart="4dp" + android:text="30m" + android:textSize="12sp" + android:textColor="@color/text_hint" /> - - - - - - - + + @@ -194,25 +164,26 @@ android:layout_height="wrap_content" android:gravity="center_vertical" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintBottom_toBottomOf="@id/statsRow" - app:layout_constraintTop_toTopOf="@id/statsRow"> + app:layout_constraintBottom_toBottomOf="parent"> + + android:paddingHorizontal="12dp" + android:minWidth="0dp" /> + + + android:insetBottom="0dp" + android:paddingHorizontal="12dp" + android:minWidth="0dp" /> diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 80b730f..3d781d0 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml index 80b730f..3d781d0 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file