- 主题
- 回帖
- 0
- 精华
- 注册时间
- 2018-7-12
- 最后登录
- 1970-1-1
- 在线时间
- 小时
- 爆棚声望
-
- PGB
-
|
楼主 |
发表于 2021-11-15 12:27
|
显示全部楼层
添加一段代码:
<!--city-->
<container default_height="300" priority="1">
<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />
<container class="vertical_adaptive_container" inset="0" offset="0" gap="1" mode="distribute_equally">
<container default_height="-1">
<layout class="stick_to_sides_attachment" alignment="all" inset="0" apply_to_children="true" />
<widget class="picture" file="boxes/custom/citypic/paper" image_alignment="centre_x,centre_y" scale_picture="true" keep_aspect_ratio="true" red_replacement="gold" />
<widget class="club_overview_details_panel" file="club/club overview details andro" id="clof">
<record id="object_property">
<integer id="get_property" value="objt" />
<integer id="set_property" value="objt" />
</record>
</widget>
</container>
</container>
</container>
然后另外新建个xml文件,输入
<?xml version="1.0" encoding="UTF-8"?>
<panel>
<layout class="arrange_vertical_attachment" alignment="bottom,extend" offset="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/>
<container>
<layout class="arrange_vertical_attachment" layout="-1" offset="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true"/>
<container class="bordered_box" appearance="" inset="0" offset="0" gap="0">
<layout class="arrange_horizontal_attachment" layout="-8,4,-3" offset="0" gap="0"/>
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true"/>
<container>
<layout class="stick_to_sides_attachment" alignment="all" inset="5" scale_picture="true" apply_to_children="true" />
<widget class="background" file="backgrounds" id="bgnd">
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="5" />
<record id="object_property">
<integer id="get_property" value="bgnd" />
<integer id="set_property" value="file" />
</record>
</widget>
<container>
<layout class="arrange_vertical_attachment" layout="-1,41" offset="0" gap="0"/>
<layout class="stick_to_sides_attachment" alignment="horizontal" inset="0" apply_to_children="true" />
<container/>
<container class="bordered_box" height="41" maximum_width="460" appearance="boxes/custom/citypic/city" red_replacement="lethe_dark">
<layout class="arrange_horizontal_attachment" alignment="middle" gap="15" />
<layout class="stick_to_sides_attachment" alignment="vertical" inset="0" apply_to_children="true" />
<!--town-->
<widget class="city_label" id="namL" size="12" font="title" colour="white" alignment="centre" auto_size="horizontal" show_nation="false">
<record id="object_property">
<integer id="get_property" value="SctI" />
</record>
</widget>
<!--nation-->
<widget class="nation_button" id="nati" size="12" font="title" colour="white" alignment="centre" auto_size="horizontal">
<record id="object_property">
<integer id="get_property" value="Cnat" />
</record>
</widget>
</container>
</container>
</container>
<container/>
</container>
</container>
</panel>
这个xml命名为club overview details andro,放到club目录 |
|