Soft keys - Nexus 5 Q&A, Help & Troubleshooting

Does anyone know if it's possible to reorder the soft key layout? I came from a Galaxy S3, and I'm really use to my back button being on the right of the home button.
Thanks in advance!
Sent from my Nexus 5 using xda app-developers app

alissa7 said:
Does anyone know if it's possible to reorder the soft key layout? I came from a Galaxy S3, and I'm really use to my back button being on the right of the home button.
Thanks in advance!
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
Should be possible with root, but you'll have to mess with system files.

Wait for real custom Rom.

Yeah I'm coming from Samsung S2, Note 3 and want the buttons the same as that device
left to right (tap/hold)
menu
home/task list
back/kill app
I've got root, now I just need to know how to make the changes.
Must be pretty straight forward.
(yes I've side-graded to the N5 from the N9005. mum is on the on the Note 2 so giving my Note3 to her and I'll have the same device ans my girlfriend, converting her from iPhone3G to Nexus 5 )

It's very possible. There are some tutorials floating around you should be able to find as well as some apps or framework modules that might be able to do the same thing. Eventually there will be custom roms with this option baked in.
Sent from my Nexus 5 using Tapatalk

It's already in some of the ROMs. I have home to the left with voice search on long press, recent apps left center, quick settings right center with main settings on long press, back to the right with kill app on long press. So 4 keys and as I've come from a long line of galaxies myself the back button to the right was never in doubt when I was fiddling the layout. I'm using PSX which looks like it may be shut down but others have the functionality as well.

I use softkeyz app to change icons. But idk about changing the order. But why would you want to
Sent from my Nexus 5 using xda app-developers app

imablackhat said:
I use softkeyz app to change icons. But idk about changing the order. But why would you want to
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
because the back button should be on the right

It's an easy edit if you have the ability to de/recompile systemUI.
Navigate to SystemUI.apk\res\layout\navigation_bar.xml. I didn't like reaching over for the back button so all I did was flip recents and back. To do that all you need to do is reorder the lines in the xml.
Code:
<FrameLayout android:id="@id/rot0" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="horizontal" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<View android:visibility="invisible" android:layout_width="40.0dip" android:layout_height="fill_parent" android:layout_weight="0.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_recent" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_home" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="@dimen/navigation_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_back" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="@dimen/navigation_menu_key_width" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_menu" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
</LinearLayout>
The above code shows after the edit that gives me the order of (recents/home/back)
Code:
<FrameLayout android:id="@id/rot90" android:paddingTop="0.0dip" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent">
<LinearLayout android:orientation="vertical" android:id="@id/nav_buttons" android:clipChildren="false" android:clipToPadding="false" android:layout_width="fill_parent" android:layout_height="fill_parent" android:animateLayoutChanges="true">
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/menu" android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="40.0dip" android:src="@drawable/ic_sysbar_menu_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_menu" systemui:keyCode="82" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_back_land" android:scaleType="center" android:layout_weight="0.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/home" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_home_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_home" systemui:keyCode="3" systemui:keyRepeat="false" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_weight="1.0" />
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="fill_parent" android:layout_height="80.0dip" android:src="@drawable/ic_sysbar_recent_land" android:layout_weight="0.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/ic_sysbar_highlight_land" />
<View android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="40.0dip" android:layout_weight="0.0" />
</LinearLayout>
The above shows the same order edited to the "@id/rot90" grouping so that the same order is shown in landscape.
{
"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"
}
good day.

chopper the dog said:
It's an easy edit if you have the ability to de/recompile systemUI.
snip..
Click to expand...
Click to collapse
Thanks a lot having a play now

Related

UC Setup provisioning question

Hi there,
I'm trying to set-up a shortcuts.xml which rearranges the startmenu icons the way I want them. This is what I have so far:
shortcuts.xml:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%\GPS\Nav4All.lnk">
<characteristic type="Move">
<parm name="Source" value="%CE17%\Nav4All.lnk" translation="install"/>
</characteristic>
</characteristic>
<characteristic type="%CE11%\Internet\MySpace.lnk">
<characteristic type="Move">
<parm name="Source" value="%CE17%\MySpace.lnk" translation="install" />
</characteristic>
</characteristic>
<characteristic type="%CE11%\Tools\Shake And Save.lnk">
<characteristic type="Move">
<parm name="Source" value="%CE17%\Shake And Save.lnk" translation="install" />
</characteristic>
</characteristic>
<characteristic type="%CE17%\Messenger.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
<characteristic type="%CE17%\Windows Live.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>
UC Setup itself is working fine for other xml files but not for this one. The shutcuts are simply not moved/deleted.
Can any of you guys/girlz help me out?
I found the solution myself. Here's the correct xml file:
<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%\GPS" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Nav4All.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE11%\Nav4All.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE11%\Internet" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Myspace.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE11%\MySpace.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE11%\Tools" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Shake and Save.lnk" translation="install">
<characteristic type="Move">
<parm name="Source" value="%CE11%\Shake and Save.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
<characteristic type="%CE11%\Windows Live.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
<characteristic type="%CE11%\Messenger.lnk" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete" />
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

[Dev] Improve cam video quality by etc/media_profiles ... is it possible?

Hi, I'm not sure about it but today I'm looking into this file
etc/media_profiles.xml
Click to expand...
Click to collapse
that includes (I think) settings for camera.
for example, from the xml
-<CamcorderProfiles cameraId="0"> -<EncoderProfile duration="60" fileFormat="mp4" quality="high"> <Video frameRate="30" height="720" width="1280" bitRate="10000000" codec="h264"/> <Audio bitRate="96000" codec="aac" channels="1" sampleRate="16000"/> </EncoderProfile> -<EncoderProfile duration="30" fileFormat="3gp" quality="low"> <Video frameRate="30" height="144" width="176" bitRate="256000" codec="h264"/> <Audio bitRate="12200" codec="amrnb" channels="1" sampleRate="8000"/> </EncoderProfile> <ImageEncoding quality="90"/> <ImageEncoding quality="80"/> <ImageEncoding quality="70"/> <ImageDecoding memCap="20000000"/> </CamcorderProfiles>
Click to expand...
Click to collapse
as you can read, there are info about bitrate and image quality
Now, I saw that in Sensation mod, the developer had modded this file too, I think that we can improve easely the image quality and bitrate
is it true?
for example a possible mod
-<CamcorderProfiles cameraId="0"> -<EncoderProfile duration="60" fileFormat="mp4" quality="high"> <Video frameRate="30" height="720" width="1280" bitRate="15000000" codec="h264"/> <Audio bitRate="128000" codec="aac" channels="1" sampleRate="16000"/> </EncoderProfile> -<EncoderProfile duration="30" fileFormat="3gp" quality="low"> <Video frameRate="30" height="144" width="176" bitRate="256000" codec="h264"/> <Audio bitRate="12200" codec="amrnb" channels="1" sampleRate="8000"/> </EncoderProfile> <ImageEncoding quality="100"/> <ImageEncoding quality="100"/> <ImageEncoding quality="100"/> <ImageDecoding memCap="20000000"/> </CamcorderProfiles>
Click to expand...
Click to collapse
has someone info about it?
EDIT It works !
ok guys
I recorded 2 videos, equal subject, equal light, equal time
with the following xml (bitrate video 12000000, bitrate audio 128000, image quality 100%) I can see the following differences
{
"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"
}
The quality improve is visible easy.
Total file size with old XML 4061 KB
Total file size with modded XML 6219 KB
If someone is interesting I can Upload My XML but you can make yourself our modded file (as you want) or you can use the cwm version by luise ...
edit final version (attached), video +50% size:
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="high" fileFormat="mp4" duration="60">
<Video codec="h264"
bitRate="12000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="128000"
sampleRate="44100"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="low" fileFormat="3gp" duration="30">
<Video codec="h264"
bitRate="256000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="100" />
<ImageEncoding quality="95" />
<ImageEncoding quality="90" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
Click to expand...
Click to collapse
There is a second version that is 18000000 as video bitrate, 256000 audio bitrate and 96000 sample rate. Image Encoding quality 100 100 100. This isn't tested by me yet, I know (I tried) that Encoding quality always 100 works, but I don't know about bitrate...
Flash through ES File Manager (Root Mode + w) or other file manager like it...
EDIT UPDATE 2
Looks pretty good. Will test that later
Enviado desde mi GT-I9003 usando Tapatalk
Very interesting, but I can't test it. I'm on CM9
i did simple text editing and audio setting are exepted you can make them higher bit rate i mean,video resolution didnt change.
Testing right now... I did a flaseable zip so if anyone want to test it is easier for everybody..
I don't appreciate any difference, but I will make more photos. Thank u!
luiseteyo said:
Testing right now... I did a flaseable zip so if anyone want to test it is easier for everybody..
I don't appreciate any difference, but I will make more photos. Thank u!
Click to expand...
Click to collapse
this mod improves only the video quality, no the photos quality
|DM| said:
this mod improves only the video quality, no the photos quality
Click to expand...
Click to collapse
aaaarggg... Will test. Sorry and thank u
Enviado desde mi GT-I9003 usando Tapatalk
xGiox said:
i did simple text editing and audio setting are exepted you can make them higher bit rate i mean,video resolution didnt change.
Click to expand...
Click to collapse
y, I think that to improve the video resolution we need edit the camera.apk, if it's possible... is it true?
Also, in this way we can't edit photos quality, for example with less jpeg compression...
Ok I'm testing my version edited (bitrate video 12000000, bitrate audio 128000, image quality 100%)
I recorded the same subject for same time, I saw that the output file with my mod is more big that the "original"
Now I want to check with PC the 2 sample videos
UPDATE FIRST POST!!!!! IT WORKS
I think it is for video and photos...
did u check this? http://code.google.com/p/aokp/issues/detail?id=240
EDIT: And this one... http://forum.xda-developers.com/showthread.php?t=1280558
UHM as u can read in first post, it works sure on video... on photos I don't know
I check your link (I'm started from this thread http://forum.xda-developers.com/showthread.php?t=1533238 because I'm realy interesting to improve photos quality), we need to do more test on photos, but if is true... good
Anyway, set - 2 channel(stereo) like first link it's useless, because the mic inside the phone is mono, not stereo ...
It seems to work in photos too. I have the build.prop edited and with this the difference is huge. Will be working on this too. I would like to improve photos
Enviado desde mi GT-I9003 usando Tapatalk
good news, tomorrow, with sun light, I will make a photos with and without mod...
I will post some snap
luiseteyo said:
I think it is for video and photos...
did u check this? http://code.google.com/p/aokp/issues/detail?id=240
EDIT: And this one... http://forum.xda-developers.com/showthread.php?t=1280558
Click to expand...
Click to collapse
Yes, this could be inlcuded in any custom ROM. You can look here and here for further inspiration. Also, this can be combined with the dark video fix.
XDA_Bam said:
Yes, this could be inlcuded in any custom ROM. You can look here and here for further inspiration. Also, this can be combined with the dark video fix.
Click to expand...
Click to collapse
but I read that the dark video fix has problems like laggy, blur etc
|DM| said:
but I read that the dark video fix has problems like laggy, blur etc
Click to expand...
Click to collapse
That sounds probable. If you limit the framerate to a minimum of 30fps, the video can become very dark when there is not enough light. If you lower this limit to - say - 10 fps, the video will be brighter in low light, but it will be "laggy" and because each frame is exposed longer than at 30 fps, blur will be more likely. Both is inevitable, but in my opinion still better than a black video
XDA_Bam said:
That sounds probable. If you limit the framerate to a minimum of 30fps, the video can become very dark when there is not enough light. If you lower this limit to - say - 10 fps, the video will be brighter in low light, but it will be "laggy" and because each frame is exposed longer than at 30 fps, blur will be more likely. Both is inevitable, but in my opinion still better than a black video
Click to expand...
Click to collapse
yess, I think that it's true, like in photocamera with exposure. But this problem is present at lower resolution... there are a little difference @ 720p
best i could get,wondering if we can edit it to make video at higher fps or resolution(with editing camera.apk).
XDA_Bam where did u take those links from? Tomorrow will test both and try different combinations. Finally we could put together etc modifications + -15% battery mod + darkvideo mod and make a flaseable file
Mmmm do someone know if other users had improve the camera videorec resolution?
I think that 720p limit it's an hw limit, not software...

[MOD] 15 Toggles in ICS blue for the VZW S3 and Tether Bypass *UPDATE 8/12*

Hey guys,
I just successfully ported the 15 toggle mod with blue toggles and blue battery icon to the VZ S3 (Deodexed VRLF2 ROM).
I did this before on the NOTE, so now for the Verizon S3 VRLF2 and VRLG1 based ROMs I present: My "official" port with brightness slider,
painstakingly "transplanted" from an existing version I found for the I9300 into the SynergyRom for I535.
This should work with all deodexed VRLF2/VRLG1 ROMs though!
Update 8/12:
Toggles with theming for SynergyROM 1.5, 1.6 and 1.7 (SystemUI was unchanged between these three ROMs):
http://electron73.org/XDA/S3/synergy17/Electron_Toggles_4_Synergy.zip
Wifi tether entitlement check bypass for SynergyROM 1.6:
http://electron73.org/XDA/S3/synergy16/Electron_Tethering_4_Synergy16.zip
Wifi tether entitlement check bypass for SynergyROM 1.7:
http://electron73.org/XDA/S3/synergy17/Electron_Tethering_4_Synergy17.zip
The tethering bypass completely removes the entitlement check from the built in stock WIFI hotspot feature, so it can be used freely via the regular menu switch (usually pops up a message asking for separate subscription) or the blue 15 toggle WIFI AP switch. No more need to use a separate
app for the hotspot. I always found the internal one more stable and turns on/off faster.
Newest version also completely deletes the SPG.apk which is responsible for the entitlement check and tethering management.
So I would assume (NO guarantees, of course!) that this is the best way to tether without VZ knowing.
My personal advice, especially for unlimited plans: Use occasionally and in moderation or pay for the official feature!
As always: Flash at your own risk! IF you like it, PLEASE massage that THANKS button for me
----------------------------------------------------------------------------------------------------------------------
Attached is a screenshot of the result on my phone.
{
"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"
}
The following steps I found out by doing file comparisons between a modded and an unmodded SystemUI, so here is what I found in hopes of being helpful to anyone interested in porting or transplanting the toggle mod the way I did. I later found out there is an existing guide by wanam here.
The Toggle-Mod explained - How to transplant the toggled from a (foreign) ROM or add-on ZIP (containing a SystemUI.apk) to YOUR ROM:
Using apktool I decompiled both my SystemUI.apk and the one from AndroidGX in the I9300 forum.
1) Copy the entire smali/com/wanam folder over. It contains all the scripts for the toggles. We need those.
2) Open res/values/ids.xml and add as the last line before the closing tag:
Code:
<item type="id" name="exp_power_stat">false</item>
3) Open res/values/public.xml and add as last line before closing tag:
Code:
<public type="id" name="exp_power_stat" id="0x7f0f00d9" />
4) Open res/layout/tw_status_bar_expanded.xml and change
Code:
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content"
to:
Code:
<com.wanam.systemui.quickpanel.PowerWidget android:id="@id/exp_power_stat" android:layout_width="fill_parent" android:layout_height="wrap_content" />
<HorizontalScrollView android:id="@id/quicksetting_scroller" android:visibility="gone" android:scrollbars="none" android:layout_width="wrap_content" android:layout_height="wrap_content"
Also in this same file the brightness slider can be turned on by removing the android:visibility="gone" from the following line:
Code:
<LinearLayout android:orientation="horizontal" android:focusable="true" android:visibility="gone" android:clickable="true" android:layout_width="fill_parent" android:layout_height="56.0dip">
5) Now comes the trickiest part, editing the SMALI code for the statusbar. It can be found at smali/com/android/systemui/statusbar/phone/PhoneStatusBar.smali.
Describing the exact edits (inserts) here would turn this into a monster, so I attached a ZIP with the PhoneStatusBar.smali BEFORE and AFTER. Feel free to use TotalCommander or any other file compare tool to see what was inserted where. All I had to do was insert code in the right spots. Nothing needs to be deleted.
6) With all the changes in place, I used APKTOOL again to compile the whole thing and then used zipalign on the resulting file to get a nice, zipaligned, distributable SystemUI.apk.
ZIP files that install everything along with the other needed parts (lidroid.res and QuickPanelSettings.apk) can be found everywhere, so I just took one of these and dropped my SystemUI.apk in there.
Well.. I hope this information was helpful and can be used by more devs to offer this great mod in their ROMs
Credits go to:
lidroid, wanam for the original toggle code and AndroidGX for the i9300 version
Sweet. Flashing now.
Update. Works great so far. I'm still on Synergy 1.1. Thank you!!!
Thanks man. This is working perfect.
Sent from my SCH-I535 using Tapatalk 2
Great! Precisely what I was looking for. Love the Torch and Brightness
Sent from my GT-P7510 using Tapatalk 2
Ah, here it is...good deal!
Sent from my SCH-I535 using xda premium
Is it possible to have this exact same toggle but to disable the brightness slider?
biggd963 said:
Is it possible to have this exact same toggle but to disable the brightness slider?
Click to expand...
Click to collapse
+1.... since I always leave the brightness on auto this would be nice
Sent from my SCH-I535 using Tapatalk 2
This is great. Thanks
VERIZON GALAXY S 3
Has any brave soul tried this on stock? :-\
Sent from my SCH-I535 using Tapatalk 2
1ManWolfePack said:
Has any brave soul tried this on stock? :-\
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
I just wanna say nice pic. Breaking Bad is amazing.
Sent from my SCH-I535 using Tapatalk 2
1ManWolfePack said:
Has any brave soul tried this on stock? :-\
Click to expand...
Click to collapse
I'm stock. Works perfectly.
Sent from my SCH-I535 using Tapatalk 2
thunderbread said:
I just wanna say nice pic. Breaking Bad is amazing.
Sent from my SCH-I535 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! I even grew out a real goatee because Walt is my hero
"I'm the one who knocks"
Sent from my SCH-I535 using Tapatalk 2
Ok, this is sick. Even killed the GPS Crosshairs.
Bonus!
And I can't believe I am saying this, but I was jealous of an employee who had a GS3 on US cellular because they have the brightness slider stock.
Thanks, OP!
Sent from my SCH-I535 using Tapatalk 2
Nice work I'm going to *******ize this and add it to my theme if you don't mind. With full credit to you of course.
Sent from my SCH-I535 using xda app-developers app
just a heads up, this borked my notification pull down menu, running beans build 5. I know the op said it was for vrlf2, but I had to try lol.
Thanks
droidstyle said:
just a heads up, this borked my notification pull down menu, running beans build 5. I know the op said it was for vrlf2, but I had to try lol.
Click to expand...
Click to collapse
Was wondering just that. Thanks for the heads up
Another bonus to this mod:
Makes BT auto connect.
This mod made my day...
Sent from my SCH-I535 using Tapatalk 2
Yeah it totally got rid of my pull down on stock.
Sent from my SPH-L710 using xda premium
Love the mod. What does the lock button do? Nothing seems to happen when i press it
Sent from my SCH-I535 using Tapatalk 2
If you don't want the brightness slider there's this: http://forum.xda-developers.com/showthread.php?t=1814135
Make sure you apply the required theme first.
Sent from my htc_jewel using xda premium

3Minit quicklaunch panel

{
"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"
}
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Waiting for 3minit user get this wonderful mods......hope Gary release the updated app soonest......cant wait ....yeahh...
Sent from my GT-I9500 using XDA Premium 4 mobile app
gharrington said:
The quicklauncher panel:
It is simply a scrollable panel of app shortcuts that you instantly launch from your drop down panel. You can launch apps from inside other app without the need to exit to home screen first. You can also edit and order the shortcuts to suit your needs.
The idea:
When I started writing this mod I wanted to make it as easy to implement as possible which means no smali changes. I also wanted to make it universal for most android devices so thats what you get.
Implementation Guide:
This guide assumes you can already decompile and recompile an .apk correctly. If you cannot do this please don`t ask me how there are already lots of guides on how to do this here at XDA.
prerequisites:
A deodexed SystemUI.apk with a api level of 16 or higher
Knowledge of decompiling and recompiling the .apk.
These files: Download. MD5:fc5e7cd2c6192461e9ebca6661c70a49
Decompile the SystemUI.apk and navigate to smali/com/android/systemui/statusbar/policy
Copy the quicklaunch folder from the downloaded files and paste it into the above location
Navigate to res/layout and open status_bar_expanded.xml look for this line:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/scrollCart" android:layout_width="fill_parent" android:layout_height="wrap_content">
(Note this is based on TW stock files you may have to mess with the location in your file to find correct placemant)
Directly below that line add:
Code:
<HorizontalScrollView android:scrollbars="none" android:layout_width="fill_parent" android:layout_height="wrap_content">
<com.android.systemui.statusbar.policy.quicklaunch.QuickLaunchContainer android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" />
</HorizontalScrollView>
Recompile and push to your device its done
Sharing policy:
You are free to bake this into your roms provided:
Proper credit and a link is given not just a mention in a random thread that will be lost in hours.
You use the mod as a whole and not take peices of my code and use elsewhere.
You leave the copyright information as it is.
You dont add you own settings to control the panel eliminating the need for donate app.
How to use:
To add a shortcut simply scroll all the way to the right and press the + symbol this will bring up a list of currently installed app to choose from click one to apply.
To change or remove a shortcut long press the icon and a menu will appear select the desired option by clicking it.
You can also get further functionality by getting the quicklauncher app from the Playstore for just $1. In this you can set colors, visibility of the panel and text etc and more.(Note I have just uploaded it so it may take a few hours to show.) This will support me and the development thanks.
Current 3Minit users will of course get this include in the current app for no charge.
XDA:DevDB Information
3Minit quicklaunch panel, a Tool/Utility for the Samsung Galaxy S 4
Contributors
gharrington, http://forum.xda-developers.com/member.php?u=4619873
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2014-02-16
Created 2014-02-16
Last Updated 2014-02-16
Click to expand...
Click to collapse
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
zioriky said:
Hi @gharrington
great job, I have a little problem, when I restart all links go away
How can I fix?
Click to expand...
Click to collapse
Rule of thumb. Don't quote the OP post.

[TUT]Make your own watchface

---Moved Here---​
You sir, are a legend.
I love you!!!
Thanks so much
Dumb question - after you run the Android application via Eclipse and it installs the APK onto the phone, how do you view the watchface? Should it show as a new watchface clock in the customise watchface editor?
Edit: Answered my own question - yes
Are you able to explain how to add a date to the analog clock (e.g. day of the month) and also maybe the month (e.g. Jul for July)
Thanks in advance!
julz said:
Are you able to explain how to add a date to the analog clock (e.g. day of the month) and also maybe the month (e.g. Jul for July)
Thanks in advance!
Click to expand...
Click to collapse
I will :good:
naheel azawy said:
I will :good:
Click to expand...
Click to collapse
Hi Naheel,
I've tried adding the date but without any luck. Nothing is showing up on the watchface. Do I have to add some other code to include the new XML as part of the build? Will the date show above the watch background image or is there the chance that it is on the bottom layer? Also I'm guessing that the text will be white as per the sample code you posted. Any help is appreciated!
julz said:
Hi Naheel,
I've tried adding the date but without any luck. Nothing is showing up on the watchface. Do I have to add some other code to include the new XML as part of the build? Will the date show above the watch background image or is there the chance that it is on the bottom layer? Also I'm guessing that the text will be white as per the sample code you posted. Any help is appreciated!
Click to expand...
Click to collapse
Sorry, I forget one last step.
edited :good:
naheel azawy said:
Sorry, I forget one last step.
edited :good:
Click to expand...
Click to collapse
Thanks mate! I'll give it a go!
EDIT: Awesome it works!! Thanks once again! Time to update my watchfaces to include dates
I'm glad, Great work
I've been busy making new analog watchfaces and figured out how to offset the dials. Edit the code within \res\layout\clock_widget_analog.xml
How to offset dials
As an example the following code will use a square second hands PNG file, resize it to 45x45px and offset it 82px from the top and 70px from the left. It will continue to rotate around the centre of the PNG file (i.e. around pixel x=23,y=23)
Code:
<include layout="@layout/analog_clock_hand_seconds"
android:gravity="left"
android:layout_marginTop="82px"
android:layout_marginLeft="70px"
android:layout_width="45px"
android:layout_height="45px"
/>
julz said:
I've been busy making new analog watchfaces and figured out how to offset the dials. Edit the code within \res\layout\clock_widget_analog.xml
How to offset dials
As an example the following code will use a square second hands PNG file, resize it to 45x45px and offset it 82px from the top and 70px from the left. It will continue to rotate around the centre of the PNG file (i.e. around pixel x=23,y=23)
Code:
<include layout="@layout/analog_clock_hand_seconds"
android:gravity="left"
android:layout_marginTop="82px"
android:layout_marginLeft="70px"
android:layout_width="45px"
android:layout_height="45px"
/>
Click to expand...
Click to collapse
good notice :good:
also you can do that on the "analog_clock_hand_seconds.xml" it self.
Coming soon;
{
"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"
}
Hi Naheel,
I've found a slight bug in the 'date' code you've shared. It cuts off the second digit for double-digit dates for some reason. For the moment I've only found an inelegant hackers way to fix the problem so I won't share my solution. Not sure if you have a better way of fixing it?
Cheers,
Julian
julz said:
Hi Naheel,
I've found a slight bug in the 'date' code you've shared. It cuts off the second digit for double-digit dates for some reason. For the moment I've only found an inelegant hackers way to fix the problem so I won't share my solution. Not sure if you have a better way of fixing it?
Cheers,
Julian
Click to expand...
Click to collapse
this happen cuz you must add this:
Code:
widgets:template="dd"
and that cause the bug on some devices of showing "00" instead of the real date
also I have another way that I'll try:
Code:
<com.sonyericsson.extras.liveware.aef.widget.TimeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center" >
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="25px"
android:layout_height="20px"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="@android:color/black"
widgets:textSize="20px"
widgets:timeType="[COLOR="Red"]days_of_month_digit1[/COLOR]" />
<com.sonyericsson.extras.liveware.aef.widget.TimeView
android:layout_width="25px"
android:layout_height="20px"
android:gravity="center"
android:includeFontPadding="false"
android:textColor="@android:color/black"
widgets:textSize="20px"
widgets:timeType="[COLOR="Red"]days_of_month_digit2[/COLOR]" />
</com.sonyericsson.extras.liveware.aef.widget.TimeLayout>
Great tutorial .
Has anyone tried to create a watchface using a string level-list? The Sony clock tutorial implies you can create a levelist a little like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the most significant minute number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:string="@string/min_digit_0" />
...
</level-list>
However, Eclipse will throw an error with the use of "android:string". I have tried saving the above XML in the drawable-nodpi folder and had added the appropriate string entries in the strings.xml file.
Any ideas?
Again many thanks for your detailed tutorial, Naheel!
Here is my cyan watchface (2 included)
edit: updated apk to Naheels slim version, thanks :good:
ceeso said:
Again many thanks for your detailed tutorial, Naheel!
Here is my cyan watchface
Click to expand...
Click to collapse
Hello, thanks for the watch face but it comes up like the image.
zippy01 said:
Hello, thanks for the watch face but it comes up like the image.
Click to expand...
Click to collapse
Thanks for testing, could you try the updated apk?
edit: I removed the sonymobile example watchface, added a cyan variation without date
Updated apk is fine, thank you
Ally153 said:
Great tutorial .
Has anyone tried to create a watchface using a string level-list? The Sony clock tutorial implies you can create a levelist a little like:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the most significant minute number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:string="@string/min_digit_0" />
...
</level-list>
However, Eclipse will throw an error with the use of "android:string". I have tried saving the above XML in the drawable-nodpi folder and had added the appropriate string entries in the strings.xml file.
Any ideas?
Click to expand...
Click to collapse
I tried to make this in drawable:
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Defines the least significant hour number using a level-list of drawables
that can be referenced when creating clocks. -->
<level-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:text="one" android:textSize="20px" />
<item android:text="two" android:textSize="20px" />
<item android:text="three" android:textSize="20px" />
<item android:text="four" android:textSize="20px" />
<item android:text="five" android:textSize="20px" />
<item android:text="six" android:textSize="20px" />
<item android:text="seven" android:textSize="20px" />
<item android:text="eight" android:textSize="20px" />
<item android:text="nine" android:textSize="20px" />
<item android:text="ten" android:textSize="20px" />
<item android:text="eleven" android:textSize="20px" />
<item android:text="twelve" android:textSize="20px" />
</level-list>
that had to be the hours but it didn't worked on the watch.
however, you can write what ever you want on png files and use it as a level list

Categories

Resources