• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Android SharedPreferences 工具类

    工具类 public class SpUtil { private final SharedPreferences mSp; private f

    2019-04-12, Views: 4454 , Topics: Android

  • Android ContentProvider 提供 Assets 目录下的图片或文件

    提供 Assets 目录下文件 @Nullable @Override public AssetFileDescriptor openAssetFile(@No

    2019-04-12, Views: 3023 , Topics: Android

  • Android ContentProvider批量插入数据

    操作类中使用provider批量插入 public void insertCategoryInfo(List<CategoryInfo> categ

    2019-04-12, Views: 4861 , Topics: Android

  • Android 判断通知栏是否可用

    判断通知栏是否可用 boolean areNotificationsEnabled = NotificationManagerCompat.from(this)

    2019-04-12, Views: 3027 , Topics: Android

  • Android 小米,魅族 6.0 状态栏不能反色解决方法

    Android6.0 及以上 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { Wind

    2019-04-12, Views: 4463 , Topics: Android

  • Android 仿 iOS 删除时抖动效果

    res/anim 下新建 rotate.xml <?xml version="1.0" encoding="UTF-8"?> <rotate

    2019-04-12, Views: 5241 , Topics: Android

  • Android 揭露效果 Reveal Effect

    示例 代码 public void effect(View view) { Animator animation = createAnimat

    2019-04-12, Views: 3119 , Topics: Android

  • Android 给按钮添加水波纹效果

    不受版本约束(推荐) android:background="?selectableItemBackground" android:background="?s

    2019-04-12, Views: 5248 , Topics: Android

  • Android 仿 QQ 消息提示可拖拽控件 DragBadgeView

    DragBadgeView 仿QQ可拖拽控件 GitHub地址:https://github.com/fendoudebb/DragBadgeView 样例演示

    2019-04-11, Views: 3743 , Topics: Android

  • Android RadioButton 的点击效果

    效果图 控件 <RadioGroup android:divider="@drawable/wosim_rg_divider" andr

    2019-04-11, Views: 4824 , Topics: Android

  • Android ContentLoadingProgressBar 进度条控件

    控件 <android.support.v4.widget.ContentLoadingProgressBar android:id="@+id/

    2019-04-11, Views: 9698 , Topics: Android

  • Android 自动提示控件 AutoCompleteTextView

    代码 输入框中输入我们想要输入的信息就会出现其他与其相关的提示信息 <AutoCompleteTextView android:layout_

    2019-04-11, Views: 3027 , Topics: Android

  • Android MediaMetadataRetriever 获取多媒体文件信息

    MediaMetadataRetriever 切勿忘记调用mmr.release(); MediaMetadataRetriever mmr = new Med

    2019-04-11, Views: 5265 , Topics: Android

  • Android VideoView 黑屏处理

    代码 final VideoView videoView = findViewById(R.id.video_view); MediaController mc

    2019-04-11, Views: 7036 , Topics: Android

  • Android VideoView 播放本地视频短暂黑屏的解决方法

    解决办法 视频真正开始渲染后再去掉VideoView的背景。 最终的解决办法是在onPrepared回调中,加添加一个setOnInfoListener的监

    2019-04-11, Views: 7774 , Topics: Android

  • Android RadioButton 选中改变颜色

    方法 新建文件,写在color文件夹下,不是 values 的 colors.xml,给RadioButton的textColor设置"@color/xxx"。

    2019-04-11, Views: 7567 , Topics: Android

  • Safari 浏览器 white-space: pre 无效

    问题 代码块在Safari浏览器被强制换行了,代码如下 code { white-space: pre } 解决方案 增加word-wrap: norm

    2019-04-11, Views: 6642 , Topics: CSS iOS

  • Android WebView 设置参考

    代码 mWebView.setHorizontalScrollBarEnabled(false);//水平不显示 mWebView.setScrollBarSt

    2019-04-11, Views: 6065 , Topics: Android

  • Android WebView 启用安全浏览模式

    说明 最新版 WebView 集成了 Google 安全浏览保护机制,能够探测并提醒用户注意可能存在危险的网站。正确配置后,WebView 将对照安全浏览的恶

    2019-04-11, Views: 4421 , Topics: Android

  • Android 自定义底部弹出对话框

    底部对话框 private void show1() { Dialog bottomDialog = new Dialog(this, R.style.

    2019-04-11, Views: 6643 , Topics: Android

  • First Prev
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • Next Last

©2025 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub