全部 文章 问答 分享 共找到38个相关内容
[文章] Android 实现沉浸式状态
沉浸式状态栏非沉浸式状态栏二、实现1.修改Theme文件themes.xml:<resourcesxmlns:tools="http://schemas.android.com/tools
[文章] 修改默认为dark theme
修改默认模式用的是androidT的代码,编译的是userdebug,在那个文件中去修改?
2023-08-05 10:30
·
默认修改
[问答] TabLayout 不能加载,改过Theme了,还是报错
03-2909:56:27.7624087-4087/com.ymkj.baiangangE/TCrashTool:Apphascrashed,executingTCrashTool'sUncaughtExceptionHandler java.lang.RuntimeException:UnabletostartactivityComponentInfo{com.ymkj.baiangang/com.ymkj.baiangang.ui.activity.TransferActivity}:android.view.InflateException:BinaryXMLfileline#161:BinaryXMLfileline#161:Errorinflatingclasscom.google.android.material.tabs.TabLayout atandroid.app.ActivityThread.performLaunchActivity(ActivityThread.java:2510) atandroid.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2570) atandroid.app.ActivityThread.-wrap11(ActivityThread.java) atandroid.app.ActivityThread$H.handleMessage(ActivityThread.java:1420) atandroid.os.Handler.dispatchMessage(Handler.java:102) atandroid.os.Looper.loop(Looper.java:148) atandroid.app.ActivityThread.main(ActivityThread.java:5606) atjava.lang.reflect.Method.invoke(NativeMethod) atcom.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745) atcom.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
2021-03-29 10:09
·
TabLayout
[问答] 喜马拉雅请求内容列表,请求出错
app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme
2021-07-08 15:15
·
Android
[文章] 模仿必应开屏淡入淡出缩放动画
overshoot_interpolator"加速执行,结束之后回弹然后我们去styles里面自定义一个自己的主题<stylename="MyTheme"parent="Theme.AppCompat.Light.NoActionBar
[问答] 为什么sd卡保存后没有info.text文件?
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme
2023-12-06 18:50
·
sd卡
[文章] 【Android源码】Activity和AppCompatActivity的setContentView方法区别
1.3generateLayout方法——创建mContentParentprotectedViewGroupgenerateLayout(DecorViewdecor){//获取我们设置的android:theme
[文章] Android启动体验优化--启动白屏黑屏优化
当我们创建一个项目之后,打开配置文件,可以看到application标签下有个theme,这个theme有一个默认的配置,红色框地方,我们打开这个主题看看(Ctrl+鼠标左键可以进入)进入之后:这个主题是继承其他主题
[文章] Android Studio Dolphin Xml 布局 无法预览汇总(持续更新)
atandroid.view.LayoutInflater.inflate(LayoutInflater.java:505)Copystacktoclipboard这里提示有个空指针异常,代码如下valattr=context.theme.obtainStyledAttributes
2022-12-01 15:40
·
AndroidStudio
[问答] 关于使用Dialog时显示的缺少theme的错误不知如何解决
1.我在recyclerview的item里面加了一个按钮,预计效果是点击按钮跳出弹框,但是程序在点击按钮后崩溃,错误信息如下:
2.代码非常简单,就是一个最基础的弹框功能,程序运行到builder实例化这里就崩溃了:
private void showLogDialog() { builder = new AlertDialog.Builder(context).setIcon(R.mipmap.user).setTitle("Log信息") .setMessage("this is a dialog").setPositiveButton("确定(积极)", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { //ToDo: 你想做的事情 Toast.makeText(DeviceActivity.this, "确定按钮", Toast.LENGTH_LONG).show(); } }).setNegativeButton("取消(消极)", new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialogInterface, int i) { //ToDo: 你想做的事情 Toast.makeText(DeviceActivity.this, "关闭按钮", Toast.LENGTH_LONG).show(); dialogInterface.dismiss(); } }); builder.create().show(); }
3.相关补充:
第一次发帖,有格式不对的或者别的问题望指正,希望各位不吝赐教。
2021-06-24 09:47
·
弹框
[问答] github下载的项目TwinklingRefreshView安装后不能打开
android.support.design.widget.AppBarLayoutandroid:layout_height="wrap_content"android:layout_width="match_parent"android:theme
2020-05-05 17:42
·
安卓问题
[文章] vue封装的评论列表以及回复组件
margin-top:10px;.comment-expression{.icon-biaoqing{cursor:pointer;font-size:1rem;&:hover{color:@color-theme
[文章] 【学习笔记】【领券联盟】前端(Nuxt.js)——2.导入ElementUI
plugins:[{src:"~plugins/elementui",ssr:true,}],除此之外还需要引入该UI框架使用的css,配置如不:css:['element-ui/lib/theme-chalk
[问答] 安卓跨程序无法获取内容提供者
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme
2021-11-29 15:38
·
AndroidProvider
[文章] 游戏SDK应用内悬浮窗的实现(四)
FloatIconView与MainActivity在编写代码之前请先去掉状态栏,这个就不用赘述了<activityandroid:name=".MainActivity"android:theme
[文章] 游戏SDK应用内悬浮窗的实现(二)
项目依然是只需要用到两个文件即可在编写代码之前请先去掉状态栏,这个就不用赘述了<activityandroid:name=".MainActivity"android:theme
[问答] 喜马拉雅第三集配置问题
label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round"android:supportsRtl="true"android:theme
2020-05-13 18:37
·
喜马拉雅
[文章] UI 绘制流程及原理
;android:layout_width="match_parent"android:layout_height="wrap_content"android:theme
[问答] CradView弄个圆角
android:layout_height="wrap_content"
android:layout_gravity="end"
android:theme
2022-09-17 16:40
·
Android
[问答] 喜马拉雅第14运行之后可以获取数据,但是还是所有可能的错误情况还会报
om.example.ery:Late-enabling-Xcheck:jni2020-05-1504:10:01.30431514-31514/com.example.eryuI/libthemeutils:Theme
2020-05-15 03:53
·
喜马拉雅
[文章] 推荐一款动态粒子的插件particles.js
1.2rem;padding:4px;margin-top:20px;border-radius:12px;cursor:pointer;&:hover{background-color:@color-theme
[文章] 28、Android开发基础之Activity的启动模式
<activityandroid:name=".NewActivity"android:launchMode="standard"android:theme
[文章] 第一个Flutter 项目 以及环境搭建
super(key:key);@overrideWidgetbuild(BuildContextcontext){returnMaterialApp(title:'StartupNameGenerator',theme
2022-09-22 10:51
·
flutter
[问答] 喜马拉雅集成SDK打印信息看不懂,也没有得到数据
supportsRtl="true" android:usesCleartextTraffic="true" android:theme
2020-06-12 21:58
·
喜马拉雅
[文章] 基于lyric-parser、better-scroll歌词滚动高亮的实现
text-align:center;&:hover{background:@lyric-background;color:@color-dark;}&.active{color:@color-theme
[文章] 使用Vercel优雅的部署Hexo博客
浏览器能正常打开说明项目能正常使用安装fluid主题,输入以下命令进行安装npminstall--savehexo-theme-fluid然后在博客目录下创建_config.fluid.yml,将主题的
- 1
- 2