[Mod/Theme/Guide] Galaxy S5 FullScreen Call - Sprint Galaxy S 5 Themes and Apps
FullScreen Call Themed
This is for DeOdexed builds ONLY!
This mod is based on the NE5 DeOdexed Rom.
{
"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"
}
. .
. .
. .
Always a work in progress. Ported this over from the international S5 with a little help. Full credits given at the bottom.
Included the stock flashable files at the bottom of the post should you need to go back. Also included a few extra backgrounds. You can use those as a template to add your own.
Download Link --> MOAR_Rom.FullScreen_Call_V4.zip
Download Link --> NE5_DeOdexed.Stock.FullScreen_Call_V4.zip
Installation:
Backup your rom if possible.
Flash in custom recovery.
Changelog:
Code:
[B]Version - 4[/B]
- End call moved to the bottom right as default
- Fixed conference call (caller on hold) from displaying behind call buttons
- Removed toggle indicators from beneath Bluetooth, Mute and Sound buttons
[B]Version - 3[/B]
- Corrected for call info popup.
- Added back in 'Last message' & 'Last spoke' call info.
- Added and changed default fixed background
- Added and changed default fixed background thanks to BobCATROM
- Added updated icons thanks to BobCATROM
- Call info card is scrollable
- Toggles added for MOAR Rom version for upcoming new stuff update for additional features.
[B]Version - 2[/B]
- Removed 'Last Message' popup from behind bottom row.
- Text color for DTMF dialer, In-call Timer and End call screen changed to white
[B]Version - 1[/B]
- Initial Release
Adding your own custom backgrounds:
Take your downloaded image, rename it to picture_unknown.png
You may use a .jpg image. However, the image has to RENAMED to a .png first.
Make a copy of one of the Caller.ID.BG...zip files, open it with a zip file manager and insert your file into the folder vrtheme/system/app/InCallUI.apk/res/drawable-sw360dp-xxhdpi, replacing the existing one.
Additional Note:
I can't say exactly the dimensions required for the background, experiment and report back what seems to be the ideal size otherwise the phone will do its best to resize the image to fit the screen properly.
Credits:
@thanhfhuongf - For the original mod posted HERE
@lacoursiere18 - For the guide and assistance getting me on the right track.
@BoBCatRoM - Huge thanks for the use of his InCallUI theme. You can thank him properly HERE.
Guide/How-to
For additional help and tips related to this mod, refer to the original thread:
[MOD][GUIDE] Fullscreen call S5
** Extract the zip file at the bottom of the post and place the three files into your DECOMPILED InCallUI.apk file in their respective folders.
Important step:
DELETE the file:
res/drawable-sw360dp-xxhdpi/endcall_bg.9.png
The file we are replacing it with is not a .9 image so we need to remove the .9 png file so the other file will be utilized instead.
Modifying InCallUI.apk
res/values/dimens.xml change to value in BLUE:
Code:
<dimen name="call_card_height">[COLOR="Blue"]640.0dip[/COLOR]</dimen>
res/values/styles.xml make change to values indicated in BLUE:
Code:
<style name="InCallTouchUpperButton">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[COLOR="Blue"]#00000000[/COLOR]</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">14.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">2.0dip</item>
</style>
<style name="InCallTouchEndButton" parent="@style/InCallTouchUpperButton" />
<style name="InEasyCallTouchUpperButton">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">[COLOR="Blue"]#00000000[/COLOR]</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">20.0dip</item>
<item name="android:layout_width">fill_parent</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawablePadding">7.0dip</item>
</style>
A little further down
<style name="InCallTouchToggleButtonNoFrame">
<item name="android:textSize">[COLOR="Blue"]0.0dip[/COLOR]</item>
<item name="android:textStyle">normal</item>
<item name="android:textColor">@color/incall_button_text</item>
<item name="android:gravity">top|center</item>
<item name="android:background">@drawable/call_dial_btn_bg</item>
<item name="android:paddingTop">18.0dip</item>
<item name="android:layout_width">1.0dip</item>
<item name="android:layout_height">fill_parent</item>
<item name="android:singleLine">true</item>
<item name="android:drawableBottom">@drawable/incall_toggle_button</item>
<item name="android:layout_weight">1.0</item>
</style>
This part isn't much fun but the results are worth it.
res/values/colors.xml change ALL these values; they are not all consecutive.
Also, replace the entire lines highlighted in RED:
Code:
<color name="incoming_call_image_widget_background">#00000000</color>
[COLOR="Red"]<color name="incall_screen_background">#00000000</color>
<color name="cover_background">#00000000</color>
[/COLOR]<color name="incall_call_banner_background">#00000000</color>
<color name="incall_call_banner_background2">#00000000</color>
<color name="incall_call_banner_in_call_background">#00000000</color>
<color name="incall_call_banner_end_call_background">#00000000</color>
<color name="incall_call_state_label_background">#00000000</color>
<color name="incall_secondary_info_background">#00000000</color>
<color name="endcall_yellow_button_bg">#00000000</color>
<color name="endcall_green_button_bg">#00000000</color>
[COLOR="Red"]<color name="incall_call_button_background">#00000000</color>
[/COLOR]<color name="incall_call_button_background_qcif_video">#00000000</color>
[COLOR="Red"]<color name="dialpad_background">#00000000</color>
<color name="dtmf_dialer_display_background">#00000000</color>
[/COLOR]<color name="manage_conference_background">#00000000</color>
<color name="button_background">#00000000</color>
<color name="tutorial_background_color">#00000000</color>
<color name="tutorial_tab_background">#00000000</color>
<color name="tutorial_image_unknown_background">#00000000</color>
[COLOR="Red"]<color name="vt_dialpad_background">#00000000</color>
[/COLOR]<color name="circle_time_progress_background">#00000000</color>
<color name="incall_call_banner_background_covered">#00000000</color>
<color name="incall_call_banner_background2_covered">#00000000</color>
<color name="incall_call_banner_in_call_background_covered">#00000000</color>
<color name="incall_call_banner_end_call_background_covered">#00000000</color>
<color name="incall_call_banner_active_bg">#00000000</color>
<color name="incall_call_banner_disconnect_bg">#00000000</color>
<color name="incall_call_banner_incoming_bg">#00000000</color>
<color name="incall_call_banner_onhold_bg">#00000000</color>
<color name="incall_call_state_active_bg">#00000000</color>
<color name="incall_call_state_disconnect_bg">#00000000</color>
<color name="incall_call_state_incoming_bg">#00000000</color>
<color name="incall_call_state_onhold_bg">#00000000</color>
<color name="incall_button_bg">#00000000</color>
<color name="invtcall_call_banner_active_bg">#00000000</color>
<color name="invtcall_call_banner_incoming_bg">#00000000</color>
<color name="invtcall_call_state_active_bg">#00000000</color>
<color name="invtcall_call_state_incoming_bg">#00000000</color>
<color name="popup_button_bg">#80000000</color>
<color name="incall_mw_call_card_background">#00000000</color>
<color name="drivelink_incall_call_banner_active_bg">#80000000</color>
<color name="drivelink_incall_call_banner_disconnect_bg">#80000000</color>
<color name="drivelink_incall_call_banner_incoming_bg">#80000000</color>
Fix the spacing between caller number, DTMF dialpad and pressed numbers (like when you need to dial an extension). If you're having overlap issues with caller number and dialpad pressed numbers.
res/layout/dialpad_twelve_fragment.xml
Add new code and change the value in BLUE. Yours might have to be slightly different number according to your layout.
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout android:orientation="vertical" android:id="@id/dtmf_twelve_key_dialer_view" android:background="@color/transparent" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/dtmf_twelve_key_dialer_view_height" android:layout_marginTop="@dimen/dtmf_twelve_key_dialer_view_top" android:layout_marginBottom="@dimen/dtmf_twelve_key_dialer_view_bottom"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="vertical" android:id="@id/dtmfDialerFieldContainer" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextView android:textColor="@color/dtmf_dialer_display_text" android:id="@id/dialpad_elapsed_time" android:background="@color/dtmf_dialer_display_background" android:layout_width="fill_parent" android:layout_height="@dimen/callstate_container_height" style="@style/InCallElapsedTime" />
<EditText android:textSize="46.0sp" android:textColor="@color/dtmf_dialer_display_text" android:gravity="center" android:id="@id/dtmfDialerField" android:background="@color/dtmf_dialer_display_background" [COLOR="Blue"]android:paddingTop="50.0dip"[/COLOR] android:paddingLeft="16.0dip" android:paddingRight="16.0dip" android:focusableInTouchMode="false" android:clickable="false" android:layout_width="fill_parent" android:layout_height="@dimen/dtmf_dialer_field_height" android:scrollHorizontally="true" android:singleLine="true" android:freezesText="true" />
</LinearLayout>
<include layout="@layout/dtmf_dialpad_twelve" />
</LinearLayout>
OPTIONAL Smali Edits:
InCallUI.apk Smali edit.
This will prevent the 'Last spoke' popup item from displaying right above the toggles.
smali\com\android\incallui\callerinfocard\item\LastCallLogItem.smali
Find and replace this entire method:
Code:
.method protected setItem(Landroid/content/Context;Landroid/net/Uri;Landroid/database/Cursor;Ljava/lang/Object;)V
.locals 0
return-void
.end method
InCallUI.apk Smali edit.
This will prevent the 'Last message' popup item from displaying right above the toggles.
smali\com\android\incallui\callerinfocard\item\MessageItem.smali
Find and replace this entire method:
Code:
.method protected setItem(Landroid/content/Context;Landroid/net/Uri;Landroid/database/Cursor;Ljava/lang/Object;)V
.locals 0
return-void
.end method
OPTIONAL Text Color Changes:
Text color changes, these codes are currently set to Black, change to whatever you need.
Call info card text
res/layout/caller_info_card_item.xml
Search through and change these fields to your color choice.
Code:
android:textColor="#ff000000"
DTMF Dialer & Call Timer
res/values/colors.xml
Code:
<item type="color" name="dtmf_dialer_display_text">#ff000000</item>
<color name="overlay_call_time_text_color">#ff000000</color>
End call upper text
res\color\endcall_upper_button_text.xml
Code:
<item android:color="#ff000000" />
OPTIONAL How to rearrange bottom row buttons:
To rearrange buttons xml edit:
res/values/in_call_button_voice_fragment.xml
The bottom row is split into two sections. Think of it as left side and right side.
If you move an item from the left side (top section), to the right side (bottom section), an item must be moved up from the bottom section to take its place.
The lines in RED are the lines to move back and forth.
The lines in ORANGE are the treated exactly the same as the lines in RED except they must be moved as a group (think of the group as a single line).
In this example, I have moved the End Call button to the far left so it is the first item to appear in the top section. I also had to move the line for speakerButton down one section so it would balance out the sections.
The line in GREEN should stay right where it is (I think ).
Code:
<LinearLayout android:orientation="horizontal" android:id="@id/incall_upper_button_contaienr" android:layout_width="180.0dip" android:layout_height="68.0dip" android:splitMotionEvents="false">
[COLOR="Red"]<Button android:id="@id/endButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:drawableTop="@drawable/call_icon_endcall" android:layout_weight="1.0" style="@style/InCallTouchEndButton" />
[/COLOR] [COLOR="Orange"]<Button android:id="@id/addCallButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenAddCallText" android:drawableTop="@drawable/incall_button_add_icon" android:layout_weight="1.0" android:contentDescription="@string/onscreenAddCallText_description" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/rcsVideoButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/rcs_share_live_video" android:drawableTop="@drawable/incall_button_rcs_video_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
<Button android:id="@id/recordButton" android:visibility="gone" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/menu_record_voice" android:drawableTop="@drawable/incall_record_play_button" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />[/COLOR]
[COLOR="Red"]<Button android:id="@id/dialpadButton" android:layout_width="1.0dip" android:layout_height="fill_parent" android:layout_marginRight="2.0dip" android:text="@string/onscreenShowDialpadText" android:drawableTop="@drawable/incall_button_dialpad_icon" android:layout_weight="1.0" style="@style/InCallTouchUpperButton" />
[/COLOR] </LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@id/incall_lower_button_contaienr" android:layout_width="180.0dip" android:layout_height="68.0dip" android:splitMotionEvents="false">
[COLOR="Red"]<ToggleButton android:id="@id/speakerButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenSpeakerText" android:textOff="@string/onscreenSpeakerText" android:drawableTop="@drawable/incall_button_speaker_icon" android:contentDescription="@string/description_speaker" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/muteButton" android:layout_marginRight="2.0dip" android:textOn="@string/onscreenMuteText" android:textOff="@string/onscreenMuteText" android:drawableTop="@drawable/incall_button_mute_icon" android:contentDescription="@string/description_mute" style="@style/InCallTouchToggleButtonNoFrame" />
<ToggleButton android:id="@id/bluetoothButton" android:textOn="@string/audio_mode_bluetooth" android:textOff="@string/audio_mode_bluetooth" android:drawableTop="@drawable/incall_button_bluetooth_icon" android:contentDescription="@string/description_bluetooth" style="@style/InCallTouchToggleButtonNoFrame" />
[/COLOR] [COLOR="Green"]<Button android:id="@id/rcsShareButton" android:visibility="gone" android:text="@string/rcs_share" android:drawableTop="@drawable/incall_button_rcs_share_icon" style="@style/InCallTouchButtonRcsShare" />
[/COLOR] </LinearLayout>
You're the man.
Very nice work always a treat! Request if possible thanks
Thanks dont have access to computer at the moment.
tdunham said:
FullScreen Call Themed
This is for DeOdexed builds ONLY!
This mod is based on the NE5 DeOdexed Rom.
Click to expand...
Click to collapse
Very nice. When making an outgoing call, I just get the standard dialpad, is that what's suppose to happen?
Ramer84015 said:
Very nice. When making an outgoing call, I just get the standard dialpad, is that what's suppose to happen?
Click to expand...
Click to collapse
Yes, they are different dialers in two different files.
Sent from my SM-G900P using XDA Premium 4 mobile app
A guide has been posted in Post #2.
I keep getting this annoying sending tones pop-up when I place a call, and the box at the bottom that says when you last contacted the person is under the icons. Anyway to get rid of that pop up and raise up that box s little?
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
I keep getting this annoying sending tones pop-up when I place a call, and the box at the bottom that says when you last contacted the person is under the icons. Anyway to get rid of that pop up and raise up that box s little?
Click to expand...
Click to collapse
I don't think we've figured the last contacted thing yet but I removed it entirely so not sure what you're seeing. Post a screenshot of that when you have time.
Just an FYI, the same exact box will show if there is a special event associated with the caller, like Birthdays and Anniversary but I thought I wouldn't mess with that one. Still, something that needs to be dealt with.
I've heard about the sending tones pop-up before this mod so I'm not sure if its specific. Did you mess with DTMF or something? Post a screenshot of that too. Maybe I can just find a way to remove the popup entirely but it would be nice to know whats causing it to begin with.
tdunham said:
I don't think we've figured the last contacted thing yet but I removed it entirely so not sure what you're seeing. Post a screenshot of that when you have time.
Just an FYI, the same exact box will show if there is a special event associated with the caller, like Birthdays and Anniversary but I thought I wouldn't mess with that one. Still, something that needs to be dealt with.
I've heard about the sending tones pop-up before this mod so I'm not sure if its specific. Did you mess with DTMF or something? Post a screenshot of that too. Maybe I can just find a way to remove the popup entirely but it would be nice to know whats causing it to begin with.
Click to expand...
Click to collapse
No problem... Here you go
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
No problem... Here you go
Click to expand...
Click to collapse
Thanks.
Oh great, it shows last sms/mms too.
The SS of sending tones, does it only popup when you use the keypad in the dialer? Like I said before the actual phone dialer is a different apk completely from the one for the in-call screen so I'm hoping it's localized to that.
tdunham said:
Thanks.
Oh great, it shows last sms/mms too.
The SS of sending tones, does it only popup when you use the keypad in the dialer? Like I said before the actual phone dialer is a different apk completely from the one for the in-call screen so I'm hoping it's localized to that.
Click to expand...
Click to collapse
The pop up only happens when I place the call. And it stays there for like 2-4 seconds and then connects to the call
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
The pop up only happens when I place the call. And it stays there for like 2-4 seconds and then connects to the call
Click to expand...
Click to collapse
Ok, that sounds like the main dialer then. When you have time, flash back to stock MOAR incallui and see if it still happens. I think it will.
tdunham said:
Ok, that sounds like the main dialer then. When you have time, flash back to stock MOAR incallui and see if it still happens. I think it will.
Click to expand...
Click to collapse
Flashed over the stock in call and it still does it, I guess it is the main dialer. Weird, I never seen it before, probably because I didn't have a cool theme to look at haha
So the only issue is the last message box then
Sent from my SM-G900P using XDA Premium 4 mobile app
@tdunham
U are the man Sir.... been waiting on this mod since my S4..... awesome guide.
One of my new favorite Mods. Thanks tdunham .
I've updated the guide at the very bottom for an additional smali edit to remove the 'Last message' popup that shows behind the call buttons.
I will post an update to the full mod later for this too.
tdunham said:
I've updated the guide at the very bottom for an additional smali edit to remove the 'Last message' popup that shows behind the call buttons.
I will post an update to the full mod later for this too.
Click to expand...
Click to collapse
I found the code but it's exactly the same as the one you have in the box so what would I be replacing it with?
Sent from my SM-G900P using XDA Premium 4 mobile app
tracelessfk said:
I found the code but it's exactly the same as the one you have in the box so what would I be replacing it with?
Click to expand...
Click to collapse
The smali edit or the color edit?
Version 2 is up by the way.
Related
XML to binary XML?
So I've been trying to figure out how to convert or build a .xml file from the sdk into a binary xml to replace some of the layout files in framework.apk. I have had no luck though. Does anyone know how this can be done or has been done.
Here's a sticky about xml edits from the top of this section That's where you'll wanna start or get in touch with stericson about it
thanks, although I have read it. It seems he has only been able to hex edit the binary files. Shouldn't we be able to build just the binary files from the original non-binary file, add it to framework-res.apk, re-sign, and update?
I am actually working on this. I downloaded the source which has xmls in normal xml. If you import them into an android app in eclipse it will convert them to binary format. I haven't tested this yet though. Not sure the source has the exact same xmls.
Awesome let me know how it goes, I am also trying it in a similar way.
Well i tried for a few hours last night, but eclipse was complaining about different things not found...sucks. i need to study up more on Java programming.
I tried editing and building from source...it did not work however i used sdk 1.0r2 and not 1.1 so i think that may have had something to do with it. I'm gonna try again but it takes so damn long!
build from source? we can only build cupcake. i've been trying to edit the xmls from source and then compiling them in eclipse. But i keep getting errors. I have been playing with the stat_sys_battery.xml the default is: Code: <level-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_0" /> <item android:maxLevel="14" android:drawable="@android:drawable/stat_sys_battery_10" /> <item android:maxLevel="29" android:drawable="@android:drawable/stat_sys_battery_20" /> <item android:maxLevel="49" android:drawable="@android:drawable/stat_sys_battery_40" /> <item android:maxLevel="69" android:drawable="@android:drawable/stat_sys_battery_60" /> <item android:maxLevel="89" android:drawable="@android:drawable/stat_sys_battery_80" /> <item android:maxLevel="100" android:drawable="@android:drawable/stat_sys_battery_100" /> </level-list> I tried adding some, then compiling the images and xml in Eclipse but it is throwing errors and wont convert it to binary. Code: <level-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_0" /> <item android:maxLevel="14" android:drawable="@android:drawable/stat_sys_battery_10" /> <item android:maxLevel="29" android:drawable="@android:drawable/stat_sys_battery_20" /> <item android:maxLevel="39" android:drawable="@android:drawable/stat_sys_battery_30" /> <item android:maxLevel="49" android:drawable="@android:drawable/stat_sys_battery_40" /> <item android:maxLevel="59" android:drawable="@android:drawable/stat_sys_battery_50" /> <item android:maxLevel="69" android:drawable="@android:drawable/stat_sys_battery_60" /> <item android:maxLevel="79" android:drawable="@android:drawable/stat_sys_battery_70" /> <item android:maxLevel="89" android:drawable="@android:drawable/stat_sys_battery_80" /> <item android:maxLevel="99" android:drawable="@android:drawable/stat_sys_battery_90" /> <item android:maxLevel="100" android:drawable="@android:drawable/stat_sys_battery_100" /> </level-list> I know i have to add the names of the images as strings or attr but im not finding where i have to do that.
What errors are you getting?
MOONSSPOON said: What errors are you getting? Click to expand... Click to collapse there is an aapt problem. ERRor Error: Resource is not public. (at'drawable' with value '@android:drawable/stat_sys_battery_20') It has the error for each image. I am learning about Java programming but i haven't gotten this deep into it yet.
it seems that we need to add all the strings and images for it to build right. im going to try it tonight... or find a way to build it with the errors just to get the xml converted.
soundwire said: it seems that we need to add all the strings and images for it to build right. im going to try it tonight... or find a way to build it with the errors just to get the xml converted. Click to expand... Click to collapse Good Luck..would be awesome to get working. Ill even save you a few mins...here are the files i created. It is the battery pngs and the pre-binary XML
just something I noticed. all the maxLevel values for the added lines are 4.. <level-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_0" /> <item android:maxLevel="14" android:drawable="@android:drawable/stat_sys_battery_10" /> <item android:maxLevel="29" android:drawable="@android:drawable/stat_sys_battery_20" /> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_30" /> <item android:maxLevel="49" android:drawable="@android:drawable/stat_sys_battery_40" /> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_50" /> <item android:maxLevel="69" android:drawable="@android:drawable/stat_sys_battery_60" /> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_70" /> <item android:maxLevel="89" android:drawable="@android:drawable/stat_sys_battery_80" /> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_90" /> <item android:maxLevel="100" android:drawable="@android:drawable/stat_sys_battery_100" /> </level-list> I beleve they should be more like... <level-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:maxLevel="4" android:drawable="@android:drawable/stat_sys_battery_0" /> <item android:maxLevel="14" android:drawable="@android:drawable/stat_sys_battery_10" /> <item android:maxLevel="29" android:drawable="@android:drawable/stat_sys_battery_20" /> <item android:maxLevel="39" android:drawable="@android:drawable/stat_sys_battery_30" /> <item android:maxLevel="49" android:drawable="@android:drawable/stat_sys_battery_40" /> <item android:maxLevel="59" android:drawable="@android:drawable/stat_sys_battery_50" /> <item android:maxLevel="69" android:drawable="@android:drawable/stat_sys_battery_60" /> <item android:maxLevel="79" android:drawable="@android:drawable/stat_sys_battery_70" /> <item android:maxLevel="89" android:drawable="@android:drawable/stat_sys_battery_80" /> <item android:maxLevel="95" android:drawable="@android:drawable/stat_sys_battery_90" /> <item android:maxLevel="100" android:drawable="@android:drawable/stat_sys_battery_100" /> </level-list> I was able to convert it to binary by building android from source however when I loaded it. it failed to work. I have no icons for battery level ecept for when its charging. Does anyone have any Ideas on this?
doh, i sent you the old version. I actually had swapped it out in Eclipse with the same values you put in. sucks no icons at all huh...i know Stericson said it might be something in the resource.arsc i think. Maybe we need to add values in there somewhere.
Update: I had the edited xml in my phone all day and had some unexpected results. At first there was no icon but as the day went on and my battery level changed i noticed random icons ie..usb,edge,3g.. where the battery icon should be. curious I wanted to know if it was changing at the maxLevel as discribed in the edited xml, it was. I dont know why but it works its just not displaying the right icon....
Hmm this makes me think...for the levels that are normally there are they working fine then the ones added are causing issues? If that is the case we can try using some of the images that are in there but not in use...like battery_charge_background.png, battery_charge_fill_empty.9.png, battery_charge_fill_full.9.png, battery_charge_fill_warning.9.png. these images used to come up when you connected your phone to a charger. but not anymore.
send me the edits you want to try and I will give it a go..
soundwire said: send me the edits you want to try and I will give it a go.. Click to expand... Click to collapse Here you go...good luck hope this works.
Any progress on this?
I got the battery mod working in a cupcake build but i haven't been able to build it for rc33 ...
bookmarks ?
i changed the browser to opera as default but i cant get the bookmarks off the home screen from under the globe, is there a way to get them off? also when i bookmark a page it dosent show up on the home screen is there a way to get my bookmarks to show up on home screen? thanks for any help in advance.
i made a cab that'll set Opera as the default & get rid of the globe & for default bookmarks & show you OM bookmarks http://forum.xda-developers.com/showthread.php?t=550647 If you want to do it yourself, you need to go to \Application Data\Manila & move the InternetPortal-en-us.xml file to your computer, take off the Read-Only attribute & edit the code, then reenable Read-Only attribute & put back on your phone. <?xml version="1.0" encoding="utf-16"?> <InternetPortal> <BrowserExe>\Windows\OperaL.exe</BrowserExe> <IncludeUserFavorites>False</IncludeUserFavorites> change to true to have your bookmarks show up <Banner DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc" SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc" Text="Launch Browser" NavigateUrl="http://www.google.com/pda" UrlText="Google" Width="480" Height="215" /> <OperatorLinks> <Link Text="Engadget" NavigateUrl="http://engadget.com" ImagePath="\Windows\_Bookmark_icon.qtc" /> <Link Text="Facebook" NavigateUrl="http://m.facebook.com" ImagePath="\Windows\_Bookmark_icon.qtc" /> <Link Text="MySpace" NavigateUrl="http://us.myspace.com" ImagePath="\Windows\_Bookmark_icon.qtc" /> <Link Text="Woot" NavigateUrl="http://woot.com" ImagePath="\Windows\_Bookmark_icon.qtc" /> </OperatorLinks>[/I] delete all of that to get rid of the 4 bookmarks </InternetPortal>
What's the source for bookmarks when <IncludeUserFavorites>False</IncludeUserFavorites> is set to true?
[QUES/SOLVED] Screen Orientation
Hi Guys, Sorry for posting my question here.... I want to know how to change the orientation of the apps? In portrait mode lot of games orientation does not suits Sony Tablet, because of its wedge shape, we are expecting the orientation in such a way that we can hold the thicker side with our left hand.. The orientation must be defined somewhere in the .apk file !!! can we change its value to meet our requirement??? I can see following, but not sure what to change??? <application android:label="@string/app_name" android:icon="@drawable/app_icon" android:debuggable="false"> <activity android:label="@string/app_name" android:name="com.unity3d.player.UnityPlayerActivi ty" android:screenOrientation="portrait" android:configChanges="keyboardHidden|orientation"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> EDIT: I took the AirAttackHD.apk Decompile it (using APKManager) Changed the following line: android:screenOrientation="portrait" to android:screenOrientation="sensor" Compiled it. Copied the assets folder into build folder, zipped it, renamed to XYZ.apk Signed it using Sign+ When trying to install, its giving parsing error, what else to do?? EDIT: I have installed ORIENTATION CONTROL, it solved my problem, now I can play games on my Sony Tablet in desired Reverse Portrait Mode. https://market.android.com/details?id=com.coinsoft.android.orientcontrol&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5jb2luc29mdC5hbmRyb2lkLm9yaWVudGNvbnRyb2wiXQ..
Adding new check box to aokp ics settings
So I'm working on adding a new check box to (ics) aokp's settings.apk. But my toggle is nothing close to what it should be. It compiled fine so I'm wondering if I forgot to clarify something picture here I've modded my sound_settings.xml like so: Code: <PreferenceCategory android:title="@string/sound_category_feedback_title" /> <CheckBoxPreference android:persistent="false" android:title="@string/xloud_strings_xloud_txt" android:key="xloud" android:summary="@string/xloud_strings_xloud_desc_txt" /> <CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" /> and the apporate lines into strings.xml: Code: <string name="xloud_strings_xloud_txt">xLOUD™</string> <string name="xloud_strings_xloud_desc_txt">Enhance the loudness of the internal speaker</string> </resources>
Bumpity bump
Email Notification Icons
OK. Probably the wrong place to post as this is my first post. But here goes. HI EVERYONE! I am currently using Maildroid for my email without any issues (Great mail prog). But i would like each email account to show an icon in the notification bar when an email arrives that is specific to that account example: outlook.com would show outlook logo yahoo would show yahoo logo etc. I know i can do this by installing the mail app for each individual mail provider. But then i end up with 6+ apps. Any ideas? In the best case scenario the mail app would allow you to choose the icon for that account or provide an icon. This is similar to allowing you to choose the color of the account, but more advanced. Thanks ThunderBob
ThunderBob said: OK. Probably the wrong place to post as this is my first post. But here goes. HI EVERYONE! I am currently using Maildroid for my email without any issues (Great mail prog). But i would like each email account to show an icon in the notification bar when an email arrives that is specific to that account example: outlook.com would show outlook logo yahoo would show yahoo logo etc. I know i can do this by installing the mail app for each individual mail provider. But then i end up with 6+ apps. Any ideas? In the best case scenario the mail app would allow you to choose the icon for that account or provide an icon. This is similar to allowing you to choose the color of the account, but more advanced. Thanks ThunderBob Click to expand... Click to collapse I honestly don't believe that's possible unless the app is made to have a different icon for rack account.. Would required a rebuild of the app.. and insert those features Sent from my SGH-M919 using Tapatalk 2
While not impossible, it would be a little tricky and alot of work Here is the current xml for notifications from mail droid Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout android:orientation="vertical" android:padding="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:layout_width="fill_parent" android:layout_height="wrap_content"> <ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/notification_airplane" /> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout> </LinearLayout> See how it only has 1 entry for notifications and doesnt define any email providers. Youd have to rewrite the entire thing and figure out how to make it know which email is getting the notification and which icon to display. Then after you spent a while figuring that out youd have to track down every xml that uses this xml and edit appropriately to know whats it use from this xml in the event of a notification from a specific email provider. and on top of that heres all the providers mail droid supports Code: <?xml version="1.0" encoding="utf-8"?> <providers> <provider> <pattern value="yahoo" /> <pattern value="rocketmail.com" /> <pattern value="ymail.com" /> <item protocol="imap" host="imap.mail.yahoo.com" port="143" ssl="false" loginTemplate="{email}" keepAlive="90" /> <item protocol="smtp" host="smtp.mobile.mail.yahoo.com" port="587" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="gmail.com" /> <pattern value="googlemail.com" /> <pattern value="googlewave.com" /> <item protocol="imap" host="imap.{domain}" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.{domain}" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="msn.com" /> <pattern value="live.com" /> <pattern value="windowslive.com" /> <pattern value="hotmail" /> <pattern value="outlook.com" /> <item protocol="pop3" host="pop3.live.com" port="995" ssl="true" loginTemplate="{email}" keepAlive="50" /> <item protocol="smtp" host="smtp.live.com" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="aol.com" /> <item protocol="imap" host="imap.aol.com" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.aol.com" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="aim.com" /> <item protocol="imap" host="imap.aim.com" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.aim.com" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="gmx" /> <item protocol="imap" host="imap.{domain}" port="143" ssl="false" loginTemplate="{email}" keepAlive="180" /> <item protocol="smtp" host="mail.{domain}" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="gawab.com" /> <item protocol="imap" host="imap.gawab.com" port="143" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.gawab.com" port="25" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="att.net" /> <pattern value="bellsouth.net" /> <item protocol="pop3" host="pop.att.yahoo.com" port="995" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.att.yahoo.com" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="optonline.net" /> <item protocol="pop3" host="mail.optonline.net" port="110" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="mail.optonline.net" port="587" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="comcast.net" /> <item protocol="pop3" host="mail.comcast.net" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.comcast.net" port="587" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="fastmail.fm" /> <item protocol="imap" host="mail.messagingengine.com" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="mail.messagingengine.com" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="cs.com" /> <item protocol="imap" host="imap.cs.com" port="143" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.cs.com" port="25" ssl="false" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="mac.com" /> <item protocol="imap" host="mail.mac.com" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.mac.com" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="me.com" /> <pattern value="icloud.com" /> <pattern value="mac.com" /> <item protocol="imap" host="imap.mail.me.com" port="993" ssl="true" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.mail.me.com" port="587" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="earthlink.net" /> <item protocol="pop3" host="pop.earthlink.net" port="110" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="smtpauth.earthlink.net" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="juno.com" /> <item protocol="pop3" host="pop.juno.com" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.juno.com" port="25" ssl="false" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="netzero.com" /> <item protocol="pop3" host="pop.netzero.com" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.netzero.com" port="25" ssl="false" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="verizon.net" /> <item protocol="pop3" host="pop.verizon.net" port="993" ssl="true" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.verizon.net" port="465" ssl="true" loginTemplate="{local-part}" pop3beforeSmtp="true" /> </provider> <provider> <pattern value="freenet.de" /> <item protocol="pop3" host="mx.freenet.de" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="mx.freenet.de" port="587" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="t-online.de" /> <item protocol="pop3" host="popmail.t-online.de" port="110" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="smtpmail.t-online.de" port="25" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="web.de" /> <item protocol="imap" host="imap.web.de" port="143" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.web.de" port="587" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="wp.pl" /> <item protocol="pop3" host="pop3.wp.pl" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.wp.pl" port="25" ssl="false" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="o2.pl" /> <item protocol="imap" host="poczta.o2.pl" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="poczta.o2.pl" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="arcor.de" /> <item protocol="imap" host="imap.arcor.de" port="993" ssl="true" loginTemplate="{local-part}" /> <item protocol="smtp" host="mail.arcor.de" port="587" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="prtc.net" /> <item protocol="pop3" host="pop.prtc.net" port="110" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="mail.prtc.net" port="25" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="blueyonder.co.uk" /> <item protocol="imap" host="imap.blueyonder.co.uk" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.blueyonder.co.uk" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="us.army.mil" /> <item protocol="imap" host="imap.us.army.mil" port="993" ssl="true" loginTemplate="{local-part}" /> <item protocol="smtp" host="mailrouter.us.army.mil" port="465" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="peoplepc.com" /> <item protocol="pop3" host="pop.peoplepc.com" port="110" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="smtpauth.peoplepc.com" port="25" ssl="false" loginTemplate="{email}" /> </provider> <provider> <pattern value="cox.net" /> <item protocol="pop3" host="pop.cox.net" port="110" ssl="false" loginTemplate="{local-part}" /> <item protocol="smtp" host="smtp.cox.net" port="465" ssl="true" loginTemplate="{local-part}" /> </provider> <provider> <pattern value="foo.bar" /> <item protocol="test" host="test.foo.bar" port="1" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.gmail.com" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="mail.ru" /> <pattern value="list.ru" /> <pattern value="inbox.ru" /> <pattern value="bk.ru" /> <item protocol="pop3" host="pop.{domain}" port="995" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.{domain}" port="25" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="yandex.ru" /> <item protocol="imap" host="imap.{domain}" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="smtp.{domain}" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="rambler.ru" /> <pattern value="lenta.ru" /> <pattern value="autorambler.ru" /> <pattern value="myrambler.ru" /> <pattern value="ro.ru" /> <item protocol="imap" host="mail.rambler.ru" port="993" ssl="true" loginTemplate="{email}" /> <item protocol="smtp" host="mail.rambler.ru" port="465" ssl="true" loginTemplate="{email}" /> </provider> <provider> <pattern value="anpa.de" /> <pattern value="anpa.co" /> <pattern value="anpa.nl" /> <pattern value="anpa.name" /> <pattern value="anpa.at" /> <pattern value="anpa.biz" /> <pattern value="wohnthier.de" /> <pattern value="mausimail.de" /> <item protocol="imap" host="imap.anpa.de" port="143" ssl="false" loginTemplate="{email}" /> <item protocol="smtp" host="imap.anpa.de" port="25" ssl="false" loginTemplate="{email}" /> </provider> </providers> And that my friend is an ungodly amount of work. And when the app updates......youd have to do it allllll over again.
Oh well. You never know with this community what someone is working on. Maybe it's a project I can look at Sent from my SGH-M919 using Tapatalk 4
Please read forum rules before posting Questions and Help issues go in Q&A and help section Thread moved Thank you for your cooperation Friendly Neighborhood Moderator
Have you tried contacting to developer? ☞Sent from here☜
baseballfanz said: Have you tried contacting to developer? ☞Sent from here☜ Click to expand... Click to collapse I havent yet. I am going to look into this a little more and then maybe put forward the suggestion to the developer to see what they think.