17
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<hbdocument context="RadioTuningView" version="0.9">
|
|
3 |
<object name="tv:historyview_action" type="HbAction">
|
|
4 |
<string name="text" locid="txt_rad_opt_play_history" />
|
|
5 |
</object>
|
|
6 |
<object name="exit_action" type="HbAction">
|
|
7 |
<string name="text" locid="txt_common_opt_exit" />
|
|
8 |
</object>
|
|
9 |
<widget name="view" plugin="radiowidgetsplugin" type="RadioTuningView">
|
|
10 |
<widget name="menu" role="HbView:menu" type="HbMenu">
|
|
11 |
<ref object="tv:historyview_action" role="HbMenu:addAction"/>
|
|
12 |
<ref object="exit_action" role="HbMenu:addAction"/>
|
|
13 |
</widget>
|
|
14 |
<widget name="tv:container" role="HbView:widget" type="HbWidget">
|
|
15 |
<widget name="tv:info_area" type="HbWidget">
|
|
16 |
<widget name="tv:carousel_background" type="HbLabel">
|
|
17 |
<icon name="icon" iconName=":/images/qtg_fr_lcd.svg" />
|
|
18 |
<enums name="alignment" value="AlignVCenter|AlignHCenter"/>
|
|
19 |
</widget>
|
|
20 |
<widget name="tv:carousel_overlay" type="HbLabel">
|
|
21 |
<icon name="icon" iconName=":/images/qtg_fr_lcd_overlay.svg" />
|
|
22 |
<enums name="alignment" value="AlignVCenter|AlignHCenter"/>
|
|
23 |
</widget>
|
|
24 |
<widget name="tv:station_carousel" plugin="radiowidgetsplugin" type="RadioStationCarousel">
|
|
25 |
<icon name="favoriteIcon" iconName=":/images/pri_small_star.svg" />
|
|
26 |
<icon name="nonFavoriteIcon" iconName=":/images/pri_small_star_inactive.svg" />
|
|
27 |
<widget name="tv:info_text" type="HbLabel" >
|
|
28 |
<bool name="visible" value="FALSE"/>
|
|
29 |
<sizehint height="200" width="300" type="PREFERRED"/>
|
|
30 |
</widget>
|
|
31 |
</widget>
|
|
32 |
<layout type="stacked">
|
|
33 |
<stackitem itemname="tv:carousel_background"/>
|
|
34 |
<stackitem itemname="tv:carousel_overlay"/>
|
|
35 |
<stackitem itemname="tv:station_carousel"/>
|
|
36 |
</layout>
|
|
37 |
</widget>
|
|
38 |
<widget name="tv:control_widget" type="HbWidget" >
|
|
39 |
<widget name="tv:stations_button" type="HbPushButton">
|
|
40 |
<bool name="stretched" value="TRUE" />
|
|
41 |
<string name="text" locid="txt_rad_button_stations" />
|
|
42 |
<icon name="icon" iconName="qtg_mono_radio_stations.svg" />
|
|
43 |
</widget>
|
|
44 |
<widget name="tv:scan_button" type="HbPushButton">
|
|
45 |
<bool name="stretched" value="TRUE" />
|
|
46 |
<string name="text" locid="txt_rad_button_search_all_stations" />
|
|
47 |
<icon name="icon" iconName="qtg_mono_station_scan.svg" />
|
|
48 |
</widget>
|
|
49 |
<widget name="tv:loudspeaker_button" type="HbPushButton">
|
|
50 |
<bool name="stretched" value="TRUE" />
|
|
51 |
<string name="text" locid="txt_rad_button_activate_loudspeaker" />
|
|
52 |
<icon name="icon" iconName="qtg_mono_speaker.svg.svg" />
|
|
53 |
</widget>
|
|
54 |
<layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear">
|
|
55 |
<contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/>
|
|
56 |
<linearitem itemname="tv:stations_button"/>
|
|
57 |
<stretchitem stretchfactor="1"/>
|
|
58 |
<linearitem itemname="tv:scan_button"/>
|
|
59 |
<stretchitem stretchfactor="1"/>
|
|
60 |
<linearitem itemname="tv:loudspeaker_button"/>
|
|
61 |
</layout>
|
|
62 |
</widget>
|
|
63 |
<widget name="tv:frequency_area" type="HbWidget">
|
|
64 |
<widget name="tv:frequency_background" type="HbLabel">
|
|
65 |
<icon name="icon" iconName=":/images/stripbackground.png" />
|
|
66 |
<enums name="alignment" value="AlignVCenter|AlignHCenter"/>
|
|
67 |
</widget>
|
|
68 |
<widget name="tv:frequency_strip" plugin="radiowidgetsplugin" type="RadioFrequencyStrip">
|
|
69 |
<icon name="leftButtonIcon" iconName=":/images/qtg_mono_previous.svg" />
|
|
70 |
<icon name="rightButtonIcon" iconName=":/images/qtg_mono_next.svg" />
|
|
71 |
<integer name="autoScrollTime" value="1000"/>
|
|
72 |
</widget>
|
|
73 |
<layout type="stacked">
|
|
74 |
<stackitem itemname="tv:frequency_background"/>
|
|
75 |
<stackitem itemname="tv:frequency_strip"/>
|
|
76 |
</layout>
|
|
77 |
</widget>
|
|
78 |
</widget>
|
|
79 |
<string name="title" locid="txt_rad_title_fm_radio"/>
|
|
80 |
</widget>
|
|
81 |
<connect receiver="view" sender="exit_action" signal="triggered()" slot="quit()"/>
|
|
82 |
<section name="portrait">
|
|
83 |
<widget name="tv:frequency_area">
|
|
84 |
<sizehint height="70" width="360" type="PREFERRED"/>
|
|
85 |
</widget>
|
|
86 |
<widget name="tv:info_area">
|
|
87 |
<sizehint height="280" type="PREFERRED" width="360"/>
|
|
88 |
</widget>
|
|
89 |
<widget name="tv:control_widget">
|
|
90 |
<sizehint height="280" type="PREFERRED" width="300"/>
|
|
91 |
</widget>
|
|
92 |
<widget name="tv:container">
|
|
93 |
<layout orientation="Vertical" spacing="0un" type="linear">
|
|
94 |
<linearitem itemname="tv:info_area"/>
|
|
95 |
<linearitem itemname="tv:frequency_area"/>
|
|
96 |
<linearitem itemname="tv:control_widget"/>
|
|
97 |
</layout>
|
|
98 |
</widget>
|
|
99 |
</section>
|
|
100 |
<section name="landscape">
|
|
101 |
<widget name="tv:frequency_area">
|
|
102 |
<sizehint height="50" width="640" type="PREFERRED"/>
|
|
103 |
</widget>
|
|
104 |
<widget name="tv:info_area">
|
|
105 |
<sizehint height="300" type="PREFERRED" width="230"/>
|
|
106 |
</widget>
|
|
107 |
<widget name="tv:control_widget">
|
|
108 |
<sizehint height="230" type="PREFERRED" width="230"/>
|
|
109 |
</widget>
|
|
110 |
<widget name="tv:container">
|
|
111 |
<layout spacing="0un" type="grid">
|
|
112 |
<griditem column="0" itemname="tv:info_area" row="0"/>
|
|
113 |
<griditem column="1" itemname="tv:control_widget" row="0"/>
|
|
114 |
<griditem column="0" itemname="tv:frequency_area" row="1" column_span="2" />
|
|
115 |
</layout>
|
|
116 |
</widget>
|
|
117 |
</section>
|
|
118 |
<!-- Scanning layout -->
|
|
119 |
<section name="tv:scanning">
|
|
120 |
<object name="tv:historyview_action">
|
|
121 |
<bool name="visible" value="FALSE"/>
|
|
122 |
</object>
|
|
123 |
<widget name="tv:info_text">
|
|
124 |
<string name="plainText" locid="txt_rad_list_searching_all_available_stations_ple" />
|
|
125 |
<bool name="visible" value="TRUE"/>
|
|
126 |
</widget>
|
|
127 |
<widget name="tv:stations_button">
|
|
128 |
<bool name="visible" value="FALSE"/>
|
|
129 |
</widget>
|
|
130 |
<widget name="tv:scan_button">
|
|
131 |
<string name="text" locid="txt_rad_button_cancel" />
|
|
132 |
<icon name="icon" iconName=" " />
|
|
133 |
</widget>
|
|
134 |
<widget name="tv:loudspeaker_button">
|
|
135 |
<bool name="visible" value="FALSE"/>
|
|
136 |
</widget>
|
|
137 |
</section>
|
|
138 |
|
|
139 |
<!-- Seeking layout -->
|
|
140 |
<section name="tv:seeking">
|
|
141 |
<object name="tv:historyview_action">
|
|
142 |
<bool name="visible" value="FALSE"/>
|
|
143 |
</object>
|
|
144 |
<widget name="tv:info_text">
|
|
145 |
<string name="plainText" locid="txt_rad_list_seeking" />
|
|
146 |
<bool name="visible" value="TRUE"/>
|
|
147 |
</widget>
|
|
148 |
</section>
|
|
149 |
|
|
150 |
<!-- No antenna layout -->
|
|
151 |
<section name="tv:no_antenna">
|
|
152 |
<widget name="tv:info_text">
|
|
153 |
<string name="plainText" locid="txt_rad_info_connect_wired_headset1" />
|
|
154 |
<bool name="visible" value="TRUE"/>
|
|
155 |
</widget>
|
|
156 |
</section>
|
|
157 |
|
|
158 |
<!-- No favorites layout -->
|
|
159 |
<section name="tv:no_favorites">
|
|
160 |
<widget name="tv:info_text">
|
|
161 |
<string name="plainText" locid="txt_rad_dialog_long_press_arrow_keys_to_search_str" />
|
|
162 |
<bool name="visible" value="TRUE"/>
|
|
163 |
</widget>
|
|
164 |
</section>
|
|
165 |
|
|
166 |
<!-- Normal layout (not scanning) -->
|
|
167 |
<section name="tv:normal">
|
|
168 |
<object name="tv:historyview_action">
|
|
169 |
<bool name="visible" value="TRUE"/>
|
|
170 |
</object>
|
|
171 |
<widget name="tv:info_text">
|
|
172 |
<bool name="visible" value="FALSE"/>
|
|
173 |
</widget>
|
|
174 |
<widget name="tv:stations_button">
|
|
175 |
<bool name="visible" value="TRUE"/>
|
|
176 |
</widget>
|
|
177 |
<widget name="tv:scan_button">
|
|
178 |
<string name="text" locid="txt_rad_button_search_all_stations" />
|
|
179 |
<icon name="icon" iconName="qtg_mono_station_scan.svg" />
|
|
180 |
</widget>
|
|
181 |
<widget name="tv:loudspeaker_button">
|
|
182 |
<bool name="visible" value="TRUE"/>
|
|
183 |
</widget>
|
|
184 |
</section>
|
|
185 |
|
|
186 |
<metadata activeUIState="portrait" display="NHD portrait" unit="un">
|
|
187 |
<uistate name="Common ui state" sections="#common"/>
|
|
188 |
<uistate name="portrait" sections="#common portrait"/>
|
|
189 |
<uistate name="landscape" sections="#common landscape"/>
|
|
190 |
</metadata>
|
|
191 |
</hbdocument>
|