krompa
Lost but trying
Profile
Posts: 257
Reg: Jun 14, 2013
Bristol
8,820
01/21/14 09:02 AM (11 years ago)

Recognising a Large Device or Small Device - Android

I am trying to alter the quiz app recognising when a device is "Large" or "Small". Within the BT_Device.java file are these lines: //large or small device? if(this.deviceWidth > 400){ this.isLargeDevice = true; }else{ this.isLargeDevice = false; } The above statement makes sense, but I would like to increase the 400 value. However large I change the value (even to 4000) the app appearance remains the same and always seems to recognise a "Large" device, never a "Small" one. Is there other code I need to alter to increase the value from 400?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.