I was changing my TF3D them using sushilange's new theme changing thingy (Props to him for that).
I tried to change the theme from unbranded to the Orange (with live tv etc), while changing the theme, the device froze whilst installing the mp4 decoder .dll (or maybe i was just too impatient ), and I did a soft reset.
I now have all of the tabs from the Orange theme, however all but the Orange TV and Download ones are in the original theme (oh and the SMS tab has a white background making it unreadable - if it wasn't for that I wouldn't have changed the theme back)
Screenie attached.
Does this mean there is someway to add the tab but keep the original theme?
Hope someone clever enough can work it out! - I know a lot of people would like this!
Yes of course it will work!
In the next days I'll release many new themes which are mixes of the current themes. For example the call history on all themes, or the O2-Icons on HTC Black, etc.
Woop!
Didn't realise you were gonna do this!! Gonna be keeping a close eye on your threads haha
Thanks a lot
Hey Sushi,
MarcLandis and me played a little bit around with this. But we haven't found the solution yet, what has to be happen to get the call log tab in the original HTC Black theme? Found the 3 files for call log for en and de (583098db_manila, 62b1c5d9_manila and 6c6fe4c7_manila). But when I try to just copy them to \windows I got told, that it is already existing. So where have to be made changes as well?
Regards from Berlin
MasterOfDesaster
You have to add this to 26948339_manila:
Code:
<Page Order="10" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
Be careful with Page Order="10". Maybe you have to change the order-number.
I can't add those lines, I'm told the file is in use or I haven't rights to overwrite it! Do you have suggestions about it?
You should do this only if you know how... so it would be easier to use my themes...
You have to remove the file attributes "Read Only" and maybe "System" too.
I know what do you mean... but I have to try...just to learn something more about this system!
I really thank so much!
All we need now is someone to figure out how to add custom tabs to TF3D, to add things like batterystatus, or coreplayer tabs.
an SDK, an SDK, my old HTC Trinity for an SDK!
@Antimus: We are working on it, but I think it will still takes a long time until we figured it out.
I thought as much, I had a gander through the config files and it wasn't the simplest application I've ever seen.
DO NOTE ADD MY POSTED CODE INTO THE MANILA-FILE!
It is not working right at the moment.
yep, works fine until I want to switch to another TF3d tab. After that TF3d freezes )))
Hope, you'll find the solution.
saintman2 said:
yep, works fine until I want to switch to another TF3d tab. After that TF3d freezes )))
Hope, you'll find the solution.
Click to expand...
Click to collapse
Did you click on "Menu" on the call history tab? I think that will cause the problem.
sushilange said:
You have to add this to 26948339_manila:
Code:
<Page Order="10" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
Be careful with Page Order="10". Maybe you have to change the order-number.
Click to expand...
Click to collapse
Really nice !
Wich other tabs that we can adding on TF3D ?
Thanks Sushi, for your great work !
A coffee from me soon ... Héhé
PS : Same like saintman2, TFD freeze after switching to another tab ...
sushilange said:
Did you click on "Menu" on the call history tab? I think that will cause the problem.
Click to expand...
Click to collapse
Tried, Diamond itself works OK, but TF3d is freezed.
saintman2 said:
Tried, Diamond itself works OK, but TF3d is freezed.
Click to expand...
Click to collapse
I just want to know whether TF3D freezes after you click on "Menu" on call history tab.
If I not click Menu everything works fine, but after clicking on "Menu" and then changing the tab it's freezing.
But I have figured out, what the problem is...
Hey guys,
try this:
Code:
<Page Order="4" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]" ExternalScriptPath="HTC\Scripts\orangecalllogtransitions.luac">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
And copy attached file (rename it to 1d1ee632_manila) to windows-directory.
sushilange,
After applying your second "version" freezing stoped when switching between tabs.
But still Windows generates an error report after clicking "Menu" in Call History.
In any way thanks for your efforts ))
hm... that's strange. If I click on Menu nothing happens.
<com.android.launcher.ActionButton android:id="@7F07001B"
android:layout_width="70.0dip"
android:layout_height="-2"
android:src="@7F020081"
android:scaleType="5"
launcher:ident="-400"
launcher:background="@7F02007D" />
Click to expand...
Click to collapse
According to the above cut down version of an xml. Will this allow me to pick how big the nexus button is? As of now it is the entire size of the screen like the old "Launcher.apk" but I cant have the button be that big because you cant hit the RAB and LAB, in the ADW Launcher. I'm seriously getting pissed at this theme right now
Anyone please?
Hey guys! I need some help putting soft lock button on the upper right part of the screen next to the clock like in SVA roms I don't want to mess my power button on the phone so i tought that it might be useful to use the screen lock button from SVA So I decompiled framework-res.apk, SystemUI.apk but I couldn't find where exactly are the codes for this. I'm a bit of a newbie but i learn fast so... I'm using this only for educational purposes and i'm not going to steal SVA's work! Thanks in advance and Happy new year! Cheers!
Decompile SystemUI.apk
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Look for the above line in SystemUI.apk\res\layout/tw_status_bar.xml and add the below code with your choice of ic_sysbar_lock.png in SystemUI.apk\res\drawable-xhdpi
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="0.5dip" android:paddingRight="0.5dip" android:layout_width="25.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
recomplie systemUI.apk
Jeez nokiamodeln91... I'm watching you since I joined xda and how the hell you have answer to every question?? Thanks a lot I'm going to try this and let's see what happens... My idea is to put this screen lock button to Angry rom... Is it going to be a problem with this rom because of the density changing? Hope not.. I'll try this and will write what happens
hmmm dont know about changed density. but worth a try.. be sure to keep a backup of the systemUI.apk.. incase something goes wrong. a reference can be used by downloading the darboc/Olifexs mods that have a lock button, unzip the systemui and decompile and check the above file i mentioned.. this way you will have something tor refer when changing your original fine.
Thanks a lot nokia!!!!! It works on all densities! here is a screenshot
Yea... You made it.
Sent from my GT-N7000 using xda premium
kokodv said:
Thanks a lot nokia!!!!! It works on all densities! here is a screenshot
Click to expand...
Click to collapse
Nice I too hate using power button for locking..but I yet to start learning the things which you did now..so, I use this for time being & it works without being seen on screen as widget
Hi all
Follow the guide from one guy about mod adding power icon to notification bar i did it and successful but i have some little problem need your help.
when i touch and hold the power icon the power menu option display then disappear and then display immediately again. what i want here is the power menu appear when i hold power icon and remain here.
And 1 question when i touch status bar only (not swipe down) the menu scroll down but the power icon not completely show, i want it scroll down more some pixel so only the power icon can display full. please see the first picture.
Here is the step :
1. decompile SystemUI.apk, open file ids.xml in dir "res/values/" , add this line at the end of file : "<item type="id" name="screen_lock_button">false</item>
2. Open file status_bar_expanded_header.xml in "res/layout " Find the line begin with code : <com.android.systemui.statusbar.policy.Clock
Add this code above previous line : <com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/screen_lock_button" android:layout_width="50.0dip" android:layout_height="50.0dip" android:layout_marginTop="1.0dip" android:src="@drawable/ic_sysbar_lock" android:scaleType="center" systemui:keyCode="26" />
3. Add a picture PNG named : ic_sysbar_lock.png to dir "drawable-xhdpi" then Recompile SystemUI.apk
Please help
Add picture and video about my mod.
http://youtu.be/MnElP9Gt_i8
NO expert guys out there are willing to help me.
there is a method to add power button in the up right corner
a transparent png covers on clock
or to add it in the softkey bar
Leo said:
there is a method to add power button in the up right corner
a transparent png covers on clock
or to add it in the softkey bar
Click to expand...
Click to collapse
you can use it
PowerButtonOnStatusBar
http://www.fshare.vn/file/IQ8VSLRI8F/
PowerButtonOnNaviBar
http://www.fshare.vn/file/AW54H2MA92/
thanks all
Hello there! I'm starting to learn about Android development and Android Studio.
I'm building some simple apks but when I run them on my phone (or BlueStacks simulator), all of the fields/widgets are on top of the screen and on top of each other.
Can anyone please help me? I have no idea why this is hapening.
Could you post what your xml looks like?
mrgiles said:
Could you post what your xml looks like?
Click to expand...
Click to collapse
<Button
android:id="@+id/btOk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OK"
tools:layout_editor_absoluteX="148dp"
tools:layout_editor_absoluteY="198dp" />
<TextView
android:id="@+id/tvTitulo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bloco de Notas"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
On Design View the button and the TextView are exactly where I put them (Text View on left top and button on the middle of the screen) but when I install the APK on my phone or simulator the button are on top of the screen and on top of the TextView (left top).
(I had to remove some lines because since I'm new this forum won't let me post outside links)
manubittencourt said:
<Button
android:id="@+id/btOk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OK"
tools:layout_editor_absoluteX="148dp"
tools:layout_editor_absoluteY="198dp" />
<TextView
android:id="@+id/tvTitulo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bloco de Notas"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
On Design View the button and the TextView are exactly where I put them (Text View on left top and button on the middle of the screen) but when I install the APK on my phone or simulator the button are on top of the screen and on top of the TextView (left top).
(I had to remove some lines because since I'm new this forum won't let me post outside links)
Click to expand...
Click to collapse
What's your root layout? I would recommend not using the absoluteX and absoluteY. Instead use layout_alignParentTop or layout_below if you are using a relative layout. If you are using a constraintLayout you can use anchor points to make sure they are in the part of the screen you want. You can also use margin and padding to help give it the spacing you want.
use LinearLayout with vertical orientation as your parent root so everything will be aligned vertically