diff --git a/powerbell/build.properties b/powerbell/build.properties index d0c5cdab..625cf00b 100644 --- a/powerbell/build.properties +++ b/powerbell/build.properties @@ -1,8 +1,8 @@ #Created by .winboll/winboll_app_build.gradle -#Wed Nov 19 13:23:38 GMT 2025 +#Thu Nov 20 03:22:58 GMT 2025 stageCount=4 libraryProject= baseVersion=15.11 publishVersion=15.11.3 -buildCount=19 +buildCount=34 baseBetaVersion=15.11.4 diff --git a/powerbell/src/beta/AndroidManifest.xml b/powerbell/src/beta/AndroidManifest.xml index 7ca0b757..b3f7ebf6 100644 --- a/powerbell/src/beta/AndroidManifest.xml +++ b/powerbell/src/beta/AndroidManifest.xml @@ -6,6 +6,19 @@ tools:replace="android:icon" android:icon="@drawable/ic_launcher_beta"> + + + + + + + + + - - - - - - - - - - - - - diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BackgroundViewTestFragment.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BackgroundViewTestFragment.java index b6f0c576..19f0f6ad 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BackgroundViewTestFragment.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BackgroundViewTestFragment.java @@ -4,6 +4,7 @@ import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; +import androidx.fragment.app.Fragment; import cc.winboll.studio.libappbase.ToastUtils; import cc.winboll.studio.powerbell.R; @@ -12,7 +13,7 @@ import cc.winboll.studio.powerbell.R; * @Date 2025/11/19 18:16 * @Describe BackgroundViewTestFragment */ -public class BackgroundViewTestFragment extends BaseTestFragment { +public class BackgroundViewTestFragment extends Fragment { public static final String TAG = "BackgroundViewTestFragment"; diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BaseTestFragment.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BaseTestFragment.java index 2dcd29fe..6523ee5e 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BaseTestFragment.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/unittest/BaseTestFragment.java @@ -21,13 +21,14 @@ public class BaseTestFragment extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + super.onCreateView(inflater, container, savedInstanceState); // 非调试状态就结束本线程 if (!GlobalApplication.isDebugging()) { Thread.currentThread().destroy(); } ToastUtils.show(String.format("%s onCreate", TAG)); - - return super.onCreateView(inflater, container, savedInstanceState); + + return null; } } diff --git a/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java b/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java index 3c34576e..d1b2bd32 100644 --- a/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java +++ b/powerbell/src/main/java/cc/winboll/studio/powerbell/views/BackgroundView.java @@ -43,8 +43,8 @@ public class BackgroundView extends LinearLayout { } void initView() { - this.mMianView = inflate(this.mContext, R.layout.view_background, this); - //addView(this.mMianView); + this.mMianView = inflate(this.mContext, R.layout.view_background, null); + addView(this.mMianView); } } diff --git a/powerbell/src/main/res/layout/fragment_test_backgroundview.xml b/powerbell/src/main/res/layout/fragment_test_backgroundview.xml index 2cc148e7..901c95a9 100644 --- a/powerbell/src/main/res/layout/fragment_test_backgroundview.xml +++ b/powerbell/src/main/res/layout/fragment_test_backgroundview.xml @@ -4,24 +4,9 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:background="#FFA08DF4"> - - - - - - - diff --git a/powerbell/src/main/res/layout/view_background.xml b/powerbell/src/main/res/layout/view_background.xml index a0b1058d..b8dcccc2 100644 --- a/powerbell/src/main/res/layout/view_background.xml +++ b/powerbell/src/main/res/layout/view_background.xml @@ -8,10 +8,5 @@ android:background="#FF7DE0D7" android:id="@+id/viewbackground_container"> - - diff --git a/powerbell/src/stage/AndroidManifest.xml b/powerbell/src/stage/AndroidManifest.xml index b3647641..e5c042d2 100644 --- a/powerbell/src/stage/AndroidManifest.xml +++ b/powerbell/src/stage/AndroidManifest.xml @@ -4,6 +4,19 @@ + + + + + + + + +