Standard Android menu icons, for example refresh [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 8 years ago. Improve this question The Android SDK offers the standard menu icons via android.R.drawable.X. However, some standard icons, such as ic_menu_refresh (the refresh icon), are missing from … Read more

Programmatically set left drawable in a TextView

I have a textView in xml here. <TextView android:id=”@+id/bookTitle” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:layout_weight=”1″ android:drawableLeft=”@drawable/checkmark” android:gravity=”center_vertical” android:textStyle=”bold” android:textSize=”24dip” android:maxLines=”1″ android:ellipsize=”end”/> As you can see I set the DrawableLeft in xml. I would like to change the drawable in code. Is there anyway to go about doing this? Or setting the drawableLeft in code for the text view? … Read more

Mipmaps vs. drawable folders [duplicate]

This question already has answers here: Mipmap drawables for icons (12 answers) Closed 7 years ago. I’m working with Android Studio 1.1 Preview 1. I noticed that when I create a new project I’m getting the following hierarchy: Mipmap folders for different DPIs, no more different DPIs drawable folders. Should I put all my resources … Read more