FORUMS

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by … more

How To Port Fully Featured Sony Xperia Z4 Camera

Xperia Z4’s hardware may not impress, but its software is definitely … more

Experimental TWRP Available For Moto G 2015

XDA Senior Member squid2 has posted experimental builds of TWRP for the Moto G … more

Sunday Debate: How Can We Get a No-Compromise Phone?

Join us in a fun Sunday Debate on Compromises. Come with your opinions and … more

[Q] Help for some changes to a theme

211 posts
Thanks Meter: 8
 
By benzo, Senior Member on 20th August 2014, 06:02 PM
Post Reply Subscribe to Thread Email Thread
Hi, this is my first attempt to create a theme for my Xperia Z1 but I found some problems for which I ask for help. I have root and super user mod enabled.

1) I can not change the height of the navigation bar, in asset android.apk in res/values​​/dimens.xml I set these values

Code:
<dimen name="navigation_bar_height">36.0dip</dimen>
<dimen name="navigation_bar_height_landscape">36.0dip</dimen>
but it does not change anything, not even after a reboot. I wonder how some modules Xposed or other mods around changing this setting.

2) Is it possible to add a right margin instead of just a left margin to the notifications panel? I've used this code in asset com.android.systemui.apk res/values/dimens.xml
Code:
<dimen name="notification_panel_margin_left">10.0dip</dimen>
adding this
Code:
<dimen name="notification_panel_margin_right">10.0dip</dimen>
but i don't know if this parameter really exists, however i can not set a right margin.
Maybe the cause is
Code:
<dimen name="notification_panel_width">-1dip</dimen>
? I've tried also to change this value but nothing (-11dip or another value but nothing). What is the device max width in dip?

3) instead of a solid color for the notification panel, if i want to use an image how can i do this? Need i to change this image notification_panel_bg.9.png in systemu asset and change
Code:
<item type="drawable" name="somc_notification_panel_bg">#fe25292d</item>
to point the image?

4) Last question: is it possible to remove the 1 / o text in settings quick toggle wifi/bluetooth? If yes weere i can? With the screenshot is more clear to understand what i want to remove.

Thank you ans sorry for my bad english (:
Attached Thumbnails
Click image for larger version

Name:	Immagine.png
Views:	21
Size:	51.6 KB
ID:	2905299   Click image for larger version

Name:	Immagine1.png
Views:	24
Size:	110.4 KB
ID:	2905300  
Last edited by benzo; 20th August 2014 at 06:41 PM.
 
 
Post Reply Subscribe to Thread

Tags
root, theme, xperia
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes