Complete parsing of Android Property Animation (Part 2)

Reprinted from: http://blog.csdn.net/lmj623565791/article/details/38092093 The last Android Property Animation fully parsed (I) has basically demonstrated the core usage of property animation: Object Animator realizes animation, Value Animator realizes animation, the use of Animator Set, etc.~ Of course, there are some knowledge points in a ...

Posted on Sat, 23 Mar 2019 23:24:27 -0400 by SpinCode

WEB Resource Integration on Mobile Phone

meta-basic knowledge H5 page window automatically adjusts to device width and prohibits users from scaling pages <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> Ignore identifying numbers on pages as phone numbers <meta name="format-detection" conten ...

Posted on Sat, 23 Mar 2019 22:18:28 -0400 by coolen

ViewPager Comprehensive Analysis and Detailed Use

ViewPager is very frequently used in development, so here's a summary. It mainly includes the following aspects: Introduction and Function of ViewPager ViewPager adapter ViewPager Flip Animation Simplify the use of ViewPager ViewPager combines third-party library to achieve the effect of small dot indicator ViewPager implements tab switchin ...

Posted on Sat, 23 Mar 2019 17:01:01 -0400 by mumford

Android's Custom Broadcast Sender and Receiver (Dynamic-Static-Viscous)

Android's Custom Broadcast Sender and Receiver (Dynamic-Static-Viscous) Broadcast Brief Broadcast implementation (custom broadcast receiver and sender) Static broadcasting and dynamic broadcasting (dynamic is greater than static) Sticky broadcast What is broadcasting? The first thing we feel when we hear the radio is that we associate it ...

Posted on Sat, 23 Mar 2019 16:42:52 -0400 by damianraine

Layout optimization for Android performance optimization

In the layout optimization, Androi officials mentioned the three layout < include />, < merge />, < ViewStub />. 1. Reuse layout include include tags are often used to extract common parts of the layout for sharing with other layouts in order to achieve layout modularization, which provides great convenience in layou ...

Posted on Sat, 23 Mar 2019 15:06:52 -0400 by austine_power007

AS - › Gradle uses Groovy scripts to manipulate XML (add, delete, check)

Groovy, with its own xml processing related classes, is also quite nice to operate. The operation examples in this paper are implemented in Android development environment. The xml file under test: def targetFile = new File("${buildFile.parent}/src/main/res/values/strings.xml") def testFile = new File("${buildFile.parent}/src/ma ...

Posted on Sat, 23 Mar 2019 14:57:54 -0400 by Emma

How does Android App Optimize Layout

If you want to do the right thing, first use the right tool. If you want to analyze the layout, you have to use it. Hierarchy Viewer Now. The tools used in this article are as follows GithubApp Details of the interface RepoDetail Activity as an example. In order not to affect the reading experience, the corresponding layout file activity_re ...

Posted on Sat, 23 Mar 2019 14:15:52 -0400 by lansing

Tired of writing findViewById, try ButterKnife

First go to the official website. http://jakewharton.github.io/butterknife/ Sum https://github.com/JakeWharton/butterknife Configuration Development Environment Add libraries to dependencies before the code starts Eclipse  Go to the official website and download jar packages manually. Put them in the libs directory or add them to Build Pat ...

Posted on Sat, 23 Mar 2019 12:09:55 -0400 by yshaf13

Android Data Storage-SQLite

Android Data Storage-SQLite Copyright Statement: This article is the original article of the blogger. It can not be reproduced without the permission of the blogger. SQLite The Android platform embedded a relational database, SQLite, which, unlike other databases, does not need to specify a data type when storing data. A field is decl ...

Posted on Sat, 23 Mar 2019 11:18:54 -0400 by jmcneese

android Animation Arrangement

There are several kinds of animations in Android, such as interpolation animation, frame animation, and attribute animation. Interfix animation supports four types: Translate, Rotate, Scale, Alpha, and View Animation. Frame animation is an animation consisting of a series of continuous pictures. Like movies, Drawable Animation refers to such an ...

Posted on Sat, 23 Mar 2019 09:00:52 -0400 by chaiwei