forked from omnirom/android_bootable_recovery
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui : Add an option to specify a custom x-axis value for status bar i…
…tems - The var TW_CUSTOM_CLOCK_POS, TW_CUSTOM_CPU_POS and TW_CUSTOM_BATTERY_POS can be used to specify a custom position for the clock, cpu temperature and battery percentage on the x-axis. - The value can either be a whole number refering to the starting position of that specific item on the x-axis or it can be 'left', 'right' or 'center' which will try to automatically calculate such a value that items appear to be left , right or center aligned respectively. - Incase of TW_NO_CPU_TEMP being set to true, the CPU_POS var can be used for the TWRP version text that takes the place of the cpu temp. One of the use-cases of this var is when the status bar items overlap with the camera cutout. In that case, instead of specifiying an offset for the whole gui on y-axis, the status bar items can be offset along the x-axis only. Signed-off-by: Yillié <yilliee@protonmail.com> Change-Id: Ic01d301731822a598b0ca8adb2280c4d01a3622f Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
- Loading branch information
Showing
6 changed files
with
358 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.