Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ZkHaider opened this issue Jun 1, 2016 · 2 comments

Comments

@ZkHaider
Copy link

ZkHaider commented Jun 1, 2016

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.

@pishguy
Copy link

pishguy commented Jan 9, 2017

@ZkHaider hi, could you develop this part of your means?

@varun-manjunath
Copy link

varun-manjunath commented Jul 6, 2019

Hey everyone, if you're looking to "park your text" in the beginning of the EditText, check out this fork from user "foxsake"! Just tried it out, works very well! Saved me the effort of modifying the source for the same feature, open source community yay!!! :)

Once you use that repository, use this in your layout:

<com.goka.parkedtextview.ParkedTextView

    android:id="@+id/front_parked_edit_text"

    android:layout_width="match_parent"

    android:layout_height="wrap_content"

    android:background="@android:color/transparent"

    android:inputType="text"

    android:focusableInTouchMode="true"

    app:parkedInFront="true"

    app:parkedTextBold="true"

    app:parkedTextColor="#FFFFFF"

    app:parkedText="pika"

    app:parkedHint="chuuuuuuu"

    app:parkedHintColor="#456a62" />

Have fun! :D

@varun-manjunath varun-manjunath mentioned this issue Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants