All Projects → herou → CustomEditText

herou / CustomEditText

Licence: other
Simple Custom EditText for Android like Instagram

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to CustomEditText

RotatableAutofitEditText
Extended EditText which allows to move, rotate and resize text at the same time
Stars: ✭ 51 (+121.74%)
Mutual labels:  edittext, customview
Codeeditor
Code Editor Native Way
Stars: ✭ 155 (+573.91%)
Mutual labels:  edittext, customview
SuperShapeView
A smart custom view support shapes for ImageView, TextView ,EditView ,instead of shape.xml.(自定义形状控件,支持TextView,EditText)
Stars: ✭ 60 (+160.87%)
Mutual labels:  edittext, customview
css-layout
旨在肖除混乱的CSS布局教程
Stars: ✭ 18 (-21.74%)
Mutual labels:  layout
TagEditText
A simple Android Tag EditText
Stars: ✭ 14 (-39.13%)
Mutual labels:  edittext
Xampane
Xamarin Forms Layouts Library
Stars: ✭ 29 (+26.09%)
Mutual labels:  layout
vw-layout
Mobile website layout with viewport units
Stars: ✭ 47 (+104.35%)
Mutual labels:  layout
periodic-table
Interactive Periodic Table which I made with React.js and CSS Grid. I was trying to memorize all the elements and thought, hey can I make this peculiar layout with my current CSS skills? I finally did
Stars: ✭ 92 (+300%)
Mutual labels:  layout
ci4-album
🔥 CodeIgniter 4 example Album module uses Domain Driven Design Architecture with Tactical Pattern
Stars: ✭ 67 (+191.3%)
Mutual labels:  layout
EZAnchor
An easier and faster way to code Autolayout
Stars: ✭ 25 (+8.7%)
Mutual labels:  layout
vue-smart-widget
🗃️Smart widget is a flexible and extensible content container component for Vue2.x / Vue3.x in Next branch.
Stars: ✭ 110 (+378.26%)
Mutual labels:  layout
FastBanner
🔥快速轮播图,支持自定义布局和使用自有图片显示组件
Stars: ✭ 27 (+17.39%)
Mutual labels:  layout
SJCenterFlowLayout
Carousel flow layout for UICollectionView on iOS.
Stars: ✭ 34 (+47.83%)
Mutual labels:  layout
AndroidJoyStickView
This library lets you create joystick with some customization for android
Stars: ✭ 45 (+95.65%)
Mutual labels:  customview
JQFlowView
卡片式无限自动轮播图 ,无限/自动轮播,可自定义非当前显示view缩放和透明的特效等;喜欢❤️就star一下吧!
Stars: ✭ 24 (+4.35%)
Mutual labels:  customview
LG LinesEditView
Android 多行文本输入框 字数统计 限制字数
Stars: ✭ 31 (+34.78%)
Mutual labels:  edittext
components
Easily develop emails with email-ready components.
Stars: ✭ 18 (-21.74%)
Mutual labels:  layout
ErrorLayout
Simple layout to show custom error toast with animation
Stars: ✭ 13 (-43.48%)
Mutual labels:  layout
textmatcher
A simple text watcher that matches specific targets like mention or hashtag in a string by defining rules
Stars: ✭ 67 (+191.3%)
Mutual labels:  edittext
razcal
Build cross platform desktop app with Lua, MoonScript, and Layout Language
Stars: ✭ 15 (-34.78%)
Mutual labels:  layout

Android Arsenal

Custom EditText

Simple Custom EditText for Android

Intro

Usage

Add EditText to your layout via XML

<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:id="@+id/transitions_container"
    tools:context="com.example.eljo.customedittext.MainActivity">

    <com.example.eljo.customedittext.EljoPriftiEditText
        android:id="@+id/edt_rounded"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dp"
        android:layout_marginEnd="8dp"
        android:layout_marginStart="8dp"
        android:layout_marginTop="8dp"
        android:background="@drawable/rounded_edittext"
        android:hint="@string/rounded_editext"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_bias="0.391" />

    <com.example.eljo.customedittext.EljoPriftiEditText
        android:id="@+id/edt_rectangle"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dp"
        android:layout_marginEnd="8dp"
        android:layout_marginStart="8dp"
        android:layout_marginTop="8dp"
        android:background="@drawable/rectangle_editext"
        android:hint="@string/rectangle_editext"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_bias="0.573" />


    <com.example.eljo.customedittext.EljoPriftiEditText
        android:id="@+id/edt_bottomLine"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginBottom="8dp"
        android:layout_marginEnd="8dp"
        android:layout_marginStart="8dp"
        android:layout_marginTop="8dp"
        android:text="@string/bottom_line"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="0.466"
        app:layout_constraintLeft_toLeftOf="parent"
        app:layout_constraintRight_toRightOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:layout_constraintVertical_bias="0.158" />

</android.support.constraint.ConstraintLayout>


Add EditText to your layout programatically

public class MainActivity extends AppCompatActivity {

    EljoPriftiEditText edt_rounded;
    EljoPriftiEditText edt_rectangle;
    EljoPriftiEditText edt_bottomLine;

    ViewGroup transitionsContainer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        transitionsContainer = findViewById(R.id.transitions_container);
        edt_rounded = findViewById(R.id.edt_rounded);
        edt_rectangle = findViewById(R.id.edt_rectangle);
        edt_bottomLine = findViewById(R.id.edt_bottomLine);

        edt_rounded.init(edt_rounded,transitionsContainer,200,30,250,60);
        edt_rectangle.init(edt_rectangle,transitionsContainer,200,30,250,30);
        edt_bottomLine.init(edt_bottomLine,transitionsContainer,200,30,250,50);

    }
}

Download

Jitpack :

allprojects {
    repositories {
        google()
        jcenter()
        maven { url 'https://jitpack.io' }
    }
}

Grandle :

dependencies {
    implementation 'com.github.herou:CustomEditText:1.0'
}
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].