Şimdi Ara

XML Hakkinda

Bu Konudaki Kullanıcılar:
2 Misafir - 2 Masaüstü
5 sn
5
Cevap
0
Favori
835
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • Arkadaslar xml hakkinda bir yardim ederseniz..

    Cep telefonu gelistirme modlama adi neyse .. onla ugrasmaktayim..

    elimde soyle bir xml var:

    <?xml version="1.0" encoding="utf-8" ?>  
    - <!-- Created with Liquid XML Studio 6.1.17.0 - FREE Community Edition (http://www.liquid-technologies.com)
    -->
    - <control-inst xsi:type="sai:panelMrgType" xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sai="http://www.sonyericsson.com/sai" xsi:schemaLocation="http://www.sonyericsson.com/sui \MC_SwModules_005\cah1623241_sui_toolkit\doc\sui.xsdhttp://www.sonyericsson.com/sai \MC_SwModules_005\cah1623214_standby_framework\docs\sai_extensions.xsd">
    <background colour="#000000" />
    - <visuals>
    - <visual id="text2">
    - <!-- Dummy text visual. Not needed, but handy for debugging
    -->
    - <visual-inst xsi:type="textVisualType" size="40">
    <data data-type="text">Yo World!</data>
    <style underline="true" />
    <style outline="#000000" />
    </visual-inst>
    </visual>
    </visuals>
    - <layouts>
    - <layout id="noMed">
    <layout-mgr xsi:type="sai:panelLayoutMgr" />
    </layout>
    </layouts>
    - <!-- no configurations specified because layout is the same in either orientation
    -->
    <include href="panelmgr_transition.xml" />
    </control-inst>


    burada bastaki:
    <background colour="#000000" />


    Arka plan rengini rengini belirliyor. Ben arka plan olarak renk yerine resim atamak istiyorum. sunlari denedim:

    <background_image>C:\resource\apps\sai\bg.png</background_image> 
    <image>C:\resource\apps\sai\bg.png</image>


    benzeri kodlari denedim olmadi.. Bana kod & fikir onerebilirmisiniz?







  • Şunu dene

     

    <background image="C:\resource\apps\sai\bg.png" />

  • quote:

    Orijinalden alıntı: TradeMark

    Şunu dene

     

    <background image="C:\resource\apps\sai\bg.png" />



    hocam cok tesekkur ederim. su sekilde duzenleyip attim:

    <?xml version="1.0" encoding="utf-8" ?>  
    - <!-- Created with Liquid XML Studio 6.1.17.0 - FREE Community Edition (http://www.liquid-technologies.com)
    -->
    - <control-inst xsi:type="sai:panelMrgType" xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sai="http://www.sonyericsson.com/sai" xsi:schemaLocation="http://www.sonyericsson.com/sui \MC_SwModules_005\cah1623241_sui_toolkit\doc\sui.xsdhttp://www.sonyericsson.com/sai \MC_SwModules_005\cah1623214_standby_framework\docs\sai_extensions.xsd">
    <background image="C:\resource\apps\sai\bg.png" />
    - <visuals>
    - <visual id="text2">
    - <!-- Dummy text visual. Not needed, but handy for debugging
    -->
    - <visual-inst xsi:type="textVisualType" size="40">
    <data data-type="text">Yo World!</data>
    <style underline="true" />
    <style outline="#000000" />
    </visual-inst>
    </visual>
    </visuals>
    - <layouts>
    - <layout id="noMed">
    <layout-mgr xsi:type="sai:panelLayoutMgr" />
    </layout>
    </layouts>
    - <!-- no configurations specified because layout is the same in either orientation
    -->
    <include href="panelmgr_transition.xml" />
    </control-inst>


    Fakat verim alamadim.

    Yinede cok tesekkurler.




  • Tam olarak hangi ortam için geliştirme yaptığını söylersen yardımcı olabilirim.
  • quote:

    Orijinalden alıntı: TradeMark

    Tam olarak hangi ortam için geliştirme yaptığını söylersen yardımcı olabilirim.

    Hcam, bekleme ekraninda 5 panel var. 5 panelinde arka plan renkleri siyah. Bu siyah rengin yerine ben telefondaki herhangi bir klasorden resim koymak istiyorum. Resimdede goruldugu gibi arka plan siyah,

     XML Hakkinda


    Bu panellerin hepsinin ayri bir xml dosyasi var. birde ortak kullandiklari panelmngr.xml var.
    Panelmngr.xml de bulunan renk kodu tum panellerin arka plan rengini belirliyor.

    panelmngr.xml:

    <?xml version="1.0" encoding="utf-8" ?>  
    - <!-- Created with Liquid XML Studio 6.1.17.0 - FREE Community Edition (http://www.liquid-technologies.com)
    -->
    - <control-inst xsi:type="sai:panelMrgType" xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sai="http://www.sonyericsson.com/sai" xsi:schemaLocation="http://www.sonyericsson.com/sui \MC_SwModules_005\cah1623241_sui_toolkit\doc\sui.xsdhttp://www.sonyericsson.com/sai \MC_SwModules_005\cah1623214_standby_framework\docs\sai_extensions.xsd">
    <background colour="#000000" />
    - <visuals>
    - <visual id="text2">
    - <!-- Dummy text visual. Not needed, but handy for debugging
    -->
    - <visual-inst xsi:type="textVisualType" size="40">
    <data data-type="text">Yo World!</data>
    <style underline="true" />
    <style outline="#000000" />
    </visual-inst>
    </visual>
    </visuals>
    - <layouts>
    - <layout id="noMed">
    <layout-mgr xsi:type="sai:panelLayoutMgr" />
    </layout>
    </layouts>
    - <!-- no configurations specified because layout is the same in either orientation
    -->
    <include href="panelmgr_transition.xml" />
    </control-inst>


    buradaki renk kodunu degistirince tum panellerdeki arka plan rengi degisiyor.

    Herhangi bir panele farkli renk atamak icinse:
    Ornegin favori kayitlar paneline farkli bir renk atayalim:

    orjinal xml:
    <?xml version="1.0" encoding="utf-8" ?>  
    - <!-- Created with Liquid XML Studio 6.1.17.0 - FREE Community Edition (http://www.liquid-technologies.com)
    -->
    - <control-inst xsi:type="sai:panelCtrlType" xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sai="http://www.sonyericsson.com/sai" xsi:schemaLocation="http://www.sonyericsson.com/sui \MC_SwModules_005\cah1623241_sui_toolkit\doc\sui.xsdhttp://www.sonyericsson.com/sai \MC_SwModules_005\cah1623214_standby_framework\docs\sai_extensions.xsd">
    - <visuals>
    - <visual id="favourites_manager">
    <include href="Favoritespanel\favourites_manager.xml" />
    </visual>
    </visuals>
    - <layouts>
    - <layout id="layout_portrait">
    - <layout-mgr xsi:type="fixedLayoutMgr">
    - <layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="360" height="615">
    <visual-link visual-id="favourites_manager" />
    </layout-item>
    </layout-mgr>
    </layout>
    </layouts>
    - <navibar-button-model name="StdNaviBarButtonModel" xmlns="http://www.sonyericsson.com/sai">
    <text>Favo(u)rites</text>
    <tooltip>The Favo(u)rites Panel</tooltip>
    <icon>Z:\resource\apps\sai\Favoritespanel\FavoritesExample.png</icon>
    </navibar-button-model>
    - <!-- no configurations specified because layout is the same in either orientation
    -->
    </control-inst>


    orjinali bu. renk kodunu su sekilde ekleyince:

    <?xml version="1.0" encoding="utf-8" ?>  
    - <!-- Created with Liquid XML Studio 6.1.17.0 - FREE Community Edition (http://www.liquid-technologies.com)
    -->
    - <control-inst xsi:type="sai:panelCtrlType" xmlns="http://www.sonyericsson.com/sui" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sai="http://www.sonyericsson.com/sai" xsi:schemaLocation="http://www.sonyericsson.com/sui \MC_SwModules_005\cah1623241_sui_toolkit\doc\sui.xsdhttp://www.sonyericsson.com/sai \MC_SwModules_005\cah1623214_standby_framework\docs\sai_extensions.xsd">
    <background colour="#000000" />
    - <visuals>
    - <visual id="favourites_manager">
    <include href="Favoritespanel\favourites_manager.xml" />
    </visual>
    </visuals>
    - <layouts>
    - <layout id="layout_portrait">
    - <layout-mgr xsi:type="fixedLayoutMgr">
    - <layout-item xsi:type="fixedLayoutItemType" x="0" y="0" width="360" height="615">
    <visual-link visual-id="favourites_manager" />
    </layout-item>
    </layout-mgr>
    </layout>
    </layouts>
    - <navibar-button-model name="StdNaviBarButtonModel" xmlns="http://www.sonyericsson.com/sai">
    <text>Favo(u)rites</text>
    <tooltip>The Favo(u)rites Panel</tooltip>
    <icon>Z:\resource\apps\sai\Favoritespanel\FavoritesExample.png</icon>
    </navibar-button-model>
    - <!-- no configurations specified because layout is the same in either orientation
    -->
    </control-inst>


    o panelin arka plan rengi digerlerinden farkli oluyor. Benim istedigim renk yerine telefondaki herhangi bir surucude bulunan klasorden resim atamak.

    Mesela mavi arka plan yerine telefondaki: C:\images\panel\fon.png dizinindeki resmi atamak.

    biraz karisik oldu sanirim



    < Bu mesaj bu kişi tarafından değiştirildi Ceset_GR -- 28 Şubat 2012; 9:16:36 >




  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.