gitmyhub

AndroidNote

Java ★ 9.3k updated 2y ago

安卓学习笔记

A personal collection of Android development notes in Chinese covering custom UI views, Canvas drawing, touch handling, and Android Studio tips. A structured reference for Chinese-speaking developers learning Android.

JavaAndroidsetup: easycomplexity 1/5

This repository is a personal collection of Android development notes written in Chinese by the developer GcsSloop. It serves as a structured reference for things learned while building Android apps, covering both foundational concepts and more advanced topics. The notes are published alongside a personal blog where the same content can be read with better formatting and a comments section for feedback.

The largest section covers building custom views in Android, which means creating UI elements that go beyond the standard buttons and text boxes the platform provides. Topics include how the coordinate system works on screen, how to draw shapes and handle colors, how to work with the canvas and path drawing APIs, how Bezier curves function, how transformation matrices work, and how touch events and gestures are processed. There are both introductory and advanced articles in this section, as well as quick-reference tables for common operations.

Other sections cover practical debugging tricks the author calls "bug-fixing tips," general Android Studio tutorials, a Markdown writing guide, and miscellaneous tips such as understanding different unit types (dp, sp, px) and common ADB command-line tool usage. There is also a short section analyzing Android platform source code, starting with the AtomicFile class.

The repository links to several small open-source Android libraries the author released, including a rounded-corner layout, an arc-shaped seek bar, an encryption utility, and a font manager. Content is written in Chinese and is intended for Chinese-speaking Android developers learning the platform.

Where it fits