我已經提交了下面的截圖(抱歉,不能張貼圖片)一個的myTouch4克用戶:在我的EditText觸摸4G文本垂直居中過高
按理說它是480×800。在模擬器上全部採用480x800的正常工作:
下面是相關的XML
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:layout_width="fill_parent"
android:layout_height="fill_parent" android:orientation="vertical">
<TableRow android:background="@drawable/gradient_row"
android:paddingTop="4dip">
<TextView
android:id="@+id/outDiameterLabel"
android:paddingTop="6dip"
android:paddingRight="5dip"
android:layout_gravity="right"
android:layout_height="40dip"
android:layout_width="wrap_content"
android:textColor="#FFFFFF"
android:textSize="15dip"
android:text="@string/outDiameterLabel" />
<EditText
android:id="@+id/outExactDiameter"
android:layout_height="40dip"
android:layout_width="wrap_content"
android:gravity="center"
android:focusable="false"
android:numeric="decimal" />
<EditText
android:id="@+id/outRoundedDiameter"
android:layout_height="40dip"
android:layout_width="wrap_content"
android:gravity="center"
android:focusable="false"
android:numeric="decimal" />
</TableRow>
</TableLayout>
</LinearLayout>
</ScrollView>
這似乎也被關閉的寬度。如果您查看底部的輸入,請注意右側的最後一個按鈕被截斷的方式。其餘的,寬度是好的。他的手機:HTC MyTouch 4G,Android 2.2.1,Kernel 2.6.32.21-g899d047,Build 1.17.531.2 CL277036 release-keys,軟件編號7.17.531.2 瀏覽器版本WebKit 3.1。他還嘗試卸載並重新安裝。
我無法在我擁有的任何設備或仿真器上重現此操作。除了購買或借用myTouch 4g之外,有沒有人有任何解決方案的想法?
凱文
通過魚眼判斷,您的用戶可能會用另一臺相機在近距離拍攝他桌上的手機照片。我不會擔心捕捉的方法。希望我可以進一步幫助。如果你鏈接到你的應用程序,我可以測試我的DroidX是854x480。我能看到的唯一情況是佈局之間的差距似乎是他設備上的幾個額外的像素。 – Eric
@Eric感謝您的報價,但根據Android Market,我有423個Droid X用戶,沒有人抱怨過。我認爲這是MyTouch 4G問題(0位用戶報告)或用戶設置問題。我有大約40個MyTouch 3G用戶,並且沒有投訴。 –