You can use RealtiveLayout as follows.
<RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center_horizontal" android:orientation="vertical" ... > <ImageView android:id="@+id/imageView" android:layout_width="wrap_content" android:layout_height="wrap_content" ... /> <TextView android:layout_below="@+id/imageView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerHorizontal="true" /> </RelativeLayout>
If you want your text view to have only one line, add the following properties to the TextView
Android: ellipsezed = "end" android: SingleLine = "true"
Use this layout and add it to any existing layout that you get the result you are looking for.
Hope this explanation works for you.
source share