8000 GitHub - wmramazan/EtiyaComponents: An Android library which has UI components.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

wmramazan/EtiyaComponents

Repository files navigation

EtiyaComponents platform API Download

An Android library which contains UI components.

preview

Components

  • EtiyaBottomBar
  • EtiyaCardView
  • EtiyaCardViewGroup
  • EtiyaDialog
  • EtiyaListItem
  • EtiyaMenu
  • EtiyaMenuItem
  • EtiyaSelectableListItem
  • EtiyaSelectableView
  • EtiyaSelectableViewGroup
  • EtiyaTabItem
  • EtiyaTabLayout

Demo

preview

Integration

Just add the dependency to your build.gradle:

dependencies {
    implementation 'com.etiya.components:components:0.1.0'
}

Usage

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical">

    <com.etiya.components.EtiyaTabLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/components_margin">
    
        <com.etiya.components.EtiyaTabItem
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tab_list_items"
            app:components_tab_item_layout_id="@id/group_list_items"
            app:components_tab_item_selected="true"/>
    
        <com.etiya.components.EtiyaTabItem
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tab_selectable_view"
            app:components_tab_item_layout_id="@id/group_selectable_view"/>
    
        <com.etiya.components.EtiyaTabItem
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/tab_menu"
            app:components_tab_item_layout_id="@id/group_menu"/>
    
    </com.etiya.components.EtiyaTabLayout>
    
    <com.etiya.components.EtiyaCardViewGroup
        android:id="@+id/group_list_items"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        app:card_view_group_type="accordion">
        
        <com.etiya.components.EtiyaCardView
            android:id="@+id/card_list_item"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:card_accordion_title="@string/list_item">
        
            <com.etiya.components.EtiyaListItem
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:list_item_title="@string/components"/>
        
        </com.etiya.components.EtiyaCardView>
        
        <com.etiya.components.EtiyaCardView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:card_accordion_title="@string/selectable_list_item">
        
            <com.etiya.components.EtiyaSelectableListItem
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                app:list_item_title="@string/components"
                app:list_item="@string/list_item"
                app:list_item_selected="true" />
        
        </com.etiya.components.EtiyaCardView>
    
    </com.etiya.components.EtiyaCardViewGroup>

</LinearLayout>

In order to see other components, you can look at the sample application and read documentation.

License

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.

Screenshots

preview preview preview


Etiya Mobile Team

About

An Android library which has UI components.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0