[JAVA] Android application implementation tips, reference site summary (Android OS specific edition)

This is a summary of basic matters for creating Android apps. Updated from time to time.

Android-specific

-** Life cycle **

Check what methods are running in what order until no activity is generated

Activity life cycle

-** About tasks and stacks **

Tasks and back stack (https://developer.android.com/guide/components/tasks-and-back-stack.html?hl=ja)

(Task and back stack management) About the arguments of the intent.setFlags method

-** Terminal font size **

On Android, you can set the font size from the device settings. "Small" "Medium" "Large" "Maximum". If textSize is set to sp, the font size in the app will be changed due to the influence of that setting. ⇨ If the font size changes, the layout may collapse ...

Therefore, it is necessary to design the layout in consideration of that.

Android TextView setTextSize () is in sp units!

[Android] How to specify text size

Recommended Posts

Android application implementation tips, reference site summary (Android OS specific edition)
Android application implementation TIPS, reference site summary (function implementation)
Android application implementation tips, reference site summary (layout)
Android development reference site