Comments (9)
然后今天发现,只要builder设置CustomDownloadActivityClass(MyVersionUpdateDialogActivity.class)时,即使MyVersionUpdateDialogActivity 仅继承VersionDialogActivity,其他内容为空时,也会出现这个问题。
from checkversionlib.
设置activity Theme
from checkversionlib.
设置过了
一套用了网上的常用的透明theme,不行
另一套用了你的的basedialog theme也不行
from checkversionlib.
你的MyVersionUpdateDialogActivity 设置了android:theme="@style/versionCheckLibvtransparentTheme"没有
from checkversionlib.
设置过,但一设置就报错 Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
主题代码如下
<style name="BaseDialog" parent="android:Theme.Light">
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
这俩style都不可以
from checkversionlib.
from checkversionlib.
android:theme="@style/versionCheckLibvtransparentTheme" 老铁库自带就有个
from checkversionlib.
android:theme="@style/versionCheckLibvtransparentTheme"
from checkversionlib.
@AlexLiuSheng扎心了老铁,已解决
😂thanks
from checkversionlib.
Related Issues (20)
- setCustomVersionDialogListener在拒绝权限后再次请求就无效了 HOT 1
- 检测出anr目前没有头绪,大佬帮忙看下吧 HOT 1
- 内网性质的网络,会弹不出升级框,更换为纯外网的,则可以 HOT 2
- 更新问题 HOT 1
- 关于写存储卡权限的获取 HOT 2
- 如何在自定义弹窗中直接更新下载进度? HOT 1
- 崩溃问题
- 一旦在下载中关闭下载进度的对话框就会下载失败 HOT 1
- 默认界面怎么去掉
- 三星手机更新问题
- oppo 版本11 下载后解析程序包出现问题
- 下载进度Dialog出现时,点击home键或者锁屏键,Dialog会消失 HOT 2
- android10 突然不能更新 HOT 3
- 请支持Android S HOT 2
- 请添加Android 12支持 HOT 1
- Android 12 报错,请添加Android 12支持 HOT 5
- 自定义dialog点击关闭就崩溃闪退
- 无法正常下载apk HOT 1
- 下载的apk体积有限制嘛?
- currentProgress HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from checkversionlib.