QSlide for any app? - LG V10 Q&A, Help & Troubleshooting

Is it possible to make any app a QSlide app either with or without a rooted device?

Good question. Would like to know this too. Same with dual window. Not all apps can be used with that either. Good thing itll be a native feature with android n.

TheJOJ said:
Is it possible to make any app a QSlide app either with or without a rooted device?
Click to expand...
Click to collapse
Needs something like this added to its manifest
Permission to overdraw added to it
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
It needs to be made selectable within qslide
<application android:theme="null" android:label="App name" android:icon="app's data path to its icon.png"
Then made viewable in the launcher
<uses-library android:name="com.lge.app.floating" android:required="false" />
<activity android:label="App name" android:name="App name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
No simple drag n drop method can add apps to qslide but possibly a batch editor could be made one day to pull it off on the fly...one day.

Related

[THEME] A Community Honeycomb Theme ** Needs your help ** 5/17/11

****************************************************************************************************
DO NOT FLASH IF YOU DON'T PLAN ON IMPROVING THIS THEME - IT'S NOT READY!
****************************************************************************************************
I think this could be a cool thing. A community built theme.
Partly for me to learn, partly because that's what we are about, right?
I need the help of the talented themers/developers on here though.
My idea:
Take this INCREDIBLE honeycomb theme done by obsessionXYZ (his thread) and port it to our phone.
I am specifically aiming for Trigger 3.2, but I can't see why it would not work for any 2.2 based ROM.
I think just letting everyone throw in their own personal flavor to make this better.
Not going to lie, I have basically done all that I know to do. Not looking for someone to do my work. Looking for someone willing to take this and make it better, but to post what they did. maybe a bit much, but it would be a very cool thing to do and I know a lot of us would learn.
NOTE, for those interested in doing this. STRONGLY suggest looking at Official_Masters thread on using APK Manager to theme.
It is Crazy simple. So much so that I am embarrased to post this thread as any sort of "work" - It was not.
SOMEONE put a lot of time into it (see above - obsessionXYZ), certainly not me.
How would this work?
Well... I'm certain there are a lot of good ways, but the only way I can think of is dropbox or just downloading what I currently have, and make it better.
****************************************************************************************************
DO NOT FLASH IF YOU DON'T PLAN ON IMPROVING THIS THEME - IT'S NOT READY!
****************************************************************************************************
UPDATES (very minor, very much beta)
5.11.11 - made some of the changes birgertime suggested. Got some white in the dropdown notification for text..
now I need to find that (make the text white) for the power menu, and when adding widgets...
DOWNLOAD THE THEME HERE >>>> BETA DOWNLOAD
Here is the wallpaper (doesnt appear the theme is setting it by default yet):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
KNOWN BUGS:
I do not know how to make the text white, so it's currently black text on a black background. Awesome. Working on it. Go as I learn.
I do not know how to make the volume sliders thin (like honeycomb and the original theme)
Not all of the power menu buttons are blue
Notification dropdown transparent now, original theme has a blue halo on a solid black background
I want it to say "Rotate" not "Auto-Rotation" but I can't find that
The bluetooth toggle does not work, neither does auto rotate. Awesome.
I am sure there are more I have not found yet. Help me find and squash them.
* I am not a fan of this type battery. I plan on changing that soon.
Honeycomb Bootup:
I found a flashable Honeycomb bootup on TeamWhiskey's site (THREAD). You can download the file (CLICK HERE TO DOWNLOAD).
Simply move to internal and flash like a ROM. Bam. Awesome bootup.
Here is it on my phone:
IMAGES:
SPECIAL THANKS - SERIOUSLY, TRULY APPRECIATED
Birgertime - Not only for an AMAZING ROM for us, but the guy has been so patient with my dumb questions. DUMB questions.
Official_Master (his thread and offering help), Junk_Druggler (lots of advice), rel500, buddahlou, shreddintyres, Master&Slave™, and Annex for offering to help (and even do a theme and give me credit, haha) AND the dock in the images above.
you guys get the point. ALMOST EVERY SINGLE PERSON WHO THEMES HAS VOLUNTEERED TO HELP ME! I LOVE THIS COMMUNITY.
I'm certain I forgot people, shoot me a PM if I did. It was not intentional. I am tired.
Yeap, forgot 00.ante who did the themed market (his thread)
JaiThemes did the wallpaper and I just manipulated it in Photoshop to change it from cyan to blue. Didn't do much more than that.
most of those bugs are xml related, simple edits will fix them, I'll download and take a look, I wanna help, since it was this thread that made me want to make a theme
thanks
ld006 said:
most of those bugs are xml related, simple edits will fix them, I'll download and take a look, I wanna help, since it was this thread that made me want to make a theme
thanks
Click to expand...
Click to collapse
That is awesome. Yeah, I haven't a clue how to edit.xml. I also noticed the original that I linked to had a LOT of .jar's which I removed. I'll search more on how to edit.xml. Birgertime was pointing me in the right direction, but I was exhausted last night.
I think I've seen even a better looking one than that. I going to try and find the link.
rel500 said:
I think I've seen even a better looking one than that. I going to try and find the link.
Click to expand...
Click to collapse
Cool. I was impressed, a lot, by the original but am all for a better version.
Remember though, my pics are missing a lot of the coolness the original had. I'm hopeful we can bring that to this.
I already have the boot logo does that affect anything?
s15274n said:
I do not know how to make the text white, so it's currently black text on a black background. Awesome.
I do not know how to make the volume sliders thin (like honeycomb and the original theme)
Not all of the power menu buttons are blue
Notification dropdown is a flat black, original theme has a blue halo look at the top
I want it to say "Rotate" not "Auto-Rotation" but I can't find that
The bluetooth toggle does not work
I am sure there are more I have not found yet. Help me find and squash them.
* I am not a fan of this type battery. I plan on changing that soon.
Click to expand...
Click to collapse
Always looking for something to kill time with - If any of this still needs fixed tonight, I'll do it.
jellette said:
Always looking for something to kill time with - If any of this still needs fixed tonight, I'll do it.
Click to expand...
Click to collapse
If anyone can fix this, I know you can. I would LOVE for you to take a swing at this.
sRs DoLLaR mEnU said:
I already have the boot logo does that affect anything?
Click to expand...
Click to collapse
I only included the bootup if someone wanted it. I actually prefer the stock Trigger boot, so this is not included in the theme.
Since this is a community theme, let's all make Callip do all the work himself!
in /framework-res.apk/res/layout/status_bar_latest_even_content.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingLeft="10.0dip" android:paddingTop="7.0dip" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.server.status.AnimatedImageView android:id="@id/icon" android:layout_width="25.0dip" android:layout_height="25.0dip" android:src="@drawable/arrow_down_float" android:scaleType="fitCenter" />
<TextView android:textSize="18.0sp" android:textStyle="bold" android:textColor="[B][COLOR="red"]#ff000000[/COLOR][/B]" android:ellipsize="marquee" android:id="@id/title" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.0sp" android:textColor="[B][COLOR="Red"]#ff515151[/COLOR][/B]" android:ellipsize="marquee" android:id="@id/text" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<android.widget.DateTimeView android:textSize="14.0sp" android:textColor="[B][COLOR="red"]#ff515151[/COLOR][/B]" android:id="@id/time" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
Those are the three colors for the dropdown notifications. Not sure if you know this, but the hex code is as follows
# <opacity 2-bit hex> <color 6 bit hex>
Click to expand...
Click to collapse
=======================================================
Also to change the text color for the extra menu (this might also fix the power menu text):
in styles.xml
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLarge</item>
</style>
I believe you can change that ?textAppearanceLarge to ?textAppearanceLargeInverse and it will fix the issue.
==================================================
The power menu icons-> View attachment ic_locks.zip
In my farmework they are named hawk_download, hawk_recovery, hawk_reboot
birgertime said:
Since this is a community theme, let's all make Callip do all the work himself!
in /framework-res.apk/res/layout/status_bar_latest_even_content.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout android:layout_gravity="center_vertical" android:orientation="vertical" android:paddingLeft="10.0dip" android:paddingTop="7.0dip" android:paddingRight="10.0dip" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:paddingTop="3.0dip" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.server.status.AnimatedImageView android:id="@id/icon" android:layout_width="25.0dip" android:layout_height="25.0dip" android:src="@drawable/arrow_down_float" android:scaleType="fitCenter" />
<TextView android:textSize="18.0sp" android:textStyle="bold" android:textColor="[B][COLOR="red"]#ff000000[/COLOR][/B]" android:ellipsize="marquee" android:id="@id/title" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textSize="14.0sp" android:textColor="[B][COLOR="Red"]#ff515151[/COLOR][/B]" android:ellipsize="marquee" android:id="@id/text" android:paddingLeft="4.0dip" android:fadingEdge="horizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<android.widget.DateTimeView android:textSize="14.0sp" android:textColor="[B][COLOR="red"]#ff515151[/COLOR][/B]" android:id="@id/time" android:paddingRight="5.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="4.0dip" android:singleLine="true" />
</LinearLayout>
</LinearLayout>
Those are the three colors for the dropdown notifications. Not sure if you know this, but the hex code is as follows
=======================================================
Also to change the text color for the extra menu (this might also fix the power menu text):
in styles.xml
Code:
<style name="Theme.ExpandedMenu" parent="@style/Theme">
<item name="listViewStyle">@style/Widget.ListView.Menu</item>
<item name="windowAnimationStyle">@style/Animation.OptionsPanel</item>
<item name="background">@null</item>
<item name="itemTextAppearance">?textAppearanceLarge</item>
</style>
I believe you can change that ?textAppearanceLarge to ?textAppearanceLargeInverse and it will fix the issue.
==================================================
The power menu icons-> View attachment 589674
In my farmework they are named hawk_download, hawk_recovery, hawk_reboot
Click to expand...
Click to collapse
This won't directly help this theme, without the additional resources, but I have moved on to using custom xml's for these types of things, which allows greater control - I feel.
Code:
<item name="textColor">@color/edt_tw_button_text_inversible</item>
Is what the line for primary pop-up menu text looks like lately - while the secondary menus have their own xml.
Anyway, just the way I've started to do it.
jellette said:
This won't directly help this theme, without the additional resources, but I have moved on to using custom xml's for these types of things, which allows greater control - I feel.
Code:
<item name="textColor">@color/edt_tw_button_text_inversible</item>
Is what the line for primary pop-up menu text looks like lately - while the secondary menus have their own xml.
Anyway, just the way I've started to do it.
Click to expand...
Click to collapse
resource is already there, I've done this numerous times with stock frameworks
Depends on the build. JVH, for one, does not contain this in the colors folder and has to be added.
It also does not contain tw_primary_icon_text_light.xml
jellette said:
Depends on the build. JVH, for one, does not contain this in the colors folder and has to be added.
It also does not contain tw_primary_icon_text_light.xml
Click to expand...
Click to collapse
No it's all in the Android resource class
birgertime said:
No it's all in the Android resource class
Click to expand...
Click to collapse
I think you put a comma in my sentence or something, I wasn't saying your way wouldn't work, I was saying mine wouldn't without adding the xml - rather than using the "?textAppearanceLargeInverse "
lol, when I said it wouldn't work, it was a preface to the next part of my next sentence.
jellette said:
I think you put a comma in my sentence or something, I wasn't saying your way wouldn't work, I was saying mine wouldn't without adding the xml - rather than using the "?textAppearanceLargeInverse "
lol, when I said it wouldn't work, it was a preface to my next sentence.
Click to expand...
Click to collapse
Oh LOL, I just misinterpreted that whole conversation.
I'm going to slowly walk away. I should have never doubted your wisdom!
Edit:
lol, when I said it wouldn't work, it was a preface to the next part of my next sentence.
Click to expand...
Click to collapse
Yeah that's the part I misread lol
This is great. If I hadn't drank so much I'd start now. Thank you guys. Not going to lie, sounds foreign to me. Look forward to learning. Thank you both, so much
has anyone seen this thread?
http://forum.xda-developers.com/showthread.php?t=1057234
^ maybe I missed it, but that would only be helpful if you are on CM7 right?
I will try and make the changes birgertime suggested. That seems to make a lot more sense. Jellette, I am way too ignorant for you my friend.. and birgertime, he is just crazy patient with me, ha.
I don't mind publicly embarrassing myself, you guys are awesome.
What J did, Callip, was just make his own XML and define his own colors so he could just make calls to them and know exactly what they are.
Sent from my SGH-T959 using Tapatalk

[idea][q] Long press on search button results?

I have an idea for an app that extends the default google search.
When you press the search button and search for a contact or app, each result will be long pressable so that you can drag the result to your desktop as a shortcut.
This will be a nice and easy way to create shortcuts to apps/contacts rather than finding them in the drawer/contact list.
Has this already been done ? Since CM7 allows the search target app to be customizable it seems do-able.
There are two things you can do with the Search button:
1. Open an internal search for your App data when you App is running and on top
2. Run your App when you long press the search button at any moment even when you are on other apps.
For the first option see the links:
http://developer.android.com/resources/articles/qsb.html
http://developer.android.com/resources/samples/SearchableDictionary/index.html
For the second option, which I understand that is what you wanted to do, you have to add to your Androidmanifest.xml the following intent filter:
Code:
<intent-filter>
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Independently to these two options, another thing you may be interested in, is to add your App data to the global search (quick search box), like a dictionary App would do:
Code:
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:label="@string/search_label"
android:searchSettingsDescription="@string/settings_description"
android:includeInGlobalSearch="true"
android:searchSuggestAuthority="dictionary"
android:searchSuggestIntentAction="android.intent.action.VIEW">
</searchable>
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
mminbcn said:
There are two things you can do with the Search button:
1. Open an internal search for your App data when you App is running and on top
2. Run your App when you long press the search button at any moment even when you are on other apps.
For the first option see the links:
http://developer.android.com/resources/articles/qsb.html
http://developer.android.com/resources/samples/SearchableDictionary/index.html
For the second option, which I understand that is what you wanted to do, you have to add to your Androidmanifest.xml the following intent filter:
Code:
<intent-filter>
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Independently to these two options, another thing you may be interested in, is to add your App data to the global search (quick search box), like a dictionary App would do:
Code:
<searchable xmlns:android="http://schemas.android.com/apk/res/android"
android:label="@string/search_label"
android:searchSettingsDescription="@string/settings_description"
android:includeInGlobalSearch="true"
android:searchSuggestAuthority="dictionary"
android:searchSuggestIntentAction="android.intent.action.VIEW">
</searchable>
Click to expand...
Click to collapse
Thanks, it indeed is the quick search i'm talking about.
I believe that most apps are searchable by default by their names.
I want to add long press functionality to the search results so I can add a shortcut directly from the search results instead of scrolling though the app-drawer looking for the app and then creating a shortcut.
I think this would be a good time saver.

Anyone have the skill to put the GPS on/off button back?

Bummed that Asus took it out of the quick settings pop up menu as ill take that location over a crappy widget anyday. Anyone capable of getting it put back or do we need bootloader unlocked for such a hack/mod?
UPDATE: jump to page #2 to see the progress on getting this back
Guy...just add the quick settings widget onto your homescreen if you're that crazy over quick on/off for GPS.
Or instal from market beautifull widgets....and dont cry.
Wysłane z mojego Transformer Prime TF201 za pomocą Tapatalk
Tairen said:
Guy...just add the quick settings widget onto your homescreen if you're that crazy over quick on/off for GPS.
Click to expand...
Click to collapse
I'm not your guy buddy... and do you really think I needed you to tell me I could do this? Please.
And BTW it is the power control widget.... not a "quick settings widget" d'ohhh
We had it in HC & lost it in ICS... I simply want it back
mibo666 said:
Or instal from market beautifull widgets....and dont cry.
Wysłane z mojego Transformer Prime TF201 za pomocą Tapatalk
Click to expand...
Click to collapse
See above .. and with your recommendation you get the joy of using that lame widget just to get taken to the settings only to then have to click back or home. And then maybe the app - 2-3 clicks versus 1
Lock-N-Load said:
I'm not your guy buddy...
Click to expand...
Click to collapse
Bbbbllllhahahhahaa!!!!!! ROFL!!!
Sent from my CM7 Atrix 4G
Lock-N-Load said:
I'm not your guy buddy... and do you really think I needed you to tell me I could do this? Please.
And BTW it is the power control widget.... not a "quick settings widget" d'ohhh
We had it in HC & lost it in ICS... I simply want it back
Click to expand...
Click to collapse
I don't really give a flying ape **** what it's called. If you know then use it...guy.
Yo, why is everyone so sour in this thread? What's the deal?
http://youtu.be/ONqYuqWY8iM
AJC9000 said:
http://youtu.be/ONqYuqWY8iM
Click to expand...
Click to collapse
Suddenly, my life seems so much clearer.
It's just a simple question!
+1 for getting the gps button back.
Verstuurd van mijn Transformer Prime TF201 met Tapatalk
gruntguy said:
Yo, why is everyone so sour in this thread? What's the deal?
Click to expand...
Click to collapse
They are just hating for no logical reason. We had it, we lost it, it is a logical quick settings item, lets get it back. How can you hate on that?
The ironic thing is that using a widget is designed to help or aid or speed up a process.... well so is having it back in the quick settings menu but that gets hated on?
If I had the skill to address this I would have done it the day ICS rolled out as clearly they took it out of the quick settings menu as a step to sweep the GPS issues under the rug - out of sight out of mind.
GPS Checkbox findings. Will update this post as I find more
So this is what I have found so far regarding GPS Checkbox missing code. I have been comparing the ICS SystemUI XML files with the HC SystemUI XML files.
I have found 3 pieces of code that differ so far.
SystemUI/res/values/ids.xml
Code:
<item type="id" name="quick_settings_powersaving_checkbox">false</item>
<item type="id" name="quick_settings_powersaving_separator">false</item>
<item type="id" name="quick_settings_normalspeed_checkbox">false</item>
<item type="id" name="quick_settings_normalspeed_separator">false</item>
<item type="id" name="quick_settings_turbo_checkbox">false</item>
<item type="id" name="quick_settings_turbo_separator">false</item>
<item type="id" name="quick_settings_dev_checkbox">false</item>
<item type="id" name="quick_settings_autorotate_checkbox">false</item>
<item type="id" name="quick_settings_wifi_checkbox">false</item>
<item type="id" name="quick_settings_bluetooth_checkbox">false</item>
<item type="id" name="quick_settings_silent_checkbox">false</item>
<item type="id" name="quick_settings_autosync_checkbox">false</item>
[B] [SIZE="4"]<item type="id" name="quick_settings_gps_checkbox">false</item>[/SIZE]
[/B]<item type="id" name="quick_settings_airplane_separator">false</item>
<item type="id" name="quick_settings_airplane_checkbox">false</item>
<item type="id" name="quick_settings_wifisharing_separator">false</item>
<item type="id" name="quick_settings_wifisharing_checkbox">false</item>
SystemUI/res/values/public.xml
Code:
<public type="id" name="quick_settings_powersaving_checkbox" id="0x7f0f0077" />
<public type="id" name="quick_settings_powersaving_separator" id="0x7f0f0078" />
<public type="id" name="quick_settings_normalspeed_checkbox" id="0x7f0f0079" />
<public type="id" name="quick_settings_normalspeed_separator" id="0x7f0f007a" />
<public type="id" name="quick_settings_turbo_checkbox" id="0x7f0f007b" />
<public type="id" name="quick_settings_turbo_separator" id="0x7f0f007c" />
<public type="id" name="quick_settings_dev_checkbox" id="0x7f0f007d" />
<public type="id" name="quick_settings_autorotate_checkbox" id="0x7f0f007e" />
<public type="id" name="quick_settings_wifi_checkbox" id="0x7f0f007f" />
<public type="id" name="quick_settings_bluetooth_checkbox" id="0x7f0f0080" />
<public type="id" name="quick_settings_silent_checkbox" id="0x7f0f0081" />
<public type="id" name="quick_settings_autosync_checkbox" id="0x7f0f0082" />
<public type="id" name="quick_settings_airplane_separator" id="0x7f0f0083" />
<public type="id" name="quick_settings_airplane_checkbox" id="0x7f0f0084" />
<public type="id" name="quick_settings_wifisharing_separator" id="0x7f0f0085" />
<public type="id" name="quick_settings_wifisharing_checkbox" id="0x7f0f0086" />
[B][SIZE="4"]<public type="id" name="quick_settings_gps_checkbox" id="0x7f0f00b8" />[/SIZE][/B]
This one above is a tricky one as it needs the creation of a new ID. Currently I have it right at the end of the file which is why the ID does not follow exactly (there are about 800 lines of code in the whole file). In the HC file it follows directly after autosync checkbox line. This is the ID that I believe needs to be added somewhere into the smali code also. However I currently have no idea where it needs to go as I cannot find the IDs for the other checkbox references anywhere in any of the SystemUI smali code.
SystemUI/res/layout-sw600dp/status_bar_quick_settings_switch.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.tablet.QuickSettingsSwitch android:orientation="vertical" android:background="@drawable/quick_settings_switch_bg" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.android.systemui.statusbar.tablet.QuickSettingsHorizontalScrollView android:orientation="horizontal" android:id="@id/onoff_scroller" android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="69.0dip">
<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">
<CheckBox android:id="@id/quick_settings_powersaving_checkbox" android:background="@drawable/asus_ep_control_onoff_powersaving" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:id="@id/quick_settings_powersaving_separator" android:background="@drawable/asus_ep_sepline4" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_normalspeed_checkbox" android:background="@drawable/asus_ep_control_onoff_normalspeed" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:id="@id/quick_settings_normalspeed_separator" android:background="@drawable/asus_ep_sepline4" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_turbo_checkbox" android:background="@drawable/asus_ep_control_onoff_turbo" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:id="@id/quick_settings_turbo_separator" android:background="@drawable/asus_ep_sepline4" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_dev_checkbox" android:background="@drawable/asus_ep_control_onoff_development" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_autorotate_checkbox" android:background="@drawable/asus_ep_control_onoff_autorotate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_wifi_checkbox" android:background="@drawable/asus_ep_control_onoff_wifi" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_bluetooth_checkbox" android:background="@drawable/asus_ep_control_onoff_bluetooth" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_silent_checkbox" android:background="@drawable/asus_ep_control_onoff_silent" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_autosync_checkbox" android:background="@drawable/asus_ep_control_onoff_autosync" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
[B][SIZE="4"]<View android:background="@drawable/asus_ep_sepline3" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_gps_checkbox" android:background="@drawable/asus_ep_control_onoff_gps" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />[/SIZE][/B]
<View android:id="@id/quick_settings_airplane_separator" android:background="@drawable/asus_ep_sepline3" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_airplane_checkbox" android:background="@drawable/asus_ep_control_onoff_flightmode" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
<View android:id="@id/quick_settings_wifisharing_separator" android:background="@drawable/asus_ep_sepline3" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="wrap_content" />
<CheckBox android:id="@id/quick_settings_wifisharing_checkbox" android:background="@drawable/asus_ep_control_onoff_wifisharing" android:visibility="gone" android:layout_width="wrap_content" android:layout_height="wrap_content" android:button="@null" />
</LinearLayout>
</com.android.systemui.statusbar.tablet.QuickSettingsHorizontalScrollView>
</com.android.systemui.statusbar.tablet.QuickSettingsSwitch>
So these are my findings so far. From what I can see I think that these are the only 3 files in SystemUI that need this modification, other than the possible smali code addition, but that is gonna take a lot more research.
Unfortunately it seems that currently although we can decompile SystemUI.apk with apktool, even if we make no modifications we cannot recompile SystemUI.apk
So currently all this is very much theory, but I'm enjoying the research.
Thanks to Lock-N-Load for the original idea and the words of encouragement, and thanks to reNeglect for being so gracious to allow us to hijack his thread and for also helping with trying to recompile the file.
Stay tuned.
To update users coming in... Doktaphex and reNeglect and I have been tracking down a way to get the GPS icon back into the quick settings menu where it was before Asus nixed it from the ICS build for no other reason than to try to sweep the GPS issue under the rug. we high jacked reNeglect's thread on some other quick settings mods he has done, so now it is time to bring it back to this thread and give him back his thread
Doktaphex, by tediously comparing HC and ICS files, has found some references we believe are the code bits removed so as to remove that icon - that is what is above. We also found that the GPS quick settings icons - 3 of them - are still in the SystemUI - they have just been "turned off" so to speak from being seen and used.
So, right now, it is easy to make the changes to the above code lines, but we cannot yet compile and test under ICS. It is great progress and I have no doubt this will be cracked.
Man, I'd love to take a crack at this, but I'm a little wary of replacing system files without having recovery available. :/
Noxious Ninja said:
Man, I'd love to take a crack at this, but I'm a little wary of replacing system files without having recovery available. :/
Click to expand...
Click to collapse
The more brains on board the better. At the moment though just getting systemUI to recompile is a problem, so there's currently no danger in even trying to replace the file
However, reNeglect did have a nasty experience with trying to mod some framework stuff and getting a soft-brick. So I can understand your wariness.
Doktaphex said:
This one above is a tricky one as it needs the creation of a new ID. Currently I have it right at the end of the file which is why the ID does not follow exactly (there are about 800 lines of code in the whole file). In the HC file it follows directly after autosync checkbox line. This is the ID that I believe needs to be added somewhere into the smali code also. However I currently have no idea where it needs to go as I cannot find the IDs for the other checkbox references anywhere in any of the SystemUI smali code.
Click to expand...
Click to collapse
Do the other existing IDs in the ICS file all match the same call to the IDs in the HC file and that is where you got the ID for the GPS line? Or did you just make it up using logic as the next number? Point is, if the other IDs are the same across each file, it seems logical and stands to reason the same code and line and ID would be put in the ICS file.
Also, if you search the entire SystemUI for just 1 of those other IDs and it does not show up in any other file but that file I am not so sure that there then is another call out there in some file to that ID. If so, you think it is outside SystemUI?
Nope all IDs are completely different than the HC ones, and searching for any of the other IDs will take a while, as I think the only time they are referenced at all is in the smali code, have to open each file and then do a search inside that file. There are a shed load of them.
Damn.. okay here is an idea
Maybe how about look and see if the Moto Xoom ICS has a system dump yet and if it has these files and do a compare as that will be ICS to ICS? See how those differ? (I am about to see if I can do the same on the wpa_supplicant issue to get ad hoc support for tethering IF the dump is available yet.)
Lock-N-Load said:
Damn.. okay here is an idea
Maybe how about look and see if the Moto Xoom ICS has a system dump yet and if it has these files and do a compare as that will be ICS to ICS? See how those differ? (I am about to see if I can do the same on the wpa_supplicant issue to get ad hoc support for tethering IF the dump is available yet.)
Click to expand...
Click to collapse
The problem here is that those quicksettings checkboxes are exclusive to ASUS' UI enhancements, therefore they won't be referenced in any other builds from another manufacturer.
Doktaphex said:
The problem here is that those quicksettings checkboxes are exclusive to ASUS' UI enhancements, therefore they won't be referenced in any other builds from another manufacturer.
Click to expand...
Click to collapse
ahhh yeah.. damn, got ahead of myself. my bad.

[Q] Unable to slide vertical scrollbar

I'm new to android development, so unsure if this is the best way to do what I want, so feel free to provide suggestions. What I want to do is simply just display some verbose text messages to the screen that will scroll and allow the user to slide up and down vertically so they can view any of the messages.
I've spent the past few days trying everything I can find on Google and I still have yet to get anything working. I have been able to successfully have the text display, append to the previous text, and scroll on its own. The common issue I have seen with my working implementations has been the ability of the user being able to scroll the vertical scroll-bars themselves. I have implemented the object properties in the xml, as well as in code, but neither have worked and I'm assuming it is just a noob mistake or some little thing i'm missing.
I have tried both a TextView as well as an EditText object. I have used them in Scrollviews, by themselves but nothing seems to work. I would prefer to use the EditText with scrollbars, but at this point I am up for anything that works. I am pasting what I have currently using the EditText. I have removed the scrollview below just to start with a simpler base.
If anyone has any ideas for what will solve my issue please let me know. I also have a device on order so I do not have the ability to try on hardware yet, so I am doing this all in the droid emulator. Unsure if that is a problem.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="hxxp://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/path"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<org.apache.android.media.CustomVideoView
android:id="@+id/custom_videoview"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="3.33" />
<EditText
android:id="@+id/MessageText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textMultiLine" android:layout_marginTop="100dp" android:scrollbars="vertical" android:fadeScrollbars="false" android:gravity="top" android:maxHeight="100dp" android:textSize="10sp">
<requestFocus />
</EditText>
</LinearLayout>

Removing Carrier (Network Operator) from Lockscreen

All of the guides/methods/apps/mods I have read are out of date and do not work on the LG G2 since updating to Lollipop. I have tried xposed framework "Remove carrier" and this does also not work for me.
I have decompiled the framework-res.apk and had a look inside for the file "res/layout/keyguard_screen_tab_unlock.xml" as per this thread but it does not exist.
I can find the following though:
In "public.xml" the following lines:
<public type="string" name="keyguard_label_text" id="0x0104039c" />
<public type="string" name="lockscreen_carrier_default" id="0x0104039e" />
In strings.xml the following line:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout androidrientation="vertical" android:background="#ff000000" androidaddingTop="20.0dip" androidaddingBottom="20.0dip" android:layout_width="wrap_content" android:layout_height="wrap_content" androidaddingStart="20.0dip" androidaddingEnd="20.0dip"
xmlns:android="http://schemas.android.com/apk/res/android">
<TextView android:textSize="16.0sp" android:textStyle="bold" android:textColor="#ffffffff" android:id="@id/label" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/keyguard_label_text" />
</LinearLayout>
I wonder if I remove the 16.0sp above it will go away?
I wonder if I remove the string in quotes under the other two lines in public.xml it would go away.
Probably more to it than that.
I could not find reference to anything else anywhere that seemed like the place to affect it. It's not a big deal really. Just thought I would try to get rid of it.
just try textSize="0.0sp"
maybe in LGSystemUI?
Sorry the larger text section above was from the file named "keyguard.xml" rather than strings. Sorry, my mistake. I might try changing the "textsize=16.0sp" to "textsize=0.0sp" and see what happens.
Are you solved?
Hello, i've successfully removed the carrier and also moved the charging text right under the clock and date. You can check my thread in the themes section. I'll be releasing the version with the removed carrier and with some other nice things like unlocked weather animations, next alarm text etc in the coming day or two.
Sent from my LG-D802 using XDA Free mobile app
Is there any way to replace the text with a custom one without using xposed? And maybe in statusbar too.

Categories

Resources