V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
drdre
V2EX  ›  Android

求助安卓 UI 大佬

  •  
  •   drdre · 2022-12-24 21:47:33 +08:00 · 8903 次点击
    这是一个创建于 725 天前的主题,其中的信息可能已经有所发展或是发生改变。

    有没有什么工具可以实时预览安卓 XML 文件生成的图形。 例如这样:

    <vector xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt" android:height="24dp" android:width="24dp" android:viewportWidth="24" android:viewportHeight="24"> <path android:fillColor="#333333" android:pathData="M11.9998,15.861C12.7145,15.861 13.3708,16.1102 13.8858,16.5261L12.3646,18.3974C12.2009,18.5988 11.9048,18.6294 11.7033,18.4656C11.6783,18.4453 11.6554,18.4224 11.6351,18.3974L10.1138,16.5261L10.1138,16.5261C10.6289,16.1102 11.2851,15.861 11.9998,15.861Z" android:strokeColor="#00000000" android:strokeWidth="1" android:fillType="1"/> <path android:fillColor="#333333" android:pathData="M11.9998,12.449C13.5313,12.449 14.9376,12.983 16.0413,13.8743L14.6941,15.5317C13.9583,14.9375 13.0208,14.5815 11.9998,14.5815C10.9788,14.5815 10.0413,14.9375 9.3055,15.5317L7.9584,13.8743C9.0621,12.983 10.4683,12.449 11.9998,12.449Z" android:strokeColor="#00000000" android:strokeWidth="1" android:strokeAlpha="0.3" android:fillAlpha="0.3" android:fillType="1"/> <path android:fillColor="#333333" android:pathData="M11.9998,9.037C14.3483,9.037 16.5048,9.856 18.1972,11.2228L16.8498,12.88C15.5253,11.8104 13.8377,11.1695 11.9998,11.1695C10.162,11.1695 8.4743,11.8104 7.1499,12.88L5.8024,11.2229C7.4948,9.856 9.6513,9.037 11.9998,9.037Z" android:strokeColor="#00000000" android:strokeWidth="1" android:strokeAlpha="0.3" android:fillAlpha="0.3" android:fillType="1"/> <path android:fillColor="#333333" android:pathData="M11.9998,5.625C15.075,5.625 17.9058,6.6668 20.1562,8.4153C20.2634,8.5006 20.2812,8.6567 20.196,8.764C20.1954,8.7647 20.1948,8.7654 20.1943,8.7661L19.0054,10.2283L19.0054,10.2283C17.0923,8.6832 14.6546,7.7575 11.9998,7.7575C9.3449,7.7575 6.9071,8.6833 4.9939,10.2286L3.8059,8.7668C3.7192,8.66 3.7354,8.5032 3.8421,8.4165C3.8435,8.4154 3.845,8.4142 3.8464,8.4131C3.8464,8.4131 3.8464,8.4131 3.8464,8.4131C6.0963,6.6659 8.926,5.625 11.9998,5.625Z" android:strokeColor="#00000000" android:strokeWidth="1" android:strokeAlpha="0.2992" android:fillAlpha="0.2992" android:fillType="1"/> </vector>
    3 条回复    2022-12-25 11:34:49 +08:00
    rming
        1
    rming  
       2022-12-24 21:56:56 +08:00
    drdre
        2
    drdre  
    OP
       2022-12-24 22:03:02 +08:00
    @rming 好的大佬,新技能 get
    jeesk
        3
    jeesk  
       2022-12-25 11:34:49 +08:00 via Android
    studio 不是自带的吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1015 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 21:23 · PVG 05:23 · LAX 13:23 · JFK 16:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.