Re: [blrdroid] Problem with different screen size

From: user 1.
Sent on: Friday, January 3, 2014 1:40 PM
In one Drawable Folder U can use all images (Whichever images are required for portrait or landscape) .



On Fri, Jan 3, 2014 at 1:25 PM, shivaprakash <[address removed]> wrote:
Sir did you asking me question or giving me solution. How can possible to use default drawable for all screen. 
The orientation changes for different screen.


On Fri, Jan 3, 2014 at 1:12 PM, Mohankumar M B <[address removed]> wrote:
But one Question

How to use the only one layout folder for all android devices.


On Fri, Jan 3, 2014 at 1:08 PM, Mohankumar M B <[address removed]> wrote:
You need to change the layout folderlike this

for 7'' tablet-> layout-sw600dp (Devices like samsung tab2, note-2)
for 10'' tablet-> layout-sw720dp (Devices like samsung tab1)
for 5'' tablet-> layout-sw360dp (Devices like samsung galaxy s4)
for 3.7'' tablet-> layout-normal (Devices like samsung galaxy s2, s3 and normal phones)

and for images

you can use only one drawable default folder with all screen size images (By default some times 1 or 2 images fix for all screens)



On Fri, Jan 3, 2014 at 12:52 PM, rambabu <[address removed]> wrote:
hi shivapraksah,

I think u need to change the layout folder names as like i mentioned below

for 7inch tablet--layout-large
for 10inch tablet--layout-xlarge
and also u can manage the drawable images for different resolutions like this way.
for 7inch tablet--drawable-large
for 10inch tablet--drawable-xlarge

thanks
Rambabu.P




On Fri, Jan 3, 2014 at 12:03 PM, shivaprakash <[address removed]> wrote:
Hi all

I am facing one problem of different screen resolution about developed app.
Actually, I develop one app for tablet, and I created different drawable for 
different screen, 
For example : for 7" inch screen device I created drawable-sw600dp,
                     for 10" i created drawable-sw720dpi.
                     for other screen size tablet refer drawable-mdpi.

          And same for layout also, I created layout for normal screen,
          I created layout-sw600dp for 7" inch tablet.
          I created layout-sw720dp for 10" inch tablet.

All the above is working fine when I test with different emulator.
But when I test same application on real device, it is not working as same
emulator. By default it recognize normal layout only, I tested with 7" and 10"
device, but it normally prefer layout, but it won't prefer layout-sw600dp and 
layout-720dp. 

Please, tell me what exact problem of this, why it happens.



--
Thanks & Regards
Shivaprakash
[masked]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by shivaprakash ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about shivaprakash, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--
R@MS




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by rambabu ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about rambabu, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--

Thanks and Regards,
Mohankumar M B.

Software Engineer. 
Appface Technologies Pvt Ltd
#1, Akhitaan, 3rd Floor,  ITPL Main Road, 
Bangalore-37
E-mail: [address removed]
India Mobile: [masked]


"Everything that can be Mobile will be"




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Mohankumar M B ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Mohankumar M B, visit his/her member profile

To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--

Thanks and Regards,
Mohankumar M B.

Software Engineer. 
Appface Technologies Pvt Ltd
#1, Akhitaan, 3rd Floor,  ITPL Main Road, 
Bangalore-37
E-mail: [address removed]
India Mobile: [masked]


"Everything that can be Mobile will be"




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Mohankumar M B ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about Mohankumar M B, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--
Thanks & Regards
Shivaprakash
[masked]




--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by shivaprakash ([address removed]) from The Bangalore Android User Group - [ B.A.U.G ].
To learn more about shivaprakash, visit his/her member profile
To report this message or block the sender, please click here
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]



--

Thanks and Regards,
Mohankumar M B.

Software Engineer. 
Appface Technologies Pvt Ltd
#1, Akhitaan, 3rd Floor,  ITPL Main Road, 
Bangalore-37
E-mail: [address removed]
India Mobile: [masked]


"Everything that can be Mobile will be"

Our Sponsors

  • Though Works

    Location Sponsor

  • GTUG

    Sponsor

  • Yourstory.in

    Media Partner

  • Startup Weekend

    Community Partner

  • Yahoo

    Location Sponsor

  • Intel

    Location Sponsor

  • Apigee

    Location Sponsor

  • Intuit

    Location Sponsor

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy