Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Help for some changes to a theme

OP sidvizioso

20th August 2014, 07:02 PM   |  #1  
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 sidvizioso; 20th August 2014 at 07: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