Skip to content

Instantly share code, notes, and snippets.

@ChiaraHsieh
Last active January 3, 2016 02:09
Show Gist options
  • Save ChiaraHsieh/8394241 to your computer and use it in GitHub Desktop.
Save ChiaraHsieh/8394241 to your computer and use it in GitHub Desktop.
Android built-in icon usage
ImageView myImg = (ImageView) convertView.findViewById(R.id.myimage);
myImg.setImageResource(android.R.drawable.rate_star_big_on);
<ImageView
android:id="@+id/group_img"
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@android:drawable/rate_star_big_on"
/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment