All Projects → santalu → aspect-ratio-imageview

santalu / aspect-ratio-imageview

Licence: Apache-2.0 license
A simple imageview which scales the width or height aspect with the given ratio

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to aspect-ratio-imageview

Androidresizer
Java Desktop app to resize XXXHDPI (or lower) images and sort them into folders automatically.
Stars: ✭ 194 (+169.44%)
Mutual labels:  scale
nitroml
NitroML is a modular, portable, and scalable model-quality benchmarking framework for Machine Learning and Automated Machine Learning (AutoML) pipelines.
Stars: ✭ 40 (-44.44%)
Mutual labels:  scale
SquareImageView
SquareImageView is a simple wrapper library for Android ImageView
Stars: ✭ 28 (-61.11%)
Mutual labels:  imageview
Flutter screenutil
Flutter screen adaptation, font adaptation, get screen information
Stars: ✭ 2,843 (+3848.61%)
Mutual labels:  scale
scalem
A jQuery plugin to make any element scalable (responsive).
Stars: ✭ 33 (-54.17%)
Mutual labels:  scale
ASV
[CVPR16] Accumulated Stability Voting: A Robust Descriptor from Descriptors of Multiple Scales
Stars: ✭ 26 (-63.89%)
Mutual labels:  scale
Springy facebook rebound
Springy makes Android Property animation easy to use.
Stars: ✭ 176 (+144.44%)
Mutual labels:  scale
traefik-ondemand-service
Traefik ondemand service for the traefik ondemand plugin
Stars: ✭ 35 (-51.39%)
Mutual labels:  scale
BetterDummy
Unlock your displays on your Mac! Smooth scaling, HiDPI unlock, XDR/HDR extra brightness upscale, DDC, brightness and dimming, dummy displays, PIP and lots more!
Stars: ✭ 9,601 (+13234.72%)
Mutual labels:  scale
einet
Uncertainty and causal emergence in complex networks
Stars: ✭ 77 (+6.94%)
Mutual labels:  scale
Rtimageassets
A Xcode plugin to automatically generate 2x, 1x image from 3x image for you, or upscale to 3x from 2x
Stars: ✭ 2,490 (+3358.33%)
Mutual labels:  scale
spicedb
Open Source, Google Zanzibar-inspired fine-grained permissions database
Stars: ✭ 3,358 (+4563.89%)
Mutual labels:  scale
ProgressableImageView
Change your users progress capability with ProgressableImageView
Stars: ✭ 86 (+19.44%)
Mutual labels:  imageview
Igrphototweaks
Drag, Rotate, Scale and Crop
Stars: ✭ 212 (+194.44%)
Mutual labels:  scale
go-hx711
Golang HX711 interface using periph.io driver
Stars: ✭ 15 (-79.17%)
Mutual labels:  scale
Transformation Matrix
Javascript isomorphic 2D affine transformations written in ES6 syntax. Manipulate transformation matrices with this totally tested library!
Stars: ✭ 184 (+155.56%)
Mutual labels:  scale
scale
📦 Toolkit for mapping abstract data into visual representation.
Stars: ✭ 53 (-26.39%)
Mutual labels:  scale
Temps
λ A selfhostable serverless function runtime. Inspired by zeit now.
Stars: ✭ 15 (-79.17%)
Mutual labels:  scale
RoundImage
This library is used for converting Bitmap or Drawable images to Round or Circular Shape. Round image view for Android or Circular Image View for Android.Tags Android Round Circularimageview Circle Rounded Corner imageview library.
Stars: ✭ 42 (-41.67%)
Mutual labels:  imageview
hedgedhttp
Hedged HTTP client which helps to reduce tail latency at scale.
Stars: ✭ 103 (+43.06%)
Mutual labels:  scale

Aspect Ratio ImageView

Android Arsenal Build Status

A simple imageview which scales the width or height aspect with the given ratio

Sample

Usage

Gradle

allprojects {
  repositories {
    maven { url 'https://jitpack.io' }
  }
}
dependencies {
  implementation 'com.github.santalu:aspect-ratio-imageview:1.0.9'
}

XML

<com.santalu.aspectratioimageview.AspectRatioImageView
    android:layout_width="200dp"
    android:layout_height="0dp"
    android:scaleType="centerCrop"
    android:src="@drawable/sample"
    app:ari_ratio="1.2"/>

License

Copyright 2017 Fatih Santalu

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