
Android开发
文章平均质量分 65
AGodDog
这个作者很懒,什么都没留下…
展开
-
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 · 349 阅读 · 0 评论 -
genymotion无法在win10上无法启动,显示CPU不兼容
在win10上安装genymotion模拟器后无法启动,显示如下信息:解决方法如下:重启电脑。进入BIOS设置。(关于如何进入BIOS设置请自行百度)检查设置,并查找英特尔虚拟化技术(别名:英特尔VT-X)。 如下图:(win10在Security选项中可找到Virtualization Technology选项)4.将其设置为Enable,然后按F10保存退出即可。本人请测有效。相关链接:...原创 2018-04-24 20:03:44 · 2231 阅读 · 0 评论 -
任务和返回栈
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 阅读 · 0 评论 -
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 · 3166 阅读 · 0 评论 -
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 · 992 阅读 · 0 评论 -
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 阅读 · 0 评论 -
Android处理运行时变更
原文地址:https://developer.android.google.cn/guide/topics/resources/runtime-changes.html#HandlingTheChange处理运行时变更有些设备配置可能会在运行时发生变化(例如屏幕方向、键盘可用性及语言)。 发生这种变化时,Android 会重启正在运行的 Activity(先后调用 onDestroy() 和 on...翻译 2018-03-22 10:31:08 · 412 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论