works-widget

Works Widget for Android

Лицензия

Лицензия

Группа

Группа

com.mobilesolutionworks
Идентификатор

Идентификатор

works-widget
Последняя версия

Последняя версия

1.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

works-widget
Works Widget for Android
Ссылка на сайт

Ссылка на сайт

http://sg.linkedin.com/in/yunarta/
Система контроля версий

Система контроля версий

https://github.com/yunarta/works-widget

Скачать works-widget

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.mobilesolutionworks/works-widget/ -->
<dependency>
    <groupId>com.mobilesolutionworks</groupId>
    <artifactId>works-widget</artifactId>
    <version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.mobilesolutionworks/works-widget/
implementation 'com.mobilesolutionworks:works-widget:1.0.4'
// https://jarcasting.com/artifacts/com.mobilesolutionworks/works-widget/
implementation ("com.mobilesolutionworks:works-widget:1.0.4")
'com.mobilesolutionworks:works-widget:jar:1.0.4'
<dependency org="com.mobilesolutionworks" name="works-widget" rev="1.0.4">
  <artifact name="works-widget" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mobilesolutionworks', module='works-widget', version='1.0.4')
)
libraryDependencies += "com.mobilesolutionworks" % "works-widget" % "1.0.4"
[com.mobilesolutionworks/works-widget "1.0.4"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

Works Widget

This project contains basic widget for helping you tackle design problem such as layout with constrained ratio.

ConstrainedFrameLayout

A FrameLayout subclass which allows you to create a width height ratio constrained layout

![](screenshot/fig1.png)
Figure. 1 - Constrained FrameLayout

Layout examples:

<view
            class="works.ConstrainedFrameLayout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            works:worksRatioHorizontal="integer"
            works:worksRatioVertical="integer"
            works:worksKeep="width|height"/>

This widget is especially useful for handling ImageView dimension.

Usage

Adding as dependency

Manual

  • Download AAR
  • Put the AAR in the libs subfolder of your Android project
  • If you are using gradle you can use this dependency setting below
compile(name:'works-widget-1.0.4', ext:'aar')

or

Gradle dependency

compile 'com.mobilesolutionworks:works-widget:1.0.4@aar'

Maven dependency

<dependency>
	<groupId>com.mobilesolutionworks</groupId>
	<artifactId>works-widget</artifactId>
	<version>1.0.4</version>
	<type>pom</type>
</dependency>

Версии библиотеки

Версия
1.0.4
1.0.3
1.0.2
1.0.1
1.0