- 博客(15)
- 收藏
- 关注
翻译 Handler
added in API level 1Handlerpublic class Handler extends Object java.lang.Object ↳ android.os.Handler Known direct subclasses AsyncQueryHandler, AsyncQueryHandler.WorkerHandler, Http...
2018-07-26 11:38:45
267
翻译 View
This class represents the basic building block for user interface components. A View occupies a rectangular area on the screen and is responsible for drawing and event handling. View is the base class...
2018-07-09 17:12:50
350
翻译 ConstraintLayout学习
继承关系:A ConstraintLayout is a ViewGroup which allows you to position and size widgets in a flexible way.ConstraintLayout是一个ViewGroup,它允许你以灵活的方式去定位和调整控件(的大小)。Note: ConstraintLayout is available as a sup...
2018-07-09 17:12:37
306
原创 genymotion无法在win10上无法启动,显示CPU不兼容
在win10上安装genymotion模拟器后无法启动,显示如下信息:解决方法如下:重启电脑。进入BIOS设置。(关于如何进入BIOS设置请自行百度)检查设置,并查找英特尔虚拟化技术(别名:英特尔VT-X)。 如下图:(win10在Security选项中可找到Virtualization Technology选项)4.将其设置为Enable,然后按F10保存退出即可。本人请测有效。相关链接:...
2018-04-24 20:03:44
2231
原创 Java8中的Predicate和Consumer
由于工作需求,最近了解了一下Java8中的Predicate和Consumer接口,在此浅谈一下对它们的理解和使用:首先先来看一下Predicate官方文档解释:Represents a predicate (boolean-valued function) of one argument. This is a functional interface whose functional metho...
2018-04-17 11:31:13
3167
翻译 任务和返回栈
Tasks and Back Stack任务和返回栈A task is a collection of activities that users interact with when performing a certain job. The activities are arranged in a stack—the back stack)—in the order in which ...
2018-04-12 16:44:03
299
翻译 Activity状态改变
Activity State ChangesActivity状态改变Different events, some user-triggered and some system-triggered, can cause an Activity to transition from one state to another. This document describes some common ca...
2018-04-08 17:23:11
418
翻译 Activity生命周期
The Activity LifecycleActivity生命周期As a user navigates through, out of, and back to your app, the Activity instances in your app transition through different states in their lifecycle. The Activity cla...
2018-03-28 16:05:26
994
翻译 Activity介绍
Introduction to ActivitiesThe Activity class is a crucial component of an Android app, and the way activities are launched and put together is a fundamental part of the platform's application model. U...
2018-03-22 17:41:04
693
翻译 Activity
Activities are one of the fundamental building blocks of apps on the Android platform. They serve as the entry point for a user's interaction with an app, and are also central to how a user navigates ...
2018-03-22 16:32:42
235
翻译 Android定位
原文地址:https://developer.android.google.cn/guide/topics/resources/localization.htmlLocalizing with Resources定位与资源Android runs on many devices in many regions. To reach the most users, your app should ha...
2018-03-22 15:00:32
269
翻译 Android处理运行时变更
原文地址:https://developer.android.google.cn/guide/topics/resources/runtime-changes.html#HandlingTheChange处理运行时变更有些设备配置可能会在运行时发生变化(例如屏幕方向、键盘可用性及语言)。 发生这种变化时,Android 会重启正在运行的 Activity(先后调用 onDestroy() 和 on...
2018-03-22 10:31:08
412
翻译 定义动画的xml文件区别及drawable目录和mipmap目录存放图片资源的类型
res目录下:使用animator作为属性动画的xml文件使用anim作为补间动画的xml文件drawable目录用于存放项目所需要的图片资源及可绘制对象mipmap目录用于存放应用图标...
2018-03-22 10:27:53
562
翻译 Android笔记2:应用资源
概述:App ResourcesResources are the additional files and static content that your code uses, such as bitmaps, layout definitions, user interface strings, animation instructions, and more.资源是你的代码使用的附加文件和...
2018-03-20 17:16:58
201
翻译 Android笔记1:应用基础知识
原文链接:https://developer.android.google.cn/guide/components/fundamentals.html应用基础知识Android 应用采用 Java 编程语言编写。Android SDK 工具将您的代码 — 连同任何数据和资源文件 — 编译到一个 APK:Android 软件包,即带有 .apk 后缀的存档文件中。一个 APK 文件包含 Androi...
2018-03-20 16:12:38
362
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人