摘要:
1 /* 2 贪吃蛇 >链表 3 */ 4 5 #include "stdio.h" 6 #include "string.h" 7 #include "windows.h" //windows编程头文件 8 #include "time.h" 9 #include "conio.h" //控制台输 阅读全文
摘要:
手册 DipUtil ublic class DipUtil { /** * 根据手机的分辨率从 dp 的单位 转成为 px(像素) */ public static int dipTopx(Context context, float dpValue) { final float scale = 阅读全文
摘要:
关于笔记本电脑--软件 1.清理垃圾和注册表:ccleaner(小巧,干净,享誉全球)。 2.系统的各项设置优化:WiseCare365(使用之后,chrome的书签显示速度如闪电般快速)。 3.驱动安装:Driver Booster (界面科技感十足,无捆绑,无多余功能,纯粹驱动,南北桥都有)。 阅读全文
摘要:
IndicatorView import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import and 阅读全文
摘要:
ShapeLoadingView 阴影布局--shadow_view.xml <?xml version="1.0" encoding="utf-8"?> <!--底部阴影部分--> <shape xmlns:android="http://schemas.android.com/apk/res/a 阅读全文
摘要:
BottomDotTextView package com.android.myapplication.demo5; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import and 阅读全文
摘要:
Intent 中文意思 “意图“,一般用组件间的通信。可用来激活Activity,Service,BroadCast Recevier。 激活Activity startActivity(intent); 激活Service startService(intent); 激活Broadcast sen 阅读全文
摘要:
杂记 android.bp 和android.mk 参与编译的jar包 路径--> out\target\common\obj\JAVA_LIBRARIES\ git diff ./ > a.patch git 拿到不同的改动 生成文件 mmma frameworks/base/packages/S 阅读全文
摘要:
Java回调函数Demo: public class HookUtil { private static HookUtil hookUtil ; private HookUtil(){} public static HookUtil getInstance(){ if(hookUtil == nul 阅读全文
摘要:
前提准备:写一个简单的ViewPager的demo 布局文件:setting_activity.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="m 阅读全文