How do I make EditText show my text input?












0















I created a login screen with textinput, but I noticed that whenever I entered a character into the editText, it wouldn't show the letters I typed in. I'd greatly appreciate if you helped me with this.



My EditText code:



<EditText
android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:alpha="0.23"
android:background="@drawable/textviewshape"
android:ems="10"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.709"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnLogin"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.427" />









share|improve this question

























  • Try changing the background of your app or the text color.

    – PradyumanDixit
    Nov 25 '18 at 8:03
















0















I created a login screen with textinput, but I noticed that whenever I entered a character into the editText, it wouldn't show the letters I typed in. I'd greatly appreciate if you helped me with this.



My EditText code:



<EditText
android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:alpha="0.23"
android:background="@drawable/textviewshape"
android:ems="10"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.709"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnLogin"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.427" />









share|improve this question

























  • Try changing the background of your app or the text color.

    – PradyumanDixit
    Nov 25 '18 at 8:03














0












0








0








I created a login screen with textinput, but I noticed that whenever I entered a character into the editText, it wouldn't show the letters I typed in. I'd greatly appreciate if you helped me with this.



My EditText code:



<EditText
android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:alpha="0.23"
android:background="@drawable/textviewshape"
android:ems="10"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.709"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnLogin"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.427" />









share|improve this question
















I created a login screen with textinput, but I noticed that whenever I entered a character into the editText, it wouldn't show the letters I typed in. I'd greatly appreciate if you helped me with this.



My EditText code:



<EditText
android:id="@+id/editText"
android:layout_width="wrap_content"
android:layout_height="44dp"
android:layout_marginBottom="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:alpha="0.23"
android:background="@drawable/textviewshape"
android:ems="10"
android:inputType="textPersonName"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.709"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnLogin"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.427" />






java android android-studio android-layout






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 25 '18 at 8:03









PradyumanDixit

2,1872819




2,1872819










asked Nov 25 '18 at 7:54









John GreenJohn Green

31




31













  • Try changing the background of your app or the text color.

    – PradyumanDixit
    Nov 25 '18 at 8:03



















  • Try changing the background of your app or the text color.

    – PradyumanDixit
    Nov 25 '18 at 8:03

















Try changing the background of your app or the text color.

– PradyumanDixit
Nov 25 '18 at 8:03





Try changing the background of your app or the text color.

– PradyumanDixit
Nov 25 '18 at 8:03












4 Answers
4






active

oldest

votes


















0














Try changing the color and size of your text.






share|improve this answer
























  • Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01











  • Upvote if it helped u thanks.

    – Manish Thapa
    Nov 26 '18 at 6:15



















0














you can give android:textColor="" which clearly see on background color
which you has given in
android:background="@drawable/textviewshape"






share|improve this answer
























  • Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01



















0














Why did you set this attribute:



android:alpha="0.23"


this will make the text unreadable.

Remove it and if the problem persists try a different textColor.






share|improve this answer
























  • Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01



















0














Try to change EditText properties android:textColor to black or try remove backgrounds.






share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53465640%2fhow-do-i-make-edittext-show-my-text-input%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try changing the color and size of your text.






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01











    • Upvote if it helped u thanks.

      – Manish Thapa
      Nov 26 '18 at 6:15
















    0














    Try changing the color and size of your text.






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01











    • Upvote if it helped u thanks.

      – Manish Thapa
      Nov 26 '18 at 6:15














    0












    0








    0







    Try changing the color and size of your text.






    share|improve this answer













    Try changing the color and size of your text.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 25 '18 at 10:26









    Manish ThapaManish Thapa

    648




    648













    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01











    • Upvote if it helped u thanks.

      – Manish Thapa
      Nov 26 '18 at 6:15



















    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01











    • Upvote if it helped u thanks.

      – Manish Thapa
      Nov 26 '18 at 6:15

















    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01





    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01













    Upvote if it helped u thanks.

    – Manish Thapa
    Nov 26 '18 at 6:15





    Upvote if it helped u thanks.

    – Manish Thapa
    Nov 26 '18 at 6:15













    0














    you can give android:textColor="" which clearly see on background color
    which you has given in
    android:background="@drawable/textviewshape"






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01
















    0














    you can give android:textColor="" which clearly see on background color
    which you has given in
    android:background="@drawable/textviewshape"






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01














    0












    0








    0







    you can give android:textColor="" which clearly see on background color
    which you has given in
    android:background="@drawable/textviewshape"






    share|improve this answer













    you can give android:textColor="" which clearly see on background color
    which you has given in
    android:background="@drawable/textviewshape"







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 25 '18 at 9:15









    madu_devmadu_dev

    593




    593













    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01



















    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01

















    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01





    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01











    0














    Why did you set this attribute:



    android:alpha="0.23"


    this will make the text unreadable.

    Remove it and if the problem persists try a different textColor.






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01
















    0














    Why did you set this attribute:



    android:alpha="0.23"


    this will make the text unreadable.

    Remove it and if the problem persists try a different textColor.






    share|improve this answer
























    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01














    0












    0








    0







    Why did you set this attribute:



    android:alpha="0.23"


    this will make the text unreadable.

    Remove it and if the problem persists try a different textColor.






    share|improve this answer













    Why did you set this attribute:



    android:alpha="0.23"


    this will make the text unreadable.

    Remove it and if the problem persists try a different textColor.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 25 '18 at 9:22









    forpasforpas

    16.3k3627




    16.3k3627













    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01



















    • Thank you so much! I changed my text color to black and everything worked out:).

      – John Green
      Nov 25 '18 at 18:01

















    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01





    Thank you so much! I changed my text color to black and everything worked out:).

    – John Green
    Nov 25 '18 at 18:01











    0














    Try to change EditText properties android:textColor to black or try remove backgrounds.






    share|improve this answer






























      0














      Try to change EditText properties android:textColor to black or try remove backgrounds.






      share|improve this answer




























        0












        0








        0







        Try to change EditText properties android:textColor to black or try remove backgrounds.






        share|improve this answer















        Try to change EditText properties android:textColor to black or try remove backgrounds.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 25 '18 at 10:23









        bobbyrne01

        2,21064394




        2,21064394










        answered Nov 25 '18 at 8:00









        Hard Harry NadelaHard Harry Nadela

        94




        94






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53465640%2fhow-do-i-make-edittext-show-my-text-input%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tonle Sap (See)

            I get strange results when I access the Sqlitedatabase with Unity C# via XAMPP

            Guatemaltekische Davis-Cup-Mannschaft