All Projects β†’ SimformSolutionsPvtLtd β†’ Sscustomedittextoutlineborder

SimformSolutionsPvtLtd / Sscustomedittextoutlineborder

Licence: apache-2.0
Same as an Outlined text fields presented in Material Design page but with some dynamic changes

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Sscustomedittextoutlineborder

Material Singleinputform
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform
Stars: ✭ 202 (+69.75%)
Mutual labels:  material-design, edittext
Drooltip.js
πŸ”₯ πŸ’¦ Minimalistic, powerful and extensible Vanilla JS tooltip library
Stars: ✭ 129 (+8.4%)
Mutual labels:  material-design, custom
Textfieldboxes
Material Design text field that comes in a box, based on (OLD) Google Material Design guidelines.
Stars: ✭ 760 (+538.66%)
Mutual labels:  material-design, edittext
Dynamic Toasts
Custom toasts with color and icon for Android.
Stars: ✭ 132 (+10.92%)
Mutual labels:  material-design, custom
Viewtooltip
A fluent tooltip for Android
Stars: ✭ 1,029 (+764.71%)
Mutual labels:  custom, edittext
Mdl Ext
Material Design Lite Ext: Components built with Google Material Design Lite framework. http://leifoolsen.github.io/mdl-ext/
Stars: ✭ 112 (-5.88%)
Mutual labels:  material-design
Folding Cell
πŸ“ƒ FoldingCell is an expanding content cell with animation made by @Ramotion
Stars: ✭ 10,035 (+8332.77%)
Mutual labels:  material-design
Voice
Minimalistic audiobook player
Stars: ✭ 1,559 (+1210.08%)
Mutual labels:  material-design
Android Complexify
An Android library which makes checking the quality of user's password a breeze.
Stars: ✭ 111 (-6.72%)
Mutual labels:  edittext
Servicestackvs
ServiceStackVS - Visual Studio extension for ServiceStack
Stars: ✭ 117 (-1.68%)
Mutual labels:  material-design
Mato
Mato - Icon pack for Linux
Stars: ✭ 117 (-1.68%)
Mutual labels:  material-design
Material Upvote
Material Upvote Animationβ€Š Implementation of UI Concept by Jan Kuijken
Stars: ✭ 116 (-2.52%)
Mutual labels:  material-design
Material Palette Generator
🎨 Get perfect Material Design color palettes from any hex color.
Stars: ✭ 114 (-4.2%)
Mutual labels:  material-design
Flutter Movies4u
Movies4u app UI is simple enough to use and the app is a fun way to get an overview of your movie experience. This repo created with help of awesome UI, material Design and latest feature. this repo contain major feature like : dark theme.
Stars: ✭ 116 (-2.52%)
Mutual labels:  material-design
Pretty Swag
Pretty UI for Swagger spec
Stars: ✭ 112 (-5.88%)
Mutual labels:  material-design
Brainphaser
Android Quiz App (Spaced Repetition) made with Material Design; features categories, statistics and different question modes
Stars: ✭ 117 (-1.68%)
Mutual labels:  material-design
Smart Webcomponents
Web Components & Custom Elements for Professional Web Applications
Stars: ✭ 110 (-7.56%)
Mutual labels:  material-design
Materialcomponent.banner
Material component for Android: Banner
Stars: ✭ 115 (-3.36%)
Mutual labels:  material-design
Validator
A tool to validate text inside TextInputLayout
Stars: ✭ 117 (-1.68%)
Mutual labels:  edittext
Teammate Android
A Team Management app for creating tournaments and games for various sports
Stars: ✭ 116 (-2.52%)
Mutual labels:  material-design

README

SSCustomEditTextOutlineBorder

Kotlin Version Platform API

Getting Started

SSCustomEditTextOutLineBorder is a small kotlin library for android to support outlined (stroked) text in EditText widgets same as Material Design Outlined Box but without Floating Label.

The actual features are:

  • Outlined text fields with a label which have custom-built text, color, errorColor and backgroundColor.
  • Outlined box border has customizable color and errorColor.
  • EditText with custom-made backgroundColor, hint text, max-min line, max length.
  • Error color customized with error enabled or not.

Demo


demo_data

Gradle Dependency

  • Add the JitPack repository to your project's build.gradle file
allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}
  • Add the dependency in your app's build.gradle file
dependencies {
	implementation 'com.github.simformsolutions:SSCustomEditTextOutLineBorder:1.0.9'
}

All Attributes


Attribute Description Default
app:isErrorEnable Whether the EditText error is enabled false
app:custom_component_title Set Outlined border title text R.string.app_name
app:custom_component_editText_hint Set EditText hint R.string.app_name
app:custom_component_maxline Set maximum height of the EditText 1
app:custom_component_minline Set minimum height of the EditText 1
app:custom_component_title_color Set Outlined title color #666666
app:custom_component_title_error_color Set Outlined title error color #f15454
app:custom_component_border_color Set Outlined border color #979797
app:custom_component_border_error_color Set Outlined border error color #f15454
app:custom_component_title_bg_color Set Outlined border title background color R.color.colorPrimary
app:custom_component_editText_bg_color Set EditText background color R.color.colorPrimary
app:custom_component_maxLength Set EditText maxLength 99
android:inputType Set EditText inputType EditorInfo.TYPE_TEXT_VARIATION_NORMAL
app:custom_component_border_width Set Outlined border width 1

Usage


<com.simform.customcomponent.SSCustomEdittextOutlinedBorder
            android:id="@+id/edtAbout"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/_10sdp"
            android:inputType="textMultiLine|textCapSentences"
            app:custom_component_editText_hint="@string/edt_hint_about"
            app:custom_component_maxline="3"
            app:custom_component_minline="3"
            app:custom_component_maxLength="25"
            app:errorTextValue="errorText"
            app:isErrorEnable="false"
            app:custom_component_title_color="@color/color_brownish_grey_two"
            app:custom_component_title_error_color="@color/color_error"
            app:custom_component_border_color="@color/color_warm_grey"
            app:custom_component_border_error_color="@color/color_error"
            app:custom_component_title="@string/edt_title_about"
            app:layout_constraintEnd_toEndOf="@+id/edtPassword"
            app:layout_constraintStart_toStartOf="@+id/edtPassword"
            app:layout_constraintTop_toBottomOf="@+id/edtPassword"
            app:textValue="aboutText"/>

Find this library useful? ❀️

Support it by joining stargazers for this repository. ⭐️

License

Copyright 2020 Simform Solutions

   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 the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].