ThreePaneLayout (Parent)

A three-pane layout where only two panes are visible at a time.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.simonvt
Идентификатор

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

threepanelayout-parent
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

pom
Описание

Описание

ThreePaneLayout (Parent)
A three-pane layout where only two panes are visible at a time.
Ссылка на сайт

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

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

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

http://github.com/SimonVT/ThreePaneLayout/

Скачать threepanelayout-parent

Имя Файла Размер
threepanelayout-parent-1.0.1.pom 4 KB
Обзор

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

<!-- https://jarcasting.com/artifacts/net.simonvt/threepanelayout-parent/ -->
<dependency>
    <groupId>net.simonvt</groupId>
    <artifactId>threepanelayout-parent</artifactId>
    <version>1.0.1</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.simonvt/threepanelayout-parent/
implementation 'net.simonvt:threepanelayout-parent:1.0.1'
// https://jarcasting.com/artifacts/net.simonvt/threepanelayout-parent/
implementation ("net.simonvt:threepanelayout-parent:1.0.1")
'net.simonvt:threepanelayout-parent:pom:1.0.1'
<dependency org="net.simonvt" name="threepanelayout-parent" rev="1.0.1">
  <artifact name="threepanelayout-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.simonvt', module='threepanelayout-parent', version='1.0.1')
)
libraryDependencies += "net.simonvt" % "threepanelayout-parent" % "1.0.1"
[net.simonvt/threepanelayout-parent "1.0.1"]

Зависимости

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

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

  • library
  • samples

ThreePaneLayout

A three-pane layout where up to two panes are visible at a time.

When the left pane is showing, the middle pane will always be shown. When the right pane is shown, it's up to the user to decide whether the middle pane is shown.

Usage

ThreePaneLayout can be used both in code and xml. It is not possible to directly define child views in xml or add them by calling ViewGroup#addView, but rather helper methods/attributes should be used.

XML definition

<net.simonvt.threepanelayout.ThreePaneLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/threePaneLayout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:leftPaneLayout="@layout/left_pane"
    app:middlePaneLayout="@layout/middle_pane"
    app:rightPaneLayout="@layout/right_pane" />

Creating in code

mThreePaneLayout = new ThreePaneLayout(context);
mThreePaneLayout.setLeftPaneLayout(R.layout.left_pane);
mThreePaneLayout.setMiddlePaneLayout(R.layout.middle_pane);
mThreePaneLayout.setRightPaneLayout(R.layout.right_pane);

License

Copyright 2013 Simon Vig Therkildsen

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.

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

Версия
1.0.1
1.0.0