android-drawable

    120热度

    13回答

    我想弄清楚如何定义一个垂直线(1dp厚)作为drawable使用。 要进行水平之一,这是非常简单的: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:width="1dp" android:color="#0000FF"/>

    -1热度

    1回答

    我必须重复使用Thread和AnimationDrawable的图像序列,但它不能连续工作。我不想停止这个动画,直到下一个活动通过按钮点击事件开始。 这里是我的Java代码: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);{ final ImageView sp

    267热度

    14回答

    是否可以为我们添加的图像设置边距或边距android:drawableLeft?

    208热度

    5回答

    Android SDK通过android.R.drawable.X提供标准菜单图标。但是,android.R中缺少一些标准图标,例如ic_menu_refresh(刷新图标)。 有没有什么办法可以从应用程序中提取原始图标?我已经检查过Android源代码,但是看起来太大了,无法随处查看图像。 我知道Android Drawables网站,但我想,以获得正确华电国际,MDPI和LDPI版本,最好原有