A editable text with a constant text/placeholder for Android.

Overview

ParkedTextView

A EditText with a constant text in the end.

How to use

<com.goka.parkedtextview.ParkedTextView
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/parked_text_view"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@android:color/transparent"
    android:layout_centerInParent="true"
    android:textSize="24sp"
    app:parkedText=".slack.com"
    app:parkedHint="yourteam"
    app:parkedTextColor="FFFFFF"
    app:parkedHintColor="CCCCCC"
    app:parkedTextBold="true"
    />

Gradle

Coming soon.

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.goka.parkedtextview:parkedtextview:1.0.0'
}

Release

1.0.0 First release.

Reference

ParkedTextField for iOS

You might also like...
This is based on an open source autosizing textview for Android.

SizeAdjustingTextView This is based on an open source autosizing textview for Android I found a few weeks ago. The initial approach didn't resize mult

Android Library to make it easy to create CodeEditor or IDE that support any languages and themes
Android Library to make it easy to create CodeEditor or IDE that support any languages and themes

CodeView Android Library to make it easy to create your CodeEditor or IDE for any programming language even for your programming language, just config

A editable text with a constant text/placeholder for Android.
A editable text with a constant text/placeholder for Android.

ParkedTextView A EditText with a constant text in the end. How to use com.goka.parkedtextview.ParkedTextView xmlns:app="http://schemas.android.co

Short example displaying an editable list

MVVM Profiles list App displaying a list of profiles with the ability to add, remove and edit each one Project characteristics 100% Kotlin MVVM Flow A

A IntelliJ plugin to provide check on 'value type' which is limited to numerical constant values

ValueType A IntelliJ plugin to provide check on 'value type' which is limited to

A IntelliJ plugin to provide check on 'value type' which is limited to numerical constant values

ValueDef A IntelliJ plugin to provide check on 'value type' which is limited to

Custom Android view with video player, loader and placeholder image
Custom Android view with video player, loader and placeholder image

VideoPlayerView Custom Android view with video player, loader and placeholder image. To stay up-to-date with news about the library Usage Here is an e

An elegant context-care loading placeholder for Android
An elegant context-care loading placeholder for Android

FiftyShadesOf An elegant context-care loading placeholder for Android Usage FiftyShadesOf.with(context) .on(view1, view2, view3)

🌲BlurHash - a compact representation of a placeholder for an image
🌲BlurHash - a compact representation of a placeholder for an image

BlurHash is a compact representation of a placeholder for an image. Backdrop uses Glide and coroutines to show blured placeholder while image is loading.

A library that gives full control over text related technologies such as bidirectional algorithm, open type shaping, text typesetting and text rendering
A library that gives full control over text related technologies such as bidirectional algorithm, open type shaping, text typesetting and text rendering

Tehreer-Android Tehreer is a library which gives full control over following text related technologies. Bidirectional Algorithm OpenType Shaping Engin

Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mic)
Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mic)

Speech-Text Converter About Speech-Text Converter is a simple task that enable the user to convert the speech to text or convert text to speech (by Mi

RTL marquee text view android right to left moving text - persian - farsi - arabic - urdo
RTL marquee text view android right to left moving text - persian - farsi - arabic - urdo

RTL marquee text view android right to left moving text - persian - farsi - arabic - urdo

Jetpack Compose Text composable to show html text from resources
Jetpack Compose Text composable to show html text from resources

HtmlText Current Compose Version: 1.0.3 Compose HtmlText Text composable to show html text from resources Add to your project Add actual HtmlText libr

Pdf Reader: Read text in PDF with Text to Speech
Pdf Reader: Read text in PDF with Text to Speech

PDF Reader PDF Reader Read text in PDF with Text to Speech APK Link Here | App D

Expandable text, similar to Text() in Jetpack Compose
Expandable text, similar to Text() in Jetpack Compose

A small library to display expandable texts in Jetpack Compose.

A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out

FabricView - A new canvas drawing library for Android. The library was born as part of a project in SD Hacks (www.sdhacks.io) on October 3rd. It is cu

MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.
MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.

About MarkdownView (Markdown For Android) is an Android library that helps you display Markdown text or files (local/remote) as formatted HTML, and st

RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android.
RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android.

RichEditor for Android is a beautiful Rich Text WYSIWYG Editor for Android. Looking for iOS? Check out cjwirth/RichEditorView Supported Functions Bold

MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.
MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.

MarkdownView is an Android webview with the capablity of loading Markdown text or file and display it as HTML, it uses MarkdownJ and extends Android webview.

Comments
  • Question

    Question

    Hi. Can I set parkedHint before text but not after like in example? For example I want to use it like country phone code holder: +1(is parkedHint) 0000000(editable number).

    opened by desugar-64 5
  • Compilation Error from app.gradle

    Compilation Error from app.gradle

    Getting error on compilation from Gradle Could not find com.github.goka.parkedtextview:parkedtextview:1.0.0. Required by: project :app Search in build.gradle files

    app.gradle

    apply plugin: 'com.android.application'
    apply plugin: 'com.google.gms.google-services'
    
    android {
        compileSdkVersion 29
        buildToolsVersion "29.0.2"
        defaultConfig {
            applicationId "com.bh.gras"
            minSdkVersion 16
            targetSdkVersion 29
            versionCode 1
            versionName "1.0"
            testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
            multiDexEnabled true
            vectorDrawables.useSupportLibrary = true
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
            }
        }
    }
    
    dependencies {
        implementation fileTree(dir: 'libs', include: ['*.jar'])
        implementation 'androidx.multidex:multidex:2.0.1'
    
        // google support library ---------------------------------------------------------------------
        implementation 'androidx.appcompat:appcompat:1.1.0'
        implementation 'com.google.android.material:material:1.0.0'
        implementation 'androidx.cardview:cardview:1.0.0'
        implementation 'androidx.recyclerview:recyclerview:1.1.0'
        implementation 'androidx.legacy:legacy-support-v13:1.0.0'
        implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
        implementation 'androidx.vectordrawable:vectordrawable:1.1.0'
        implementation 'com.google.firebase:firebase-auth:19.2.0'
    
        // google maps library ------------------------------------------------------------------------
        implementation 'com.google.android.gms:play-services-maps:17.0.0'
        implementation('com.google.android.libraries.places:places:1.0.0') {
            exclude module: 'glide'
        }
    
        // google gson --------------------------------------------------------------------------------
        implementation 'com.google.code.gson:gson:2.8.4'
    
        // third party dependencies -------------------------------------------------------------------
        implementation 'com.balysv:material-ripple:1.0.2'                  // ripple effect
        implementation 'com.github.bumptech.glide:glide:3.7.0'             // image loader
        implementation 'com.wdullaer:materialdatetimepicker:3.2.0'         // date & time picker
        implementation 'com.mikhaellopez:circularimageview:3.2.0'          // circle image view
        implementation 'com.github.goka.parkedtextview:parkedtextview:1.0.0' // ParkedTextView 
    
    }
    

    Build.gradle

    // Top-level build file where you can add configuration options common to all sub-projects/modules.
    
    buildscript {
        repositories {
            google()
            jcenter()
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:3.5.3'
            classpath 'com.google.gms:google-services:4.3.3'
    
            // NOTE: Do not place your application dependencies here; they belong
            // in the individual module build.gradle files
        }
    }
    
    allprojects {
        repositories {
            google()
            jcenter()
        }
    }
    
    task clean(type: Delete) {
        delete rootProject.buildDir
    }
    
    opened by RonEskinder 0
  • Allow the parked text to be placeable in different parts of a textview

    Allow the parked text to be placeable in different parts of a textview

    This is more of an enhancement but I wouldn't mind working on a feature for this library where we can put the placeholder text in different parts of the textview instead of just at the beginning.

    opened by ZkHaider 2
Owner
goka
goka
A TextView that automatically resizes text to fit perfectly within its bounds.

AutoFitTextView A TextView that automatically resizes text to fit perfectly within its bounds. Usage dependencies { compile 'me.grantland:autofitt

Grantland Chew 4.2k Jan 8, 2023
Floating hint from edit text - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

Float Labeled EditText Simple implementation of a Float Labeled EditText: An Android ViewGroup which uses a child EditText and puts the hint on top of

Wrapp Archive 1.1k Nov 14, 2022
A periodic text updating library

RotatingText Rotating text is an Android library that can be used to make text switching painless and beautiful, with the use of interpolators, typefa

Mobile Development Group 1.6k Dec 30, 2022
A different beautiful Floating Edit Text

MaterialTextField A different beautiful Floating Edit Text Usage Surround your EditText by a MaterialTextField <com.github.florent37.materialtextfield

Florent CHAMPIGNY 1.5k Nov 11, 2022
() An Android TextView with a shimmering effect

Shimmer for Android This library is DEPRECATED, as I don't have time to mainatin it anymore. But feel free to go through the code and copy that into y

Romain Piel 2k Jan 9, 2023
An easy, flexible way to add a shimmering effect to any view in an Android app.

Shimmer for Android Shimmer is an Android library that provides an easy way to add a shimmer effect to any view in your Android app. It is useful as a

Facebook 5.1k Dec 31, 2022
() Android experiment showing a sinking TextView

Titanic for Android This library is DEPRECATED, as I don't have time to mainatin it anymore. But feel free to go through the code and copy that into y

Romain Piel 1.8k Dec 15, 2022
RoundedLetterView like the one in Android 5.0 Contacts app

RoundedLetterView RoundedLetterView like the one in Android 5.0 Contacts app Attributes to choose from: rlv_titleText - The text in the first row. rlv

Pavlos-Petros Tournaris 653 Nov 11, 2022
Android's TextView that can expand/collapse like the Google Play's app description

ExpandableTextView ExpandableTextView is an Android library that allows developers to easily create an TextView which can expand/collapse just like th

Manabu S. 4k Jan 8, 2023