【问题标题】:Samsung Galaxy Tab 1 layout problems三星 Galaxy Tab 1 布局问题
【发布时间】:2012-06-10 04:29:48
【问题描述】:

我在 Galaxy tab original 7" 上运行我的应用程序时遇到问题。它似乎使所有内容都变大了 1.5 倍,即如果我在布局中为 textSize 指定 40dip,当我运行它时它将显示为 60 dip在平板电脑上。

我尝试弄乱显示指标并将密度和密度Dpi 更改为 1。(当我在 Galaxy 选项卡 2 中运行显示指标的 toString 时,它们都是 1,而 Galaxy 选项卡 1 的值为 1.5 )

该应用在我测试过的每部手机以及 Galaxy tab 2 上都运行良好,所以我无法弄清楚问题出在哪里。我什至尝试使用大小为 40dip 的 textView 创建一个虚拟应用程序,但它仍然将其转换为 60。

有什么想法吗?

【问题讨论】:

    标签: layout tabs resize galaxy


    【解决方案1】:

    这个问题的答案对你有帮助吗?似乎他也有同样(或相似)的问题。

    Android layout on emulator vs device

    Android, concerning the User Interface design

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-14
      • 1970-01-01
      • 2012-07-22
      • 1970-01-01
      相关资源
      最近更新 更多