我正在按照这里给出的答案Array of images stacked next to each other, using LayerDrawable.(Displaying multiple image in single imageview) 。我的图像是38x38大小。 这是我的代码: Drawable[] layers = new Drawable[2];
layers[0]=cActi
我正尝试用这篇文章为android应用程序创建初始屏幕:Splash Screens the Right Way。正如文章所说,我创建了具有两层的LayerDrawable:背景位图和徽标(也是位图)。例如,徽标需要位于屏幕底部,缩进32dp。这里我绘制: <item
android:drawable="@drawable/splash_image" />
<item
an