Blrfl
Well-Known Member
Hey all...
I have an application that's being beta tested by several people, a few of whom have Motorola Droids. The application specifies the following in one of its activities:
...and this in the layout...
It works perfectly in the emulator under 1.5/1.6/2.1/2.2 and on the assorted HTC handsets where it's been tried. The Droid users, however, get a very small font, which seems to be the same default size I get on the emulator if I don't specify any size at all.
Has anyone seen this and, more importantly, been able to cure it? I'm hoping there isn't something specific to the version of Android on the Droid where I have to specify font size in some other unit, like cubic hectares.
Thanks.
--Mark
I have an application that's being beta tested by several people, a few of whom have Motorola Droids. The application specifies the following in one of its activities:
Code:
<!-- dimen.xml -->
<dimen name="entry_size">12pt</dimen>
...
...and this in the layout...
Code:
<!-- File containing layout -->
<TextView
android:id="@+id/xxx"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
android:textSize="@dimen/entry_size"
android:typeface="monospace"
/>
It works perfectly in the emulator under 1.5/1.6/2.1/2.2 and on the assorted HTC handsets where it's been tried. The Droid users, however, get a very small font, which seems to be the same default size I get on the emulator if I don't specify any size at all.
Has anyone seen this and, more importantly, been able to cure it? I'm hoping there isn't something specific to the version of Android on the Droid where I have to specify font size in some other unit, like cubic hectares.
Thanks.
--Mark