SquareLayout

Wrapper Layout designed to provide Square dimensioned Views for Android

Лицензия

Лицензия

Категории

Категории

Square Прикладные библиотеки Financial
Группа

Группа

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

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

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

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

0.0.3
Дата

Дата

Тип

Тип

aar
Описание

Описание

SquareLayout
Wrapper Layout designed to provide Square dimensioned Views for Android
Ссылка на сайт

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

https://github.com/kaushikthedeveloper/SquareLayout
Система контроля версий

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

https://github.com/kaushikthedeveloper/SquareLayout

Скачать squarelayout

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

<!-- https://jarcasting.com/artifacts/com.github.kaushikthedeveloper/squarelayout/ -->
<dependency>
    <groupId>com.github.kaushikthedeveloper</groupId>
    <artifactId>squarelayout</artifactId>
    <version>0.0.3</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.kaushikthedeveloper/squarelayout/
implementation 'com.github.kaushikthedeveloper:squarelayout:0.0.3'
// https://jarcasting.com/artifacts/com.github.kaushikthedeveloper/squarelayout/
implementation ("com.github.kaushikthedeveloper:squarelayout:0.0.3")
'com.github.kaushikthedeveloper:squarelayout:aar:0.0.3'
<dependency org="com.github.kaushikthedeveloper" name="squarelayout" rev="0.0.3">
  <artifact name="squarelayout" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.kaushikthedeveloper', module='squarelayout', version='0.0.3')
)
libraryDependencies += "com.github.kaushikthedeveloper" % "squarelayout" % "0.0.3"
[com.github.kaushikthedeveloper/squarelayout "0.0.3"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
com.android.support » appcompat-v7 jar 26.0.1
com.android.support » percent jar 26.0.1

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

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

SquareLayout

Download License: MIT

Provide a wrapper class for creating Square dimensioned ViewGroups of the various layouts used in Android.


Usage

Add dependencies to your module's build.gradle :

dependencies {
    compile 'com.github.kaushikthedeveloper:squarelayout:0.0.3'
}

Add the different SquareLayoutViews to your layout (Minimalistic Layout shown below) :

<com.kaushikthedeveloper.squarelayout.SquareLinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
/>

The min version for Support Library requires version "26.+"

Features :

  • Square Layout dimensions calculated before View is rendered.
  • No extra cost, nor any re-rendering processes involved.
  • Basic Layout methods remain untouched and can be accessed.

Square Layouts Supported :

  • SquareFrameLayout
  • SquareGridLayout
  • SquareLinearLayout
  • SquareRelativeLayout
  • SquareTableLayout
  • SquarePercentFrameLayout (deprecated)
  • SquarePercentRelativeLayout (deprecated)

Note : the Preview of the XML for SquareLayouts is broken for the moment (due to the method used for rendering perfect Square in all situations), though this in no way affects the Performance nor the rendering of the Layouts.

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

Версия
0.0.3
0.0.2
0.0.1