I think you posed this to the wrong mailing list.
Hadley
On Fri, Feb 24, 2017 at 4:35 AM, Emil Sjölander
<
sjoland...@gmail.com> wrote:
> Hi, I'm currently working on improvements to the android debugging tool
> stetho (
https://github.com/facebook/stetho) and have been trying to make
> styles exposed by the android application editable. I have tried with both
> getMatchedStylesForNode and getInlineStylesForNode but I am not able to make
> any of the styles editable, they instead show up grayed out. Inspecting the
> inspector shows they have the `read-only` css class applied to them. I tried
> greping the javascript for devtools for this class but was unable to find
> any clear way to control this via the devtools RPC api defined in
> protocol.json. This may be an issue with stetho using an old version of the
> protocol but I'm not convinced about that because looking at the new version
> I don't see anything which I am hopeful would allow what I want. I also
> tried dynamically creating a stylesheet and then associating the matched
> styles of a node with that stylesheet. The idea was that maybe a style needs
> a backing stylesheet to be editable. This didn't work however I didn't
> explore this very thoroughly so happy to try again if you think this is the
> reason none of the styles are editable.
>
> --
> You received this message because you are subscribed to the Google Groups
> "devtools" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
rdevtools+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
http://hadley.nz