Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4056748
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:51:58+00:00 2026-05-20T14:51:58+00:00

I am working on creating a card game for android. I am trying to

  • 0

I am working on creating a card game for android. I am trying to come up with a layout that will allow the game to be played on all screen sizes and densities.

I have read: http://developer.android.com/guide/practices/screens_support.html

However, I am still confused on the best way to do this.

For this game, I need the cards laid out in landscape mode, in 5 columns. There are places above the 5 columns for additional cards. It is very similar to solitaire in this respect…but I only have need for 5 columns instead of 7.

What size card images should be in ldpi, mdpi, and hdpi?

What type of layout should I use (Table, Linear, Relative)?

Should I create different layouts for the different screen sizes (small, normal, large)?

Any examples you can point me to?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:51:59+00:00Added an answer on May 20, 2026 at 2:51 pm

    The android documentation has a great guide on the subject:

    Supporting Multiple Screens

    They introduce generalized sizes and densities and show how different resources can be loaded dynamically for different screens.

    I’m new to android myself, so don’t take my word for it, but, I think you can get away with one layout for all screen sizes, and I think RelativeLayout will work well (in most cases), especially with something as complex as a card game. I’ve mainly used LinearLayouts inside RelativeLayouts when I’ve wanted to align buttons/text horizontally.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating a DSL for an extensible card game engine I'm working on, with
I am working on a little card-swapping world-travel game that I sort of envision
I'm working on creating an app that will parse MSDN articles for meta-information such
I was working on creating a regex which will include all patterns except 'time',
I'm currently working on creating a new C# project that needs to interact with
I am working on creating a tag cloud in Silverlight 2 and trying to
I am working on creating an immutable class. I have marked all the properties
I'm working on creating a domain layer in Zend Framework that is separate from
Working inside the context of an ASP.NET application I am creating a page that
Working with Excel interop, I'm trying be very careful about not implicitly creating any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.