Popularity
6.3
Stable
Activity
0.0
Stable
877
16
121

Programming language: Java
Tags: Other Widget    
Latest version: v1.1.2

TriangleLabelView alternatives and similar packages

Based on the "Other Widget" category.
Alternatively, view TriangleLabelView alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of TriangleLabelView or a related project?

Add another 'Other Widget' Package

README

TriangleLabelView

Show triangle view.

Android Arsenal

How to Use

To see how the TriangleLabelView are added to your xml layouts, check the sample project.

<jp.shts.android.library.TriangleLabelView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    app:backgroundColor="@color/yellow_900"
    app:corner="leftTop"
    app:labelBottomPadding="5dp"
    app:labelCenterPadding="0dp"
    app:labelTopPadding="10dp"
    app:primaryText="New"
    app:primaryTextColor="@color/yellow_500"
    app:primaryTextSize="16sp"
    app:secondaryText="01"
    app:secondaryTextColor="@color/yellow_100"
    app:secondaryTextSize="11sp" />

Install

Add it in your root build.gradle at the end of repositories:

allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
}

Add the dependency

    dependencies {
            compile 'com.github.shts:TriangleLabelView:1.1.2'
    }

Credits

I used LabelView library by Corer as a base for development.

License

Copyright (C) 2016 Shota Saito

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.


*Note that all licence references and agreements mentioned in the TriangleLabelView README section above are relevant to that project's source code only.