santhosh5
2/24/2018 - 5:32 AM

How to put ....... in text view

width should always be less than the maxLength and single line should be mandatory

  <TextView
            android:id="@+id/textViewlat"
            android:layout_width="100dp"
            android:layout_height="wrap_content"
            android:layout_marginLeft="36dp"
            android:layout_marginTop="8dp"
            android:background="@drawable/review_text2_bg"
            android:maxLength="16"
            android:foregroundGravity="center"
            android:padding="5dp"
            android:singleLine="true"
            android:text="489789478948978977"
            android:textColor="@android:color/white"
            android:textStyle="bold"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintTop_toBottomOf="@+id/textView13"/>