New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use fragments in MainActivity #309
Conversation
i would love to start merging this...but I'm stuck on #317 |
Hi, /Jonas |
Done :) |
and...same question about supportfragment (manager)... |
When using a support fragment, it's LoaderManager is of the support library type so we still use the support fragment manager etc. |
I don't understand: "Now we still use a froyo version because of some google play things, but if we can solve that too then we only need one flavor."
|
No it shouldn't.
|
fyi, was about to merge this...but it had conflicts. will merge manually tonight (or as soon as i find time). |
tried merging...and found that size of APK increases a lot....specially for froyo Do you know why ?? |
Probably because newer support library have more code and proguard is not
|
hmm...can you fix so that froyo does not increase as much ? |
I can take a look in the weekend.
|
Rebased against master, will check apk sizes now.. Is it release you checked? |
yes, I checked release... On Sat, Sep 19, 2015 at 1:00 PM, David Laurell notifications@github.com
|
I have now managed to get down the sizes to the following: froyo debug: 2.8MB latest debug: 4.3 MB I think the reason for the larger file sizes corresponds to all new image resources used to get the material design look and feel on devices with version lower than Android 5.0. |
hmm...froyo is almost twice as big... i think people on older devices generally like the small footprint... wdyt ? /Jonas On Sat, Sep 19, 2015 at 2:34 PM, David Laurell notifications@github.com
|
I don't know how many still uses old froyo phones but I don't think it
|
Jonas, I think you have to decide if you want new looks or small app. Can't have both.. |
Use fragments in MainActivity
damn in...should have made these comments prior to merge.
Can you fix ? |
|
|
/Jonas |
|
the target annotations makes build fail On Wed, Sep 23, 2015 at 7:15 PM, Gautier Pelloux-Prayer <
|
pingeling. how is progress on this? many things are still missing to make this good. /Jonas On Wed, Sep 23, 2015 at 7:24 PM, Jonas Oreland runnerup.android@gmail.com
|
reverted...see c8cc63f. |
In order to be able to create a better UI, the first step is to use fragments. This PR will make the app look like this to start with: https://photos.google.com/share/AF1QipMULPT_AQ8vHM6-kmJmzUxCyDCrQaQ89c1XThXjmImpsJGnkXZUD3tfZDgbb6rMgg?key=TTl0Z1Uxa0oteC03XzItTWREYnJvQWpwRkZ4MjRB
I hope upgrading android version target isn't a problem...