All Projects → dengzq → LetterView

dengzq / LetterView

Licence: other
一个可以选择字母完成单词的小控件

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to LetterView

VerifyBlocksView
Android view for providing blocks (Edit Texts) to achieve verification process.
Stars: ✭ 28 (-30%)
Mutual labels:  view
FastBanner
🔥快速轮播图,支持自定义布局和使用自有图片显示组件
Stars: ✭ 27 (-32.5%)
Mutual labels:  view
kirby-blade
Enable Laravel Blade Template Engine for Kirby 3
Stars: ✭ 20 (-50%)
Mutual labels:  view
MessagesView
view for displaying messages similarly to messages iOS system app
Stars: ✭ 16 (-60%)
Mutual labels:  view
YoutubeVideoSample
YoutubeVideoSample
Stars: ✭ 176 (+340%)
Mutual labels:  view
KoHighlights
KOHighlights is a utility for viewing KOReader's highlights and/or export them to simple text, csv or html files.
Stars: ✭ 62 (+55%)
Mutual labels:  view
GonioView
Android view to represent an angle measurement (Goniometry)
Stars: ✭ 27 (-32.5%)
Mutual labels:  view
react-native-responsive-image-view
React Native component for scaling an Image within the parent View
Stars: ✭ 152 (+280%)
Mutual labels:  view
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+210%)
Mutual labels:  view
Animations
Beautiful animations from AOSP
Stars: ✭ 35 (-12.5%)
Mutual labels:  view
react-native-PixelsCatcher
👀 Library for UI snapshot testing of React Native
Stars: ✭ 99 (+147.5%)
Mutual labels:  view
kzmonitor
kafka zookeeper monitor
Stars: ✭ 34 (-15%)
Mutual labels:  view
contributer
Inject all types like views or a conductor controllers with @ContributesAndroidInjector
Stars: ✭ 39 (-2.5%)
Mutual labels:  view
TitleBar
🔥空祖家的标题栏组件
Stars: ✭ 36 (-10%)
Mutual labels:  view
RegulatorView
Intelligent furniture remote control
Stars: ✭ 20 (-50%)
Mutual labels:  view
bubble-layout
An Android ViewGroup that displays avatar bubbles... similar to the chat bubbles on Facebook Messenger.
Stars: ✭ 46 (+15%)
Mutual labels:  view
RoundProgressBar
一个自定义的圆形可颜色渐变的ProgressBar
Stars: ✭ 32 (-20%)
Mutual labels:  view
MultiStateToggleButton
Android's ToggleButton offers only two states, MultiStateToggleButton fixes this by offering as many states depending on the number of drawable resources passed in.
Stars: ✭ 20 (-50%)
Mutual labels:  view
SlideNavigation
🐢 类似‘今日头条顶部导航栏跟手势滑动’效果
Stars: ✭ 18 (-55%)
Mutual labels:  view
SlideTable
可以滑动 以表格形式展示数据
Stars: ✭ 14 (-65%)
Mutual labels:  view

LetterView

有一个选中字母完成单词的需求,需求大概如下图

letterview.jpg

因此写了一个类似功能的字母选择控件,贴上完成效果

letterview.gif

##使用方法

直接在xml文件中引用

<com.dengzq.letterview.widget.LetterGridView

        android:layout_centerInParent="true"

        app:letterHorizontalMargin="20"

        app:letterVerticalMargin="20"

        app:letterRadius="60"

        app:letterColumn="12"

        app:letterRow="10"

        app:textSize="12"

        app:textCheckColor="#FFFFFF"

        android:background="#FFE4E1"

        app:strokeFinishWidth="2"

        android:id="@+id/lgl"

        android:layout_width="wrap_content"

        android:layout_height="wrap_content"

        android:layout_marginTop="30dp"/>
传递单词 setWords(String word)  
例如: setWords("静香和胖虎")

##相关属性
属性 描述
letterViewSize 字母控件的大小
letterColumn 列数
letterRow 行数
letterHorizontalMargin 字母间的水平间距
letterVerticalMargin 字母间的竖直间距
strokeFinishWidth 完成时边框宽度
strokeFinishColor 完成时边框颜色
strokeWidth 默认边框宽度
strokeColor 默认边框颜色
textSize 文字大小
textDefaultColor 文字默认颜色
textCheckColor 文字选中颜色
textFinishColor 文字完成颜色
checkedColor 选中时背景颜色

###end

####喜欢的可以赏个star

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].