tags:

views:

31

answers:

2

Hi,

Can you please tell me how can I use android's icon expander_ic_maximized? I find that in frameworks/base/core/res/res/drawable-hdpi/expanderic_minimized.9.png

Here is my layout xml file:

<ImageView android:id="@+id/icon"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/expander_ic_minimized">

But I get this error:

res/layout/test.xml:70: error: Error: Resource is not public. (at 'src' with value '@android:drawable/expander_ic_maximized').
A: 

Maybe just download and include it in your project

get it from expander_ic_maximized.9.png by clicking the View raw file link

Pentium10
A: 

According to this thread, you will have to manually copy that icon into your project and use it from there.

Cristian