![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android
艺菲
这个作者很懒,什么都没留下…
展开
-
Kotlin基础1
【代码】Kotlin基础。原创 2023-07-27 16:09:06 · 46 阅读 · 0 评论 -
Android中使用Fragment遇到的问题
1、Fragment会插入到Activity的布局中,Activity的布局应该使用RelativeLayout或FrameLayout,如果你的Activity设置了宽高是match_parent或fill_parent的话,add或replace会将Fragment都会添加到屏幕外。出现的情况就是,add之后屏幕没有任何反应,如果多次add后,你需要按多次返回键才能退出。原创 2015-06-21 07:21:32 · 496 阅读 · 0 评论 -
Android中Fragment使用VideoView会出现只有声音没有图像的问题
1、初始化时,VideoView调用setBackgroundColor(颜色)2、开始播放时,VideoView调用setBackgroundColor(0)原创 2015-06-21 07:22:43 · 4678 阅读 · 0 评论 -
httpmime-4.1.3.jar和httpmime-4.3.6.jar 发送的http请求有差异,导致服务端无法接收到数据。
可以上传的POST http://ip/a/web/index.php?r=bb/upload-pic HTTP/1.1Connection: closeContent-Length: 324252Content-Type: multipart/form-data; boundary=R6hIKp1ZgmBTmYAJXZNN4kxhLtlD5MUo0K6Host: 19原创 2015-08-21 17:27:18 · 2393 阅读 · 0 评论 -
All com.android.support libraries must use the exact same version specification(mixing version can).
保持一致compileSdkVersion 28implementation 'com.android.support:appcompat-v7:28.0.0'原创 2019-01-11 09:11:24 · 915 阅读 · 0 评论