kassioplonka
New Member
I'm making a revision app for myself and anyone of my friends who wants it for my up-coming physics exam. Thought it might be a good idea to do, make the information stick moreIt's not a complicated app, it consists of a basic menu, and then 8 sub-activities that are launched from this menu.The problem in question lies in how big these layouts are; they're massive. They have loads of writing and about 10 hdpi images being loaded in a ScrollView fashion, and the problem i'm having is I cannot find a reliable way to open layouts without the app crashing..So far, i've tried:
- Opening the layouts by\[code\]Intent i = new Intent("com.physicsrevision.ONEPOINTONE");startActivity(i);\[/code\]
- Launching them in a UiThread\[code\]runOnUiThread(new Runnable() { @Override public void run() { // Intent code startActivity(i); }}\[/code\]
- Launching them in a regular thread
- Didn't work due to the need to be run off a Ui Thread