All Projects → imaNNeoFighT → DottedView

imaNNeoFighT / DottedView

Licence: other
Drawing Dots in android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to DottedView

epg magic carousel
Awesome RecyclerView with custom LayoutManager
Stars: ✭ 98 (+653.85%)
Mutual labels:  customview
iMoney
iMoney 金融项目
Stars: ✭ 55 (+323.08%)
Mutual labels:  customview
RippleBackground
Ripple animation
Stars: ✭ 32 (+146.15%)
Mutual labels:  customview
FooterNavigationView
FooterNavigationView helps to show a footer inside the NavigationView
Stars: ✭ 30 (+130.77%)
Mutual labels:  customview
pipen
pipen - A pipeline framework for python
Stars: ✭ 82 (+530.77%)
Mutual labels:  dot
MultiShapeView
支持圆角矩形,圆形自定义View
Stars: ✭ 35 (+169.23%)
Mutual labels:  customview
Frames
Retrieves desired frames from video.
Stars: ✭ 51 (+292.31%)
Mutual labels:  customview
HorizontalAndCircleTimeView
自定义水平刻度尺和圆形钟表刻度 可点击 可拖动 刻度 水平刻度划分为60份 圆形刻度划分为24份 可自定义修改
Stars: ✭ 14 (+7.69%)
Mutual labels:  circle
BeautyClock
A simple project draw clock view by using Canvas and Kotlin
Stars: ✭ 14 (+7.69%)
Mutual labels:  customview
ComposableSweetToast
Jetpack Compose, Custom Toast, Solid Principles, Kotlin
Stars: ✭ 60 (+361.54%)
Mutual labels:  customview
ALProgressView
Animated and fully customizable progress view with 2 styles: ring and bar.
Stars: ✭ 72 (+453.85%)
Mutual labels:  circle
NoiseView
Android library written in kotlin that add a noise effect to image.
Stars: ✭ 47 (+261.54%)
Mutual labels:  customview
updns
Public Adfree DNS over HTTPS Server
Stars: ✭ 23 (+76.92%)
Mutual labels:  dot
avit-da2k
💲 oh-my-zsh theme based on avit theme
Stars: ✭ 15 (+15.38%)
Mutual labels:  dot
tox-progress
This JavaScript library was made to easily create animated radial progress bars.
Stars: ✭ 13 (+0%)
Mutual labels:  circle
PaymentCardView
Custom Credit/Debit card view
Stars: ✭ 62 (+376.92%)
Mutual labels:  customview
BetterBottomBar
Fork of the BottomNavigationView from the design lib to allow for view state, accessibility and colorful animations
Stars: ✭ 33 (+153.85%)
Mutual labels:  customview
circles
👪 Create groups with other users on a Nextcloud instance and share with them
Stars: ✭ 121 (+830.77%)
Mutual labels:  circle
double-avatar-view
Instagram-like double avatar view with cropping
Stars: ✭ 31 (+138.46%)
Mutual labels:  customview
CustomWaterView
⭐ 仿支付宝蚂蚁森林效果
Stars: ✭ 118 (+807.69%)
Mutual labels:  customview

DottedView

We can draw dash lines in android in simple way, but i didn't find simple way to create Dotted Like. By this library you can make everything you want with Dots.

1 - Getting Started

By this instructions you can add this library and i will explain how use it.

Add Maven to your root build.gradle

First of all Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}

Add Dependency

Add the dependency to your app build.gradle file

dependencies
{
    compile 'com.github.imaNNeoFighT:DottedView:-SNAPSHOT'
}

And then sync your gradle and take a tea.

2 - About The View

You can simply use this View like other Views in android, just add DottedView in your java code or xml.

View Properties

you can use this properties for make everything you want, and all af them is arbitary.

  • dv_dotColor by this property you can specify the color of Dots, default value is #107cff

  • dv_dotSize by this property you can specify the size of Dots, default value is 15dp

  • dv_dotHSpace by this property you can specify Horizontal space of Dots, default value is 10dp

  • dv_dotVSpace by this property you can specify Vertical space of Dots, default value is 10dp

  • dv_dotStrokeColor by this property you can specify Stroke Color of Dots, default value is #cc1a52

  • dv_dotStrokeWidth by this property you can specify Stroke Size of Dots, default value is 1dp

3 - Use in Code

Sample 1

<com.neo.dottedview.DottedView
  android:layout_width="match_parent"
  android:layout_height="12dp"
  app:dv_dotSize="12dp"
  app:dv_dotStrokeWidth="0dp"
  app:dv_dotHSpace="4dp"
  app:dv_dotColor="#545454"
  />

you will see this output

Sample 2

<com.neo.dottedview.DottedView
  android:layout_width="match_parent"
  android:layout_height="8dp"
  app:dv_dotSize="8dp"
  app:dv_dotStrokeWidth="0dp"
  app:dv_dotHSpace="0dp"
  app:dv_dotColor="#ff0000"
  />

you will see this output

Sample 3

<com.neo.dottedview.DottedView
  android:layout_width="match_parent"
  android:layout_height="28dp"
  app:dv_dotSize="20dp"
  app:dv_dotStrokeWidth="4dp"
  app:dv_dotHSpace="22dp"
  app:dv_dotColor="#fb00ff"
  app:dv_dotStrokeColor="#0dff00"
  />

you will see this output

Sample 4

<com.neo.dottedview.DottedView
    android:layout_width="match_parent"
    android:layout_height="280dp"
    app:dv_dotSize="18dp"
    app:dv_dotStrokeWidth="4dp"
    app:dv_dotHSpace="0dp"
    app:dv_dotVSpace="18dp"
    app:dv_dotColor="#707070"
    app:dv_dotStrokeColor="#25af7f"
    />

you will see this output

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].