Increase Font Size in Macrodroid "Popup Message" box

mdman2021

New member
This is probably a simple task but alas I cannot find the answer. Very specifically, the text that Macrodroid (MD) displays in its POPUP MESSAGE boxes is too small. How can I increase the font size, in MD's POPUP MESSAGE boxes, WITHOUT manually pinching or zooming -and- WITHOUT changing the font size for the entire phone?

I only want this change to increase the the font size in message boxes that MD displays -- like POPUP MESSAGE boxes, OPTION DIALOG boxes, DISPLAY DIALOG boxes, SELECTION DIALOG boxes, etc, etc.

Any help would be greatly appreciated.
 

mdman2021

New member
Endercraft,

I figured out how to make the text size larger in my Popup Message by Googling something like, "How to change font size using an HTML tag" then used trial-and-error. I was hoping this forum would provide the info I needed because I am not an HTML programmer.

For others who don't know what HTML tags are, here is how I made the text size larger in my Popup Message box... When I added the MacroDroid "Popup Message" action, I typed the following on the line where it says "Pop up message":

<h1 style="font-size:4em; ">Popup Message text </h1>

Replace "Popup Message text" (shown in my example above) with your message. I'm guessing "5em" is a larger font than "4em" but "4em" is larger than the default. Now the text in the Popup Message is large enough that I can read it without my eyeglasses.
 

tylerbakeman

New member
Endercraft,

I figured out how to make the text size larger in my Popup Message by Googling something like, "How to change font size using an HTML tag" then used trial-and-error. I was hoping this forum would provide the info I needed because I am not an HTML programmer.

For others who don't know what HTML tags are, here is how I made the text size larger in my Popup Message box... When I added the MacroDroid "Popup Message" action, I typed the following on the line where it says "Pop up message":

<h1 style="font-size:4em; ">Popup Message text </h1>

Replace "Popup Message text" (shown in my example above) with your message. I'm guessing "5em" is a larger font than "4em" but "4em" is larger than the default. Now the text in the Popup Message is large enough that I can read it without my eyeglasses.
The style attribute doesn’t apply Css in Macrodroid. The size change you’re seeing comes from the “h1” tag — each heading tag “h1, h2, h3, h4, h5, and h6” have their own font-sizes (in descending order, so “h1” is the largest).

Notice <tag style=“color: red”>text</tag> doesn’t change the color of the text. Instead Macrodroid allows for <font color=“red”>text, to change the color.

This formatting is weird. Does anyone know if this supports React’s formatting?
 

Endercraft

Moderator (& bug finder :D)
The style attribute doesn’t apply Css in Macrodroid. The size change you’re seeing comes from the “h1” tag — each heading tag “h1, h2, h3, h4, h5, and h6” have their own font-sizes (in descending order, so “h1” is the largest).

Notice <tag style=“color: red”>text</tag> doesn’t change the color of the text. Instead Macrodroid allows for <font color=“red”>text, to change the color.

This formatting is weird. Does anyone know if this supports React’s formatting?
MacroDroid doesn't support all html tag (and definitely not CSS) and as far as I know there is no plan to change that.
 

tylerbakeman

New member
The style attribute doesn’t apply Css in Macrodroid. The size change you’re seeing comes from the “h1” tag — each heading tag “h1, h2, h3, h4, h5, and h6” have their own font-sizes (in descending order, so “h1” is the largest).

Notice <tag style=“color: red”>text</tag> doesn’t change the color of the text. Instead Macrodroid allows for <font color=“red”>text, to change the color.

This formatting is weird. Does anyone know if this supports React’s formatting?
Update:
That formatting <font color=“red”> comes from TextView — it’s used for front end development in Android. A few examples pop-up:

<item name=“android:font color”>red</item>. (Definitely not React)
 
Top