Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
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: 3
 
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: 3
 
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.
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: 3
 
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.
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: 272
 
853 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

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

Advanced Search
Display Modes