you can try this, add new drawable
my_shape.xml
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<solid android:color="#ffffff" />
<stroke
android:width="1dp"
android:color="#ccc" />
</shape>
and add this to your customized view:
<TextView
android:id="@+id/my_letter"
android:textColor="#26ae90"
android:textSize="50dp"
android:text="A"
android:textAlignment="center"
android:layout_width="60dp"
android:layout_height="60dp"
android:background="@drawable/my_shape"/>
then use this code at your getview() methode of the adapter
my_letter.setText(String.valueOf(name.getText().toString().charAt(0));