当前位置:网站首页>Use of rotary selector wheelpicker
Use of rotary selector wheelpicker
2022-04-23 03:32:00 【Jon_ Lo】
Rotary selector WheelPicker Use (Github Open source project )
Running effect

Use steps
1. stay project Of build.gradle Add the following code ( Here's the picture )
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}

2. stay Module Of build.gradle Add dependency
compile 'com.github.open-android:WheelPicker:v1.0.0'
3. Copy the following code to xml
<com.itheima.wheelpicker.WheelPicker
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:wheel_atmospheric="true"
app:wheel_curved="true"
app:wheel_cyclic="true"
app:wheel_selected_item_position="5"
app:wheel_item_text_color="#0000ff"
app:wheel_selected_item_text_color="#ff0000"/>
<!-- Attribute interpretation :
wheel_atmospheric : Whether the item color performs cohesion processing better
wheel_curved : Whether it is arc status display
wheel_cyclic : Is it recyclable
wheel_selected_item_position : Which entry is selected by default
wheel_item_text_color Unselected item color
wheel_selected_item_text_color Selected item color -->
4 . Can run
Pay attention to the details :
A set of data will be brought by default , So there is no need to set data . If you want to set new data , It can be done by Call the following method
版权声明
本文为[Jon_ Lo]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220607064421.html
边栏推荐
- Test questions and some space wars
- 2022 group programming ladder game simulation L2-4 Zhezhi game (25 points)
- Supersocket is Use in net5 - concept
- Commonly used classes
- Initial experience of talent plan learning camp: communication + adhering to the only way to learn open source collaborative courses
- Variable definition and use
- 7-3 poly width
- Learn about I / O flow and file operations
- 深度學習筆記(二)——激活函數原理與實現
- Quartz. Www. 18fu Used in net core
猜你喜欢

Un aperçu des flux d'E / s et des opérations de fichiers de classe de fichiers

【微服务】(十)—— 统一网关Gateway

Unity Basics

Visual programming - drawing assignment

Supersocket is Use in net5 - startup

Database SQL -- simulate inserting a large amount of data, importing / exporting database scripts, timestamp conversion and database basics

QT learning summary

The art of concurrent programming (3): an in-depth understanding of the principle of synchronized

Applet - canvas drawing Poster

Unity games and related interview questions
随机推荐
第四次作业
Three column layout (fixed width on both sides in the middle and fixed width on both sides in the middle)
L3-011 direct attack Huanglong (30 points)
MySql分组查询规则
TCP three handshakes and four waves
打卡:4.22 C语言篇 -(1)初识C语言 - (11)指针
Batch download of files ---- compressed and then downloaded
Node configuration environment CMD does not take effect
Oracle query foreign keys contain comma separated data
Notes sur l'apprentissage profond (Ⅱ) - - Principe et mise en oeuvre de la fonction d'activation
Generate QR code through zxing
2021-08-11
MySQL之explain关键字详解
Talent Plan 学习营初体验:交流+坚持 开源协作课程学习的不二路径
集合之List接口
The principle and solution of not allowing pasting in an English Network
JS changes the words separated by dashes into camel style
Unity knowledge points (ugui 2)
Punch in: 4.22 C language chapter - (1) first knowledge of C language - (11) pointer
Téléchargement en vrac de fichiers - téléchargement après compression