Android Question How do I properly design my application?

ThePuiu

Active Member
Licensed User
Longtime User
I need to write an application that is starting with a login screen. From login screen you can go to the main screen after authentication. From here you can navigate to other 3 screens containing various information. How do I properly design that application? One Activity for each screen, each with multiple layouts for different resolutions? Is that ok?
Thank you!
 

ThePuiu

Active Member
Licensed User
Longtime User
Which is the top 3 most usual screens resolutions and densities? Is ok if I make one layout for each one of this resolutions? How many layouts must exists to can affirm: This app can cover almost all devices!
Can I choose the right layout in concordance with Activity.WIDTH and Activity.HEIGHT? How about density?
 
Upvote 0

ThePuiu

Active Member
Licensed User
Longtime User
Ty for the reply!
Now I have another question...a simple EditText in Android 3 appears with a black border around it, and in Android 4.3 is completely transparent... How can avoid this different behavior? Is a solution to put the EditText inside of a image with a border? but then I must check which kind of OS is installed and activate the image only for version > 4 ?!? What is the best practice?
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
I think you need to read some documentation my friend

But, to answer your question, that happens because the HOLO theme which was introduced on newer versions of Android, if you want to keep the same theme on all the devices, then target SDK < 11.

You can find all that information by searching the forums.
 
Upvote 0

ThePuiu

Active Member
Licensed User
Longtime User
The attached chart is the information flow of my application. Now works correctly but I want to know if it is the correct approach. I would like to navigation BACK to not lose data entered in the previous step. For this I have to use the StateManager?
 

Attachments

  • Untitled.jpg
    66.8 KB · Views: 161
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…