
Android
文章平均质量分 84
LeeReindeer
https://leer.moe
展开
-
【Android 基础 4.3】Menu and pickers
Create menu for selected viewA context menu allows users to take an action on a selected View. While the options menu in the app bar usually provides choices for navigation to another activity, you u...原创 2018-11-18 20:11:03 · 202 阅读 · 0 评论 -
【Android 基础 5.1】Drawables, styles, and themes(夜间模式)
ShapeDrawable<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="oval"> <stroke android:width="2dp" android:color="@col...原创 2018-11-18 20:12:50 · 261 阅读 · 0 评论 -
【Android基础 1.3】Text and scrolling views
本次codelab前几次的 codelab 都比较简单,都是基于 Layout Editor 的,控件拖来拖去,没啥好讲的。那么这次的主要内容的是 TextView 和 ScrollView。ScrollView 提供了一个可以滚动的视图,它是 FrameLayout 的子类。ScrollView 只能有一个子 View,当然这个子 View 它本身可以是 ViewGroup(比如 Lin...原创 2018-11-16 16:55:35 · 257 阅读 · 0 评论 -
Android Developer Fundamentals
准备春招,重温 Android这是一篇接下来的学习计划,使用的教程是Google Training courses。基本上是按着 CodeLab 一步一步做下来,CodeLab 里用的是 Java,我用的 Kotlin 。会对期间遇到问题和编程方法进行总结。Unit1: Get startedLesson 1: Build your first app 1.1 Android St...原创 2018-11-16 16:58:57 · 400 阅读 · 0 评论 -
【Android基础 2.1】Activities and intents
I’ll use English in following blogs, because it’s easy to copy and paste. lol.2018-11-13 15:31:21codelabAn activity is started or activated with an intent. An Intent is an asynchronous message th...原创 2018-11-16 17:06:00 · 335 阅读 · 0 评论 -
【Android 基础 2.3】Implicit intents
2018-11-14 10:31:21IntroductionWith an implicit intent, you active an activity without knowing which app or activity will handle the task.Conversely, your activity can declare one or more intent ...原创 2018-11-16 17:07:12 · 350 阅读 · 0 评论 -
【Android 基础 3.3】Support libraries
2018-11-14 13:31:21What you’ll learnHow to indicate support library classes in your app.How to tell the difference between the values for compileSdkVersion, targetSdkVersion, and minSdkVersion....原创 2018-11-16 17:08:35 · 294 阅读 · 0 评论 -
【Android 基础 4.5】RecyclerView
2018-11-16 13:31:21RecyclerView is a subclass of ViewGroup and is a more resource-efficient way to display scrollable lists. Instead of creating a View for each item that may or may not be visible ...原创 2018-11-16 17:11:05 · 242 阅读 · 0 评论 -
【Android 基础7.1 7.2】AsyncTask & AsyncTaskLoader
App OverviewI Use Douban Api instead of Google Book Api for this demo.AsyncTask InroAsyncTask is an abstract class, which means you must subclass it in order to use it. In this example the AsyncTa...原创 2018-11-24 17:23:20 · 311 阅读 · 0 评论