Re: [android-developers] Tablet vs. Phone Font Size

2012-08-06 Thread Nicholas Campion
Yup, that setting is factored in when 'sp' units are used anywhere on the 
device.

On Friday, August 3, 2012 3:26:47 PM UTC-5, bob wrote:
>
> Is this what you're talking about?
>
> http://postimage.org/image/8y0sxvyej/
>
> On Friday, August 3, 2012 1:54:29 PM UTC-5, Nicholas Campion wrote:
>>
>> On the nexus 7 its under settings->display.
>>
>> On Friday, August 3, 2012 1:50:54 PM UTC-5, bob wrote:
>>>
>>> Where is this font scaling feature?  I looked all throughout settings on 
>>> my Galaxy Tab, and I don't see one.
>>>
>>>
>>> Thanks.
>>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread bob
Is this what you're talking about?

http://postimage.org/image/8y0sxvyej/

On Friday, August 3, 2012 1:54:29 PM UTC-5, Nicholas Campion wrote:
>
> On the nexus 7 its under settings->display.
>
> On Friday, August 3, 2012 1:50:54 PM UTC-5, bob wrote:
>>
>> Where is this font scaling feature?  I looked all throughout settings on 
>> my Galaxy Tab, and I don't see one.
>>
>>
>> Thanks.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread String
I believe that it was only exposed to the user in ICS. The sp unit existed 
before then, but there wasn't a UI to affect it. 

String 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Nicholas Campion
On the nexus 7 its under settings->display.

On Friday, August 3, 2012 1:50:54 PM UTC-5, bob wrote:
>
> Where is this font scaling feature?  I looked all throughout settings on 
> my Galaxy Tab, and I don't see one.
>
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread bob
 

Where is this font scaling feature?  I looked all throughout settings on my 
Galaxy Tab, and I don't see one.


Thanks.




On Friday, August 3, 2012 11:28:15 AM UTC-5, Mark Murphy (a Commons Guy) 
wrote:
>
> On Fri, Aug 3, 2012 at 12:24 PM, Justin Anderson  
> wrote: 
> > I noticed this myself...  What I do is specify my font sizes in a 
> > res/values/dimens.xml file.  Then I also create a version of that file 
> in 
> > res/values-large.  Then I reference my font sizes as 
> > @dimen/my_dimen_resource rather than using the sp value directly. 
> > 
> > That way I can use larger font sizes on large screens and I only have to 
> set 
> > up the values once. 
>
> That seems like a good plan. You still should use sp units, though, 
> for both dimension resource values, for those handful of users who do 
> stumble upon the font scaling feature... 
>
> -- 
> Mark Murphy (a Commons Guy) 
> http://commonsware.com | http://github.com/commonsguy 
> http://commonsware.com/blog | http://twitter.com/commonsguy 
>
> _The Busy Coder's Guide to Android Development_ Version 4.0 Available! 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Justin Anderson
>
> That seems like a good plan. You still should use sp units, though,
> for both dimension resource values, for those handful of users who do
> stumble upon the font scaling feature...
>

Yea, I probably wasn't too clear on that... All my font dimension resources
are defined in sp units.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Aug 3, 2012 at 10:28 AM, Mark Murphy wrote:

> On Fri, Aug 3, 2012 at 12:24 PM, Justin Anderson 
> wrote:
> > I noticed this myself...  What I do is specify my font sizes in a
> > res/values/dimens.xml file.  Then I also create a version of that file in
> > res/values-large.  Then I reference my font sizes as
> > @dimen/my_dimen_resource rather than using the sp value directly.
> >
> > That way I can use larger font sizes on large screens and I only have to
> set
> > up the values once.
>
> That seems like a good plan. You still should use sp units, though,
> for both dimension resource values, for those handful of users who do
> stumble upon the font scaling feature...
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to Android Development_ Version 4.0 Available!
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Mark Murphy
On Fri, Aug 3, 2012 at 12:24 PM, Justin Anderson  wrote:
> I noticed this myself...  What I do is specify my font sizes in a
> res/values/dimens.xml file.  Then I also create a version of that file in
> res/values-large.  Then I reference my font sizes as
> @dimen/my_dimen_resource rather than using the sp value directly.
>
> That way I can use larger font sizes on large screens and I only have to set
> up the values once.

That seems like a good plan. You still should use sp units, though,
for both dimension resource values, for those handful of users who do
stumble upon the font scaling feature...

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 4.0 Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Justin Anderson
I noticed this myself...  What I do is specify my font sizes in a
res/values/dimens.xml file.  Then I also create a version of that file in
res/values-large.  Then I reference my font sizes as
@dimen/my_dimen_resource rather than using the sp value directly.

That way I can use larger font sizes on large screens and I only have to
set up the values once.

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, Aug 3, 2012 at 10:15 AM, Nicholas Campion  wrote:

> We use 'sp' density & preference scaled fonts throughout our app. We've
> noticed that this mechanism just doesn't seem to cut it on larger screen
> devices.  The issue is the distance someone uses a phone app from their
> eyeballs vs. the distance used for a tablet. In our admittedly unscientific
> research, the distance is about doubled. This coupled with the fact that,
> based on our support requests, not very many people know about the system
> font scaling properties leads us to think we need to find a better way to
> solve the problem.
>
> Since this isn't really a 'density' issue and is more tied to the physical
> size of the device and, thus, the distance the device is held at, I'm
> wonder what the best systematic approach is to handling font sizes on
> physically larger screens? I'm willing to investigate some different
> mechanisms just looking for suggestions on what other people have found
> successful.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Tablet vs. Phone Font Size

2012-08-03 Thread Nicholas Campion
We use 'sp' density & preference scaled fonts throughout our app. We've 
noticed that this mechanism just doesn't seem to cut it on larger screen 
devices.  The issue is the distance someone uses a phone app from their 
eyeballs vs. the distance used for a tablet. In our admittedly unscientific 
research, the distance is about doubled. This coupled with the fact that, 
based on our support requests, not very many people know about the system 
font scaling properties leads us to think we need to find a better way to 
solve the problem.

Since this isn't really a 'density' issue and is more tied to the physical 
size of the device and, thus, the distance the device is held at, I'm 
wonder what the best systematic approach is to handling font sizes on 
physically larger screens? I'm willing to investigate some different 
mechanisms just looking for suggestions on what other people have found 
successful.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en