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

Nice idea, but...

OP sublimaze

25th January 2014, 02:29 PM   |  #1  
sublimaze's Avatar
OP Senior Member
Thanks Meter: 576
 
1,689 posts
Join Date:Joined: Oct 2010
If you run non-stock DPI, it will take a LOT of work to get widgets to display correctly.

I am running SlimKat 4.4.2 on Galaxy Note 2 with global DPI 245, and had offset widgets from the start, which wasn't surprising. So I installed Xposed & App Settings module, set Themer to 320 DPI, rebooted to recovery, wiped cache & dalvik, launched Themer again, and still had graphical glitches:




I tinkered with individual widget settings and discovered the widgets are positioned in absolute pixels from margins. It would be awesome if users had the option to set graphical elements in relative terms, ie, a percentage of the distance from margins/center.

Sent from my SCH-I605 using Tapatalk
Last edited by sublimaze; 25th January 2014 at 04:51 PM.
25th January 2014, 08:48 PM   |  #2  
Member
Flag Kosice
Thanks Meter: 18
 
86 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by sublimaze

It would be awesome if users had the option to set graphical elements in relative terms, ie, a percentage of the distance from margins/center.

Sent from my SCH-I605 using Tapatalk

Nice idea, using relative positioning and size (HTML like?) would make themes more usable on different screen resolutions. However, this would not play well with themes that have the objects designed directly into the wallpaper
26th January 2014, 02:02 PM   |  #3  
Junior Member
Thanks Meter: 0
 
10 posts
Join Date:Joined: Jan 2014
I don't understand what are you trying to say. Can you clear it for me?
27th January 2014, 09:02 AM   |  #4  
Member
Flag Kosice
Thanks Meter: 18
 
86 posts
Join Date:Joined: Feb 2012
More
Quote:
Originally Posted by Grame smith

I don't understand what are you trying to say. Can you clear it for me?

Grame, do you have any experience with HTML and CSS?

If you do styling of text in them you have a possibility to chose precise or relative size of text by using tags saying something like:

font-size: 16px - this is absolute size of text

but you can also say :

font-size: 2em - this is relative size saying that the text should be double the standard size for what ever the default text size is on the device

Same is possible for size and position where you can define them in pixels or percents

As I understand what OP said, Themer now uses positioning in pixels (absolute) like setting the battery status 10 pixels from right border and 10 from top. If theme instead allowed for percentage (as well as pixels) it would help with scalability of themes for different sizes and resolutions. As I said the only issue to solve would be graphics that are built into the wallpaper.
28th January 2014, 01:53 AM   |  #5  
Junior Member
Thanks Meter: 0
 
3 posts
Join Date:Joined: Oct 2013
I am also having a lot of trouble with widgets on themer
28th January 2014, 06:52 AM   |  #6  
Junior Member
Thanks Meter: 2
 
4 posts
Join Date:Joined: Sep 2013
Quote:
Originally Posted by akkando

I am also having a lot of trouble with widgets on themer

ME TOO
28th January 2014, 07:25 AM   |  #7  
ThemerSupport's Avatar
Official Themer Rep
Thanks Meter: 453
 
988 posts
Join Date:Joined: Aug 2013
Quote:
Originally Posted by lifeisfanlv

ME TOO

What problems are you having? The more information you provide us the better we can help
28th January 2014, 11:42 AM   |  #8  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Nov 2013
Quote:
Originally Posted by lifeisfanlv

ME TOO

me too its make me feel upset

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes