Android Split Pane Layout

An Android layout which splits the available space between child views

Лицензия

Лицензия

Категории

Категории

IDE Инструменты разработки
Группа

Группа

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

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

split-pane-layout
Последняя версия

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

1.0.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

Android Split Pane Layout
An Android layout which splits the available space between child views
Ссылка на сайт

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

https://github.com/MobiDevelop/android-split-pane-layout
Система контроля версий

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

https://github.com/MobiDevelop/android-split-pane-layout

Скачать split-pane-layout

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

<!-- https://jarcasting.com/artifacts/com.mobidevelop.spl/split-pane-layout/ -->
<dependency>
    <groupId>com.mobidevelop.spl</groupId>
    <artifactId>split-pane-layout</artifactId>
    <version>1.0.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.mobidevelop.spl/split-pane-layout/
implementation 'com.mobidevelop.spl:split-pane-layout:1.0.0'
// https://jarcasting.com/artifacts/com.mobidevelop.spl/split-pane-layout/
implementation ("com.mobidevelop.spl:split-pane-layout:1.0.0")
'com.mobidevelop.spl:split-pane-layout:aar:1.0.0'
<dependency org="com.mobidevelop.spl" name="split-pane-layout" rev="1.0.0">
  <artifact name="split-pane-layout" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.mobidevelop.spl', module='split-pane-layout', version='1.0.0')
)
libraryDependencies += "com.mobidevelop.spl" % "split-pane-layout" % "1.0.0"
[com.mobidevelop.spl/split-pane-layout "1.0.0"]

Зависимости

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

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

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

Android Split Pane Layout

An Android layout which splits the available space between two child views. An optionally movable bar exists between the children which allows the user to redistribute the space allocated to each view.

Usage

Add a reference to the split-pane-layout library project, or copy the necessary files into your project. Add a SplitPaneLayout as follows:

<com.mobidevelop.spl.widget.SplitPaneLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:spl="http://schemas.android.com/apk/res-auto"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    spl:orientation="vertical"
    spl:splitterSize="12dip"
    spl:splitterPosition="33%"
    spl:splitterBackground="@drawable/splitter_bg_v"
    >
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Child1" />
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="Child2" />
</com.mobidevelop.spl.widget.SplitPaneLayout>

NOTE: A SplitPaneLayout MUST have exactly two children.

Using with Gradle

SplitPaneLayout is published to Maven Central so can be easily added to your Gradle-based Android projects by adding the following entry to your dependencies:

dependencies {
    compile 'com.mobidevelop.spl:split-pane-layout:1.0.0'
}

Precompiled Demo APK

https://www.box.com/s/6yw9kekmq558wgbwan91

QR

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

Версия
1.0.0