2
我在我的應用程序中使用了默認的EditText控件,字體和分辨率看起來很差,尤其是與任何DbTextViewer或Internet/Chrome瀏覽器使用的相比,這看起來更清晰。爲什麼EditText的字體分辨率不好?
該應用程序旨在運行在像平板電腦這樣的大屏幕設備上,而不是那麼多的手機。
如何改善文本的外觀?
這裏是我的應用程序
DbTextEditViewer看起來更漂亮
main.xml中
<EditText
android:id="@+id/edtx"
android:inputType="textFilter|textMultiLine"
android:textSize="10sp" />
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingTop="0dp"
android:paddingBottom="0dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="horizontal" >
<Button
android:id="@+id/button2"
android:paddingBottom="8dp"
android:layout_width="wrap_content"
android:layout_height="26sp"
android:textSize="8sp"
android:text="save"/>
</LinearLayout>
</LinearLayout>