Post Reply

[APK] ADT-1 Cast Receiver, Leanback Launcher & more

OP Grishka11

8th January 2015, 08:19 PM   |  #111  
Member
Thanks Meter: 22
 
30 posts
Join Date:Joined: Jan 2012
Quote:
Originally Posted by saunderez

I've been working on fixing the layout issues with Leanback Launcher and have made a bit of progress. Orientation is now correct and status bar is hidden. Next step is to get Immersive Mode working to hide the nav bar and then work on tile size and spacing. First time I've pulled apart an Android app but I'm learning a lot. WIP as displayed on Nexus 7 below.

What did you change exactly?

Sent from my XT1032 using XDA Free mobile app
9th January 2015, 02:20 AM   |  #112  
Junior Member
Thanks Meter: 6
 
10 posts
Join Date:Joined: Jul 2010
Not a whole lot so far. Enabled screen size and orientation configChanges in AndroidManifest.xml and forced orientation to landscape.

Edited configChanges
Quote:

android:configChanges="keyboard|keyboardHidden|ori entation|screenSize"

Force landscape
Quote:

android:screenOrientation="landscape"

This didn't have the desired result but I kept digging and found the parent style was a dialog. Changed McLauncherTheme in styles.xml to a more fullscreen friendly theme.

Quote:

<style name="McLauncherTheme" parent="@android:style/Theme.Material.Light.NoActionBar.Fullscreen">

Getting immersive mode working is harder than I imagined, it's getting real crashy when I add the code to do it so I need to do some more investigation into that.
9th January 2015, 08:08 AM   |  #113  
Junior Member
Thanks Meter: 6
 
10 posts
Join Date:Joined: Jul 2010
Well I got Immersive Mode working after a lot of messing around and a bit of trial and error.

As displayed on my Nexus 5.
Quote:

You can't see it in that picture but there's still a problem with padding but that should be relatively easy to fix by modifying the style.xml. What I can do is fairly limited as I'm only able to edit the smali code, no amount of trying could get converted Java to recompile so I've given up on that idea entirely.
The Following User Says Thank You to saunderez For This Useful Post: [ View ]
9th January 2015, 10:03 AM   |  #114  
Rektroid's Avatar
Senior Member
Flag London
Thanks Meter: 114
 
402 posts
Join Date:Joined: Oct 2013
Donate to Me
More
Apk link please

Sent from my Amazon Tate using XDA Free mobile app
10th January 2015, 02:37 AM   |  #115  
Junior Member
Thanks Meter: 6
 
10 posts
Join Date:Joined: Jul 2010
LeanbackMod v1.0

A quick and dirty mod of Leanback Launcher to make it run properly on other devices. Requires Android 5.0+

Changes
- Fixed portrait display when in landscape (forced landscape)
- Enabled immersive mode

Known Issues
- Clicking Notification icon causes launcher to crash

To Do
- Fix Preparing Recommendations loading
- Modify display layout to better suit non-GoogleTV devices
- Fix notifications icon

You will probably need to sign the APK with platform keys in order for it to install (I used ZipSigner available on Play Store)
http://www.mediafire.com/download/yl...eanbackMod.apk
Last edited by saunderez; 10th January 2015 at 06:05 AM.
The Following 2 Users Say Thank You to saunderez For This Useful Post: [ View ]
11th January 2015, 08:16 AM   |  #116  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Aug 2012
Hi Bert, did you finally get it working? I'm looking for Netflix APK to get it working in India. Thanks, if you've a link.

Sent from my Nexus 7 using XDA Free mobile app
11th January 2015, 09:24 PM   |  #117  
Bert98's Avatar
Senior Member
Flag Sant'Urbano (PD)
Thanks Meter: 294
 
897 posts
Join Date:Joined: Jul 2012
More
Quote:
Originally Posted by iamsra

Hi Bert, did you finally get it working? I'm looking for Netflix APK to get it working in India. Thanks, if you've a link.

Sent from my Nexus 7 using XDA Free mobile app

No

Inviato dal mio XT1032 utilizzando Tapatalk
18th February 2015, 04:27 PM   |  #118  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Sep 2012
Quote:
Originally Posted by saunderez

LeanbackMod v1.0

A quick and dirty mod of Leanback Launcher to make it run properly on other devices. Requires Android 5.0+

Changes
- Fixed portrait display when in landscape (forced landscape)
- Enabled immersive mode

Known Issues
- Clicking Notification icon causes launcher to crash

To Do
- Fix Preparing Recommendations loading
- Modify display layout to better suit non-GoogleTV devices
- Fix notifications icon

You will probably need to sign the APK with platform keys in order for it to install (I used ZipSigner available on Play Store)

First of all, thank you for your work with the launcher.

I have a Nexus 5 with Android 5.0.1. I downloaded you APK and signed it using ZipSigner with the "platform" option, but i still only get "The app has not been installed". What am I doing wrong?
21st February 2015, 10:53 PM   |  #119  
OP Junior Member
Flag Saint-Petersburg
Thanks Meter: 10
 
16 posts
Join Date:Joined: Jun 2012
More
It's been a while since my last post. Now that I have the "final" version of the Android TV ROM on it thanks to OTAs, how do I do a full dump of the /system partition to post it here?
25th February 2015, 04:07 PM   |  #120  
Bert98's Avatar
Senior Member
Flag Sant'Urbano (PD)
Thanks Meter: 294
 
897 posts
Join Date:Joined: Jul 2012
More
Quote:
Originally Posted by Grishka11

It's been a while since my last post. Now that I have the "final" version of the Android TV ROM on it thanks to OTAs, how do I do a full dump of the /system partition to post it here?

I guess adb pull /system would be the best way, if it's rooted and you can use adb

Inviato dal mio Nexus 7 utilizzando Tapatalk

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes