Android切换皮肤,更换背景DEMO
Android换肤,更换背景,白天模式夜间模式demo
实现方法:通过自定义控件,以及自定义相关样式
利用偏好设置进行保存用户的设置
实现不用重新启动activity进行换肤功能,更换背景,相关图片,以及文字的颜色设置
http://blog.csdn.net/u013009808/article/details/79369589
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 127 2018-02-23 14:00 TestChangeIcon.gitignore
文件 31 2018-02-23 14:01 TestChangeIcon.gradle2.14.1 askArtifactscache.properties
文件 17 2018-02-25 15:59 TestChangeIcon.gradle2.14.1 askArtifactscache.properties.lock
文件 156001 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileHashes.bin
文件 4876375 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileSnapshots.bin
文件 27404 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileSnapshotsToTreeSnapshotsIndex.bin
文件 111220 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifacts askArtifacts.bin
文件 127697 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalClassSetAnalysislocalClassSetAnalysis.bin
文件 17 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalClassSetAnalysislocalClassSetAnalysis.lock
文件 22205 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalJarClasspathSnapshotlocalJarClasspathSnapshot.bin
文件 17 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalJarClasspathSnapshotlocalJarClasspathSnapshot.lock
文件 686 2018-02-23 14:00 TestChangeIcon.ideacompiler.xml
文件 76 2018-02-23 14:00 TestChangeIcon.ideacopyrightprofiles_settings.xml
文件 626 2018-02-23 14:01 TestChangeIcon.ideagradle.xml
文件 645 2018-02-23 14:02 TestChangeIcon.idealibrariesanimated_vector_drawable_25_2_0.xml
文件 761 2018-02-24 13:56 TestChangeIcon.idealibrariesappcompat_v7_25_2_0.xml
文件 555 2018-02-24 13:56 TestChangeIcon.idealibrariesdesign_25_2_0.xml
文件 627 2018-02-23 14:02 TestChangeIcon.idealibrariesespresso_core_2_2_2.xml
文件 682 2018-02-23 14:02 TestChangeIcon.idealibrariesespresso_idling_resource_2_2_2.xml
文件 700 2018-02-23 14:02 TestChangeIcon.idealibrariesexposed_instrumentation_api_publish_0_5.xml
文件 526 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_core_1_3.xml
文件 354 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_integration_1_3.xml
文件 342 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_library_1_3.xml
文件 330 2018-02-23 14:02 TestChangeIcon.idealibrariesjavawriter_2_1_1.xml
文件 358 2018-02-23 14:02 TestChangeIcon.idealibrariesjavax_annotation_api_1_2.xml
文件 324 2018-02-23 14:02 TestChangeIcon.idealibrariesjavax_inject_1.xml
文件 330 2018-02-23 14:02 TestChangeIcon.idealibrariesjsr305_2_0_1.xml
文件 477 2018-02-23 14:02 TestChangeIcon.idealibrariesjunit_4_12.xml
文件 600 2018-02-24 13:56 TestChangeIcon.idealibraries
ecyclerview_v7_25_2_0.xml
文件 721 2018-02-24 13:56 TestChangeIcon.idealibraries
ules_0_5.xml
............此处省略1971个文件信息
/**
* Automatically generated file. DO NOT MODIFY
*/
package com.example.a390778.testchangeicon;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean(“true“);
public static final String APPLICATION_ID = “com.example.a390778.testchangeicon“;
public static final String BUILD_TYPE = “debug“;
public static final String FLAVOR = ““;
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = “1.0“;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 127 2018-02-23 14:00 TestChangeIcon.gitignore
文件 31 2018-02-23 14:01 TestChangeIcon.gradle2.14.1 askArtifactscache.properties
文件 17 2018-02-25 15:59 TestChangeIcon.gradle2.14.1 askArtifactscache.properties.lock
文件 156001 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileHashes.bin
文件 4876375 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileSnapshots.bin
文件 27404 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifactsfileSnapshotsToTreeSnapshotsIndex.bin
文件 111220 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 askArtifacts askArtifacts.bin
文件 127697 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalClassSetAnalysislocalClassSetAnalysis.bin
文件 17 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalClassSetAnalysislocalClassSetAnalysis.lock
文件 22205 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalJarClasspathSnapshotlocalJarClasspathSnapshot.bin
文件 17 2018-02-25 15:58 TestChangeIcon.gradle2.14.1 asks\_app_compileDebugJavaWithJavaclocalJarClasspathSnapshotlocalJarClasspathSnapshot.lock
文件 686 2018-02-23 14:00 TestChangeIcon.ideacompiler.xm
文件 76 2018-02-23 14:00 TestChangeIcon.ideacopyrightprofiles_settings.xm
文件 626 2018-02-23 14:01 TestChangeIcon.ideagradle.xm
文件 645 2018-02-23 14:02 TestChangeIcon.idealibrariesanimated_vector_drawable_25_2_0.xm
文件 761 2018-02-24 13:56 TestChangeIcon.idealibrariesappcompat_v7_25_2_0.xm
文件 555 2018-02-24 13:56 TestChangeIcon.idealibrariesdesign_25_2_0.xm
文件 627 2018-02-23 14:02 TestChangeIcon.idealibrariesespresso_core_2_2_2.xm
文件 682 2018-02-23 14:02 TestChangeIcon.idealibrariesespresso_idling_resource_2_2_2.xm
文件 700 2018-02-23 14:02 TestChangeIcon.idealibrariesexposed_instrumentation_api_publish_0_5.xm
文件 526 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_core_1_3.xm
文件 354 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_integration_1_3.xm
文件 342 2018-02-23 14:02 TestChangeIcon.idealibrarieshamcrest_library_1_3.xm
文件 330 2018-02-23 14:02 TestChangeIcon.idealibrariesjavawriter_2_1_1.xm
文件 358 2018-02-23 14:02 TestChangeIcon.idealibrariesjavax_annotation_api_1_2.xm
文件 324 2018-02-23 14:02 TestChangeIcon.idealibrariesjavax_inject_1.xm
文件 330 2018-02-23 14:02 TestChangeIcon.idealibrariesjsr305_2_0_1.xm
文件 477 2018-02-23 14:02 TestChangeIcon.idealibrariesjunit_4_12.xm
文件 600 2018-02-24 13:56 TestChangeIcon.idealibraries
ecyclerview_v7_25_2_0.xm
文件 721 2018-02-24 13:56 TestChangeIcon.idealibraries
ules_0_5.xm
............此处省略1971个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)