Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Runtime Development

Reply
Contributor
Posts: 11
Registered: ‎12-18-2012
My Device: 9900
My Carrier: Airtel

Is there any text size portability in all three different version bb10 is

Hi, I have converted my android app to bar using eclipse.It adjust the images to mdpi,Hdpi,sdpi same way I want To set font size. Is this possible that it adjust automatic. Help me in this issue. Thanks in advance. From, Trushar P Gohil,Associate Consultant C Evosys India
BlackBerry Development Advisor
Posts: 84
Registered: ‎11-21-2008
My Device: Z10
My Carrier: Bell

Re: Is there any text size portability in all three different version bb10 is

WHen targeting the three 'BlackBerry Runtime for Android apps' enabled devices, be sure to leverage the following resource folders:

 

  • For the BlackBerry PlayBook tablet: res/drawable-mdpi folder
  • For the BlackBerry Z10 device: res/drawable-xhdpi folder
  • For the BlackBerry Q10 device: res/drawable-small-square folder

https://developer.blackberry.com/android/documentation/port_android_app_to_bb_device.html

James Dreher
BlackBerry Development Advisor