android custom user interface

make changes in your code as follows <ImageView android:layout_gravity=”center” android:id=”@+id/iv_avatar” android:layout_width=”80dp” android:layout_height=”80dp” android:contentDescription=”@string/app_name” android:src=”https://codeutility.org/@mipmap/ic_launcher” android:scaleType=”fitCenter”/> <LinearLayout android:gravity=”center” android:id=”@+id/ll_winner_label” android:layout_width=”match_parent” android:layout_height=”wrap_content” …

Read more