All Projects → TangXiaoLv → Effectiveshapeview

TangXiaoLv / Effectiveshapeview

android custom imageview, effective shape view

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Effectiveshapeview

TextButton
⏹️ An easy to use `TextButton` when you need a TextView-like button, with handy touch feedback effects.
Stars: ✭ 19 (-93.47%)
Mutual labels:  custom-view
auto-fill-edit-text
This custom EditText can suggest and fill text defined before.
Stars: ✭ 26 (-91.07%)
Mutual labels:  custom-view
Funnyviews
💘A lot of funny & custom views for android, will continue to update.
Stars: ✭ 267 (-8.25%)
Mutual labels:  custom-view
android-tableview-kotlin
Android's missing TableView component.
Stars: ✭ 40 (-86.25%)
Mutual labels:  custom-view
signal-strength-view
📶 Material design signal strength view for Android
Stars: ✭ 30 (-89.69%)
Mutual labels:  custom-view
DraggableTreeView
TreeView with drag and drop (n-th level)
Stars: ✭ 95 (-67.35%)
Mutual labels:  custom-view
iiVisu
A player/ recorder visualizer with the swipe to seek functionality.
Stars: ✭ 112 (-61.51%)
Mutual labels:  custom-view
Linkedideas
A macOS/iOS apps to treat ideas as links of concepts.
Stars: ✭ 286 (-1.72%)
Mutual labels:  custom-view
SuperBadge
🚀 📛 SuperBadge Android Library 🔥
Stars: ✭ 34 (-88.32%)
Mutual labels:  custom-view
Rxanime
Visualizer to understand RxJava operators
Stars: ✭ 261 (-10.31%)
Mutual labels:  custom-view
MutativeFab
This is animating floating action button with text
Stars: ✭ 54 (-81.44%)
Mutual labels:  custom-view
WaveView
Simple Android library to draw sinusoidal waves.
Stars: ✭ 43 (-85.22%)
Mutual labels:  custom-view
Tableview
TableView is a powerful Android library for displaying complex data structures and rendering tabular data composed of rows, columns and cells.
Stars: ✭ 2,928 (+906.19%)
Mutual labels:  custom-view
CustomFormViews
A clean collection of views used for forms.
Stars: ✭ 12 (-95.88%)
Mutual labels:  custom-view
Circle
你没有看错,全是纯手工打造!
Stars: ✭ 269 (-7.56%)
Mutual labels:  custom-view
RoundCornerProgress
No description or website provided.
Stars: ✭ 14 (-95.19%)
Mutual labels:  custom-view
CustomViewStudy
This repository is used to learn CustomView(Text、Image、Progress、ViewGroup、ViewGragHelper).
Stars: ✭ 76 (-73.88%)
Mutual labels:  custom-view
Sparklinelayout
Simple and lightweight library for drawing sparklines / graphs. Support markers and gradients.
Stars: ✭ 291 (+0%)
Mutual labels:  custom-view
Tickview
一个精致带感的打钩小动画
Stars: ✭ 284 (-2.41%)
Mutual labels:  custom-view
Uilibrary
平时项目开发中写的自定义Drawable、View和Shape
Stars: ✭ 260 (-10.65%)
Mutual labels:  custom-view

EffectiveShapeView

Download

A fast,flexible,powerful ImageView that supports rounded corners,circles,polygon.Used by shader which is fastest model of draw. This is based on RoundedImageView from Vince Mi, but more lightweight(under 400 line code).

Also has support for:

  • anti-aliased
  • Borders (with Colors)
  • Hardware acceleration
  • Decorations (with Direction)

Gradle

dependencies {
    compile 'com.library.tangxiaolv:effectiveshapeview:1.0.1'
}

Usage

<tangxiaolv.com.library.EffectiveShapeView
        android:id="@+id/shape"
        android:layout_width="72dp"
        android:layout_height="72dp"
        android:layout_marginLeft="72dp"
        android:layout_marginTop="16dp"
        android:layout_toRightOf="@id/container"
        android:background="#000000"
        android:scaleType="centerCrop"
        android:src="@drawable/android"
        app:shape="polygon"
        app:sides="6"/>

Changelog

v1.0.1

  • Fix set colorDrawable Invalid

v1.0.0

  • Initial release

License

Copyright 2016 - 2017 TangXiaoLv

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].