I sorted out some screen adaptation problems and solutions during my development.
1. Cut the icon
For example, each item in a list has an icon, but the Icon size may not be the same. In this case, you can specify the uniform size based on the
With the update of AndroidStudio, it has reached 0.4.1, but the problem also arises.
Fragment is provided when you create a new project, but not all of them are required. Therefore, the use of the old template is born... Not much nonsense,
Usage
The ability to implement custom UI is an important stage of android development. We will learn and share it with you. First, there are two articles on the official website:
1. Custom Components
2. Creating Custom Views
These two articles are the
Intent mainly solves the communication between various components of Android applications.Intent describes the actions, actions involving data, and additional data of an application. Android identifies the corresponding components based on the
In Android development, ListView and GridView are often used. Sometimes the system ListView and GridView cannot meet our needs. Therefore, we need to define a ListView or GridView by ourselves, in my previous article, I used a custom example of
Preface
Custom view can make many unusual effects, and the Circular menu interaction is good. Currently, there are two versions on the Internet. Although they are large, they are worth studying.
Radial-menu-widget:
1. What is JSON? JSON is a data structure that replaces XML. Compared with xml, JSON is smaller but not less descriptive. Because it is smaller, data transmission over the network reduces traffic and speeds up data transmission.
JSON is a string,
I haven't written an article for a long time. Now I want to share some of the foreign Android development resources I 've prepared recently.
In this blog post, I will list some libraries that developers usually use and provide links to these
At 10:46:30 on February 7, Baidu moved the items in the space.
In the previous article, we analyzed the UI loading, and mentioned an important object: RawContactDeltaList mState. As I mentioned earlier, this object is very important and related to
At 11:18:08 on February 7, Baidu moved the items in the space.
1. Save contact
We have already written four articles, made a lot of preparations, and finally reached this step. The time to witness the miracle has finally arrived.
After the user
Preface
I recommended a blog on Weibo a few days ago and found this attribute when reading his article. Some attributes are not commonly used, but they are very useful when needed. So I made an example and used it in the project. I 'd like to share
The simplest method is to use CCTextFieldTTF to set the graph password,
First, the class inheritance relationship
class Login:public cocos2d::CCLayer,CCIMEDelegate,CCTextFieldDelegate
There are several methods
// CCTextFieldDelegatevirtual bool
This error occurs when the newly installed 0.3.2 file is updated to 0.4.0. The result is still tragic...
Then, the error message is followed and the cause is found.
Java. lang. AssertionError exception is roughly similar
Step 1: Right-click
I. Introduction to AIDL Service
In the Android system, each application runs in its own process, and processes cannot communicate directly. To implement interprocess communication (IPC), Android provides the AIDL Service;
2. Different from the
1. The effect is as follows:
The example is as follows: The add data button can be changed to a progress bar because there is no data, so I add a button to the database for testing. Generally, it takes some time to pull data from the server, so
Androidpn User GuideIntroductionAndroidPN pushes text messages from the server to the android mobile platform.Before you begin, prepare:[Download]Download androidpn source codeGit clone
Use Qt Creator to write an Android program and read DNS. How to read the C language? After studying it, there was a way to read system attributes in the C library of Android. Use objdump to read libc. so and find the function. As follows:
000095f0
This article will focus on listing classes and methods related to date and time for reference, so this article will be updated continuously.
1. Time class. This class can get the specific date/Time and Time zone. It can be converted between the
It is an installation magic designed for mobile phone stores and installers, and the interface is very simple and silly. What's even better is that it supports both Android and ISO systems. Both the store clerk and the installer can quickly get
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service