explaingit

gcssloop/androidnote

9,334JavaAudience · developerComplexity · 1/5Setup · easy

TLDR

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.

Mindmap

mindmap
  root((AndroidNote))
    Custom Views
      Coordinate system
      Canvas drawing
      Bezier curves
      Touch events
    Android Studio
      Debugging tips
      ADB commands
    Reference
      dp sp px units
      Matrix transforms
    Open Source Libs
      Rounded corners
      Arc seek bar
    Audience
      Android developers
      Chinese speakers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Learn how to build custom Android UI components that go beyond standard buttons and text boxes.

USE CASE 2

Understand how Bezier curves and transformation matrices work for custom drawing on Android Canvas.

USE CASE 3

Look up common ADB command-line shortcuts and debugging tricks for Android development.

USE CASE 4

Browse small open-source Android libraries for rounded corners, arc seek bars, and font management.

Tech stack

JavaAndroid

Getting it running

Difficulty · easy Time to first run · 5min

In plain English

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.

Copy-paste prompts

Prompt 1
Using the GcsSloop AndroidNote guide, explain how Android's coordinate system and Canvas drawing API work for creating a custom view from scratch.
Prompt 2
Walk me through how touch events and gestures are handled in a custom Android view, based on the GcsSloop notes.
Prompt 3
Help me understand how Bezier curves work in Android's Path API using the GcsSloop tutorial as a reference.
Prompt 4
What are the differences between dp, sp, and px units in Android and when should I use each? Use the GcsSloop notes as a reference.
Prompt 5
Show me common ADB commands for debugging an Android app on a connected device, based on the GcsSloop cheat sheet.
Open on GitHub → Explain another repo

← gcssloop on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.