《Android 基础(二十五)》 View Animation

简介

视图动画,主要包括位移,透明度,旋转和缩放,View本身的属性并没有发生变化,只是在这个视图上添加一些渐变的效果,所以总体而言,视图动画只能实现一些简单的动画效果,属性动画功能更强大。

《Android 基础(二十四)》 EditText

简介

A text field allows the user to type text into your app. It can be either single line or multi-line. Touching a text field places the cursor and automatically displays the keyboard. In addition to typing, text fields allow for a variety of other activities, such as text selection (cut, copy, paste) and data look-up via auto-completion.
You can add a text field to you layout with the EditText object. You should usually do so in your XML layout with a < EditText > element.

《Android 基础(二十三)》 Android Studio快捷键

前言

Android Studio对于快捷键的设置比较的灵活,开发者在从不同的平台转移到Android Studio进行Android开发的时候,应该都能找到合适的KeyMap和快捷键使用方式,因为AS直接其他平台的快捷键映射或者是自定义快捷键,比较的方便,此文只为记录。

《Android 基础(二十二)》 EditText 无法显示完全以及尝鲜Android N

简介

最近将Android Studio更新到了2.2 ,模拟器的Android版本也来到了最新的Nougat。

《Android 基础(二十一)》Android 屏幕适配

基本概念

什么是屏幕尺寸、屏幕分辨率、屏幕像素密度?

屏幕尺寸是指屏幕对角线的长度。单位是英寸,1英寸=2.54厘米

屏幕分辨率是指在横纵向上的像素点数,单位是px,1px=1像素点,一般是纵向像素横向像素,如1280×720

屏幕像素密度是指每英寸上的像素点数,单位是dpi,即“dot per inch”的缩写,像素密度和屏幕尺寸和屏幕分辨率有关

《Android 基础(二十)》 CoordinatorLayout Behavior

介绍

Interaction behavior plugin for child views of {@link CoordinatorLayout}.
A Behavior implements one or more interactions that a user can take on a child view. These interactions may include drags, swipes, flings, or any other gestures.

《Android 基础(十九)》 CoordinatorLayout

介绍

CoordinatorLayout,中文翻译,协调布局,顾名思义,此布局中的子View之间,子View与父布局之间应该是可以协调工作的,如何协调,Behavior。
今天看下Android Studio给我们提供的一个模板Activity

《Android 基础(十八)》 XLIFF

介绍

XLIFF ,XML Localization Interchange File Format,XML本地化数据交换格式。

《Android 基础(十七)》 ViewPager

简介

Layout manager that allows the user to flip left and right
through pages of data. You supply an implementation of a
{@link PagerAdapter} to generate the pages that the view shows.

《Android 基础(十六)》Toast

介绍

A toast provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity remains visible and interactive. For example, navigating away from an email before you send it triggers a “Draft saved” toast to let you know that you can continue editing later. Toasts automatically disappear after a timeout.

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×