【发布时间】:2016-02-16 01:20:18
【问题描述】:
对不起,我是java/android的初学者,也许这个问题太糟糕了。
我想在启动画面中显示我的图标,但如果我使用 ic_launcher,它的尺寸太小了。 (192x192)
当我从新图像资产生成 ic_launcher 时,它会在 "app\src\main\ic_launcher-web.png" 中生成大小为 512x512 的图像
我可以显示该图像吗?
我想我可以将@mipmap/ic_launcher 更改为某个路径/图像位置。所以,我不需要将我的图像复制到 drawable/mipmap 目录。
<ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:adjustViewBounds="true" android:scaleType="fitCenter" android:src="@mipmap/ic_launcher" />
我一直在寻找它并没有找到它。 感谢帮助
【问题讨论】: