---
# System prepended metadata

title: Kotlin

---

# Kotlin

[toc]

## 專案結構
![](https://i.imgur.com/o8fh8Yz.png)



```
app
 ├── manifests         "Application 的權限設定"
 ├── java              ".kt 或 .java放置地方"
 ├── java(generated)   "Application 生成時候的一些資訊設定檔案"
 └── res               "放置風格,樣式,字體,顏色,圖片"
```


```
Gradle Scripts
 ├── build.gradle(Project)      "設定引用子專案的設定檔"
 ├── build.gradle(Module)       "設定引用程式庫的設定檔"
 ├── gradle-wrapper.properties(Gradle Version)  ""
 ├── proguard-rules.pro(ProGuard Rules for App) ""
 ├── gradle.properties                   "Gradle 參數設置設定檔"
 ├── setting.gradle(Project Settings)    ""
 └── local.properties                    "設定sdk"
```

## Dark Mod


![](https://i.imgur.com/rhy63l2.png)

> 參考資料：
> [1]. [Getting started with Material Components for Android](https://material.io/develop/android/docs/getting-started)