未验证 提交 72c1845c 编写于 作者: A Aidan Follestad 提交者: GitHub

Update COLOR.md

上级 79b2ee44
......@@ -26,7 +26,7 @@ dependencies {
Color choosers show a simple grid of colors.
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/master/art/color_chooser.png" width="250px" />
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/main/art/color_chooser.png" width="250px" />
```kotlin
val colors = intArrayOf(RED, GREEN, BLUE)
......@@ -59,7 +59,7 @@ MaterialDialog(this).show {
You can specify sub-colors, which are a level down from each top level color. The size of the top
level array must match the size of the sub-colors array.
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/master/art/color_chooser_sub.png" width="250px" />
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/main/art/color_chooser_sub.png" width="250px" />
```kotlin
val colors = intArrayOf(RED, GREEN, BLUE) // size = 3
......@@ -81,7 +81,7 @@ MaterialDialog(this).show {
### ARGB Selection
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/master/art/custom_argb.png" width="250px" />
<img src="https://raw.githubusercontent.com/afollestad/material-dialogs/main/art/custom_argb.png" width="250px" />
```kotlin
MaterialDialog(this).show {
......@@ -98,4 +98,4 @@ MaterialDialog(this).show {
}
```
Omitting `showAlphaSelector` will hide the alpha (transparency) selector.
\ No newline at end of file
Omitting `showAlphaSelector` will hide the alpha (transparency) selector.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册