在动作条的应用程序标识出现在平板电脑大VS电话 [英] App logo in actionbar appears larger on tablet vs phone

查看:238
本文介绍了在动作条的应用程序标识出现在平板电脑大VS电话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法弄清楚为什么我在动作条的应用程序的标志出现在一个的Nexus 7大VS承上启下5.我使用了支持库的动作条。他们俩都运行的是Android 4.2.2

I'm having trouble figuring out why my app logo in the actionbar appears larger on a nexus 7 vs a nexus 5. I'm using the actionbar in the support library. They're both running android 4.2.2

Nexus 5的(好)

Nexus 5 (good)

的Nexus 7(坏)

Nexus 7 (bad)

下面是徽标图像资源

我能做些什么来解决?

推荐答案

由于devices.You不同层面的问题可以解决它通过改变你的两个不同dpi.xhdpi映像的Nexus 7的1920分辨率在X 1200像素rate.xxhdpi为Nexus 5的1080点¯x1920像素率的分辨率下。

The problem because of different dimension of the devices.You can fix it by alter your images for two different dpi.xhdpi for nexus 7 under the resolution of 1920 x 1200 pixels rate.xxhdpi for nexus 5 under the resolution of 1080 x 1920 pixels rate.

这篇关于在动作条的应用程序标识出现在平板电脑大VS电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆