Closed josteink closed 11 years ago
Sneakpeak in Team EOS code:
https://review.teameos.org/#/c/1479/ https://review.teameos.org/#/c/1479/1/overlay/frameworks/base/core/res/res/values/config.xml
Probably has other dependencies, but it's a start.
Investigate/grep following git-tree for hybridUI: http://git.teameos.org/eos/device/asus/tf101.git/log/?h=jellybean-4.2
From shell session:
# eos
jostein@OFFICE:~/unbuild/eos/tf101$ grep -iR "HybridUi" *
overlay/frameworks/base/core/res/res/values/config.xml: <bool name="config_isHybridUiDevice">true</bool>
# CM10.1
jostein@OFFICE:~/unbuild/eos/tf101$ grep -iR "HybridUi" /mnt/build/android/tf101/4.2/frameworks/base/core/res/res/values/config.xml
jostein@OFFICE:~/unbuild/eos/tf101$
Not very surprisingly, not present at all in CM10.1.
Will a fork of CM10.1 frameworks/base be needed to implement this? Because if so, this feature is pretty much at the bottom of the list.
There's other mod's for this out there, but for other devices. Example: http://forum.xda-developers.com/showthread.php?t=2154075
Investigating what mod consists of.
PMed poster of said mod. Following into that rabbithole lead to Auto-patcher: http://forum.xda-developers.com/showthread.php?p=27589651
Auto-patcher has a tabletUI mod based on "findings" from this: http://forum.xda-developers.com/showthread.php?t=1876842
Zip can no longer be DLed from this thread (Dropbox, 404), but it refers to another thread for "technical" details: http://forum.xda-developers.com/showthread.php?t=1780970
Seems to be based on CM10 though.
This post is specifically about patches for 4.2 though: http://forum.xda-developers.com/showpost.php?p=34752461&postcount=879
Attached ZIP contains changes to system/framework's android.policy.jar and services.jar. Seems like it can be handled in the overlay somehow.
Interesting commit to work from: https://github.com/mateor/cm_frameworks_base/commit/c092c61d5a222a994c4c82a18dd136701c0ea9b7
EOS code is in their settings app
https://review.teameos.org/#/c/1470/ https://review.teameos.org/#/c/1471/
As far as I can tell, those commits are only about the settings/preferences part, the UI of those and whatever storage things should be persisted to. They don't seem to cover actual changes to how Android renders it's UI. Or am I missing something obvious?
That aside: Something like this would ofcourse be nice to add on top of a change in the rendering-engine itself.
Edit: I see one those commits are labeled "Bring in tablet style feature (1 of 2)". It would be interesting to see what is in part 2. That might be just what we're looking for :)
Auto Patcher has tabletUI support for cm10.1
I'd test it myself, but I'm packing for my vacation and don't have time to ruin my tablet and fix it up again :)
That said: good catch!
I'm saying we're good with auto-patcher at this point. Closing.
Basically a toggle for left aligning nav bar controls.
Supposed to already be in team eos.
Workaround: Use auto-patcher as suggested by dlumberg