A simple textview with custom background to provide additional information.
Add JitPack repository below to your module's build.gradle file:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency, you can see the latest releases here
dependencies {
implementation 'com.github.Pakis-Interactive-Studio:Tebel:[latest_release]'
}
Simply include in your layout:
<com.pakisinteractive.tebel.TebelAV
android:id="@+id/tvNeutral"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Neutral"
app:variant="neutral" />
Properties | Description |
---|---|
android:text | Text of Tebel |
android:textColor | Color of Tebel text |
textAppearance | Text appearance style of Tebel text |
variant | Predefined variant of Tebel [neutral,warning,error,success] |
radius | Corner radius of Tebel [small,large,round] |
Please fork this repository and contribute back using pull requests. Any contributions, large or small, major features, bug fixes, are welcomed and appreciated
Star ⭐ this project or follow our github it motivates us to share more open source projects
If this project help you reduce time to develop, you can give us a cup of coffee ☕ or sawer us
Copyright 2022 Pakis Interactive
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
https://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.