登录
首页 » Android » Android 简单换肤实例

Android 简单换肤实例

于 2022-03-05 发布 文件大小:136.06 kB
0 193
下载积分: 2 下载次数: 1

代码说明:

Android 简单换肤实例,单击Set按钮,可将APP的主界面变换成其它的风格,本例子中实现的比较简单,只是换了两张图片背景,有兴趣的可参考代码:单击换肤按钮后,会执行以下代码:   btnSet.setOnClickListener(new OnClickListener() {   @Override   public void onClick(View v) {    new Handler().post(new Runnable() {    @Override    public void run() {    layout.setBackgroundDrawable(friendContext.getResources().getDrawable(R.drawable.bg));    }    });   }   );

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Android 支持人脸识别拍照程序范例
    Android 支持人脸识别拍照程序范例,拍摄照片时将自动锁定人脸部位,然后对焦什么的都会跟上,就像现在手机拍照的人脸检测一样的功能。同时本拍照程序还有一些特效功能,比如黑白、负片、曝光过度、色调分离、白板、浅绿、浮雕、素描、霓虹灯等。   改变方向并作动画效果 @param orientation [0 , 7] 方向分别为 0上面朝下 1左上面朝下 2左面朝下 3左下面朝下 。。。依次类推   本APP运行时需要开启摄像头权限、读取外部存储权限、写入外部存储权限。
    2022-10-02 09:30:04下载
    积分:1
  • client
    Android手机图片上传客户端程序Android手机图片上传客户端程序(Android java app)
    2015-07-08 11:20:31下载
    积分:1
  • listviewheSQLitezhishi
    注意:本项目是基于android studio开发的,eclipse可能无法直接使用。 本项目是一个简单的基于安卓的记事本项目源码,添加或删除数据的时候会出现显示bug(实际数据不会受到影响),bug体现在添加或删除一条数据以后会在listview里面会展示复制一遍操作后的数据。而不会清除原有的列表文本。新手朋友可以拿这个项目来试试手感,顺便看看能不能独立解决这个问题。 本项目涉及的知识点有: 1、SQLite的基本使用,增删查改 2、listview,adapeter的基本使用 3、activity生命周期 4、intent、bundle传递参数 5、AlertDialog的基本使用(Note: this project is based on the development of studio eclipse, Android may not be able to directly use. This project is a simple Notepad program source code based on Android, add or delete data will appear when the display bug (actual data will not be affected), bug reflected in add or remove a data will be in inside the listview will show copy again after the operation data. And will not clear the original list of text. Novice friends can take this project to try to feel, by the way to solve this problem can not be solved independently. The knowledge points involved in this project are: 1, the basic use of SQLite, CRUD 2, listview, the basic use of adapeter 3, activity life cycle 4, intent, bundle transfer parameters 5, the basic use of AlertDialog)
    2016-07-25 11:25:09下载
    积分:1
  • android 下载网络图片 实例源码
    通过链接下载图片
    2015-01-23下载
    积分:1
  • android 左右侧滑抽屉菜单例子源码下载
    左右侧滑抽屉菜单
    2015-03-04下载
    积分:1
  • Android TabHost
    2023-06-22 03:30:03下载
    积分:1
  • Android 高德地图驾车导航(位置服务与地图应用-15_146).zip
    Android 高德地图驾车导航(位置服务与地图应用-15_146).zip
    2019-10-07下载
    积分:1
  • DownloadService
    Downloading example source for Basic4Android IDE.Contains Source code.
    2011-07-21 19:56:54下载
    积分:1
  • [安卓开源]带详细注释的水果消消看源码
    一款游戏,有详细注释,可以运行在安卓平台上。(A game, with detailed annotations, can run on Android platform.)
    2020-06-21 14:20:02下载
    积分:1
  • android 仪表盘源码下载
    android 仪表盘源码下载
    2014-09-05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载