Skip to content

[AutoCompleteTextView] Dropdown selections cut off  #4026

Open
@gattigcg

Description

@gattigcg

In my dropdown selections, if the text is long and it needs to exceed 1 line, it just cuts the text.

image

Pixel 4XL.

My selection layout is:

<?xml version="1.0" encoding="utf-8"?>
<TextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:tools="http://schemas.android.com/tools"
    android:padding="@dimen/_14sdp"
    tools:text="Stuffasjdkasdhkjashdjkasdhkajsdhkjsadhkajsdhkasjdhjksadkadhkajsdhjhkhkjhajksdhjkaajshdjas"
    xmlns:android="http://schemas.android.com/apk/res/android"></TextView>

I have tried adding various things like

android:singleLine="false" android:maxLines=3 etc...
Nothing seems to be working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions