build: update agp android gradle version

update agp to 8.13.2,update gradle to 8.13,add build.gradle namespace,use android studio panda 4
This commit is contained in:
2026-06-12 18:44:30 +08:00
parent 58ddea018c
commit 5074854c40
14 changed files with 247 additions and 144 deletions

View File

@@ -1,2 +1 @@
<manifest package="com.wgw.photo.preview"
xmlns:android="http://schemas.android.com/apk/res/android"/>
<manifest package="com.wgw.photo.preview" />

View File

@@ -20,24 +20,12 @@ import android.view.ViewGroup;
import android.view.ViewParent;
import android.view.ViewTreeObserver.OnGlobalLayoutListener;
import android.view.Window;
import android.view.WindowInsets;
import android.view.WindowInsetsController;
import android.view.WindowManager.LayoutParams;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.wgw.photo.preview.PreloadImageView.DrawableLoadListener;
import com.wgw.photo.preview.interfaces.IFindThumbnailView;
import com.wgw.photo.preview.interfaces.OnDismissListener;
import com.wgw.photo.preview.util.SpannableString;
import com.wgw.photo.preview.util.Utils;
import com.wgw.photo.preview.util.notch.CutOutMode;
import com.wgw.photo.preview.util.notch.NotchAdapterUtils;
import java.util.Objects;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.RestrictTo;
@@ -50,6 +38,16 @@ import androidx.fragment.app.FragmentManager;
import androidx.lifecycle.Lifecycle.State;
import androidx.viewpager.widget.ViewPager.SimpleOnPageChangeListener;
import com.wgw.photo.preview.PreloadImageView.DrawableLoadListener;
import com.wgw.photo.preview.interfaces.IFindThumbnailView;
import com.wgw.photo.preview.interfaces.OnDismissListener;
import com.wgw.photo.preview.util.SpannableString;
import com.wgw.photo.preview.util.Utils;
import com.wgw.photo.preview.util.notch.CutOutMode;
import com.wgw.photo.preview.util.notch.NotchAdapterUtils;
import java.util.Objects;
/**
* 预览界面根布局
*