|
|
@ -14,6 +14,16 @@
|
|
|
|
* limitations under the License.
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
这段是一个资源解析器,用于获取应用程序中使用的各种资源
|
|
|
|
|
|
|
|
如背景图片、文字样式等。其中包含了一些静态常量和内部类,每个内部类都有对应的资源数组和获取资源的方法。
|
|
|
|
|
|
|
|
定义了一些常量,如颜色值和字体大小,获取笔记编辑界面的背景资源
|
|
|
|
|
|
|
|
这段代码就是提供了一个方便的方式来获取应用程序中使用的各种资源,在界面中进行展示和使用
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
对应用程序中使用的各种资源进行集中 管理和封装 管理和封装 调用 扩展和维护
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
package net.micode.notes.tool;
|
|
|
|
package net.micode.notes.tool;
|
|
|
|
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
import android.content.Context;
|
|
|
|