1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <hbdocument context="RadioHistoryView" version="1.0"> |
|
3 <object name="hv:clear_list_action" type="HbAction"> |
|
4 <string locid="txt_rad_opt_clear_list" name="text"/> |
|
5 </object> |
|
6 <object name="hv:add_songs_action" type="HbAction"> |
|
7 <string value="DEBUG: Add Songs" name="text"/> |
|
8 </object> |
|
9 <object name="loudspeaker_action" type="HbAction"> |
|
10 <string locid="txt_common_opt_activate_loudspeaker" name="text"/> |
|
11 </object> |
|
12 <object name="exit_action" type="HbAction"> |
|
13 <string locid="txt_common_opt_exit" name="text"/> |
|
14 </object> |
|
15 <object name="hv:all_songs_button" type="HbAction"> |
|
16 <bool name="checkable" value="TRUE"/> |
|
17 <icon iconName="qtg_mono_radio_stations" name="icon"/> |
|
18 <string locid="txt_rad_button_recently_played_songs" name="text"/> |
|
19 </object> |
|
20 <object name="hv:tagged_songs_button" type="HbAction"> |
|
21 <bool name="checkable" value="TRUE"/> |
|
22 <icon iconName="qtg_mono_favourites" name="icon"/> |
|
23 <string locid="txt_rad_button_tagged_songs" name="text"/> |
|
24 </object> |
|
25 <object name="hv:toggle_tag_action" type="HbAction"> |
|
26 <string locid="txt_rad_menu_tag_song" name="text"/> |
|
27 </object> |
|
28 <object name="hv:ovi_store_action" type="HbAction"> |
|
29 <string locid="txt_rad_menu_search_from_music_store" name="text"/> |
|
30 </object> |
|
31 <object name="hv:other_store_action" type="HbAction"> |
|
32 <string value="Search from Amazon" name="text"/> |
|
33 </object> |
|
34 |
|
35 <widget name="view" type="HbView"> |
|
36 <icon name="nonTaggedIcon" iconName="qtg_mono_tag" /> |
|
37 <icon name="taggedIcon" iconName="qtg_small_tag_inactive" /> |
|
38 <widget name="hv:toolbar" role="HbView:toolBar" type="HbToolBar"> |
|
39 <enums name="orientation" value="Horizontal"/> |
|
40 <ref object="hv:all_songs_button" role="HbToolBar:addAction"/> |
|
41 <ref object="hv:tagged_songs_button" role="HbToolBar:addAction"/> |
|
42 </widget> |
|
43 <widget name="content" role="HbView:widget" type="HbWidget"> |
|
44 <widget name="hv:heading_banner" type="HbGroupBox"> |
|
45 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/> |
|
46 <sizehint height="expr(var(hb-param-text-height-secondary)+2*var(hb-param-margin-gene-middle-vertical))" type="PREFERRED"/> |
|
47 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/> |
|
48 <string name="heading" locid="txt_rad_subhead_play_history" /> |
|
49 </widget> |
|
50 <widget name="hv:stacked_widget" type="HbWidget" /> |
|
51 <layout type="anchor"> |
|
52 <anchoritem dst="hv:heading_banner" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/> |
|
53 <anchoritem dst="hv:heading_banner" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
54 <anchoritem dst="hv:heading_banner" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
55 <anchoritem dst="hv:stacked_widget" dstEdge="TOP" spacing="0un" src="hv:heading_banner" srcEdge="BOTTOM"/> |
|
56 <anchoritem dst="hv:stacked_widget" dstEdge="BOTTOM" spacing="0un" src="" srcEdge="BOTTOM"/> |
|
57 <anchoritem dst="hv:stacked_widget" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/> |
|
58 <anchoritem dst="hv:stacked_widget" dstEdge="RIGHT" spacing="0un" src="" srcEdge="RIGHT"/> |
|
59 </layout> |
|
60 </widget> |
|
61 <string locid="txt_rad_title_fm_radio" name="title"/> |
|
62 </widget> |
|
63 <widget name="hv:context_menu" type="HbMenu"> |
|
64 <ref object="hv:toggle_tag_action" role="HbMenu:addAction"/> |
|
65 <ref object="hv:ovi_store_action" role="HbMenu:addAction"/> |
|
66 <ref object="hv:other_store_action" role="HbMenu:addAction"/> |
|
67 </widget> |
|
68 |
|
69 <!-- Section to do lazy initialization of the view --> |
|
70 <section name="lazy_load"> |
|
71 <widget name="view"> |
|
72 <widget name="hv:menu" role="HbView:menu" type="HbMenu"> |
|
73 <ref object="hv:clear_list_action" role="HbMenu:addAction"/> |
|
74 <ref object="hv:add_songs_action" role="HbMenu:addAction"/> |
|
75 <ref object="loudspeaker_action" role="HbMenu:addAction"/> |
|
76 <ref object="exit_action" role="HbMenu:addAction"/> |
|
77 </widget> |
|
78 </widget> |
|
79 |
|
80 <widget name="hv:stacked_widget"> |
|
81 <widget name="hv:history_list" type="HbListView"> |
|
82 <sizehint height="320" type="PREFERRED" width="240"/> |
|
83 </widget> |
|
84 <widget name="hv:empty_container" type="HbWidget"> |
|
85 <bool name="visible" value="FALSE"/> |
|
86 <widget name="hv:empty_title" type="HbLabel"> |
|
87 <enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
|
88 <string locid="txt_rad_info_play_history_is_empty" name="plainText"/> |
|
89 <fontspec name="fontSpec" role="Title" textheight="33.5"/> |
|
90 </widget> |
|
91 <widget name="hv:empty_text" type="HbLabel"> |
|
92 <enums name="textWrapping" value="TextWordWrap"/> |
|
93 <enums name="alignment" value="AlignVCenter|AlignHCenter"/> |
|
94 <sizehint height="320" type="PREFERRED" width="240"/> |
|
95 <string locid="txt_rad_info_song_information_is_collected_automat" name="plainText"/> |
|
96 <fontspec name="fontSpec" role="Title" textheight="33.5"/> |
|
97 </widget> |
|
98 <layout orientation="Vertical" spacing="var(hb-param-margin-gene-middle-vertical)" type="linear"> |
|
99 <contentsmargins bottom="var(hb-param-margin-gene-bottom)" left="var(hb-param-margin-gene-left)" |
|
100 right="var(hb-param-margin-gene-right)" top="var(hb-param-margin-gene-top)"/> |
|
101 <stretchitem stretchfactor="2"/> |
|
102 <linearitem itemname="hv:empty_title"/> |
|
103 <stretchitem stretchfactor="1"/> |
|
104 <linearitem itemname="hv:empty_text"/> |
|
105 <stretchitem stretchfactor="2"/> |
|
106 </layout> |
|
107 </widget> |
|
108 <layout type="stacked"> |
|
109 <stackitem itemname="hv:history_list"/> |
|
110 <stackitem itemname="hv:empty_container"/> |
|
111 </layout> |
|
112 </widget> |
|
113 </section> |
|
114 |
|
115 <section name="hv:show_list"> |
|
116 <widget name="hv:history_list"> |
|
117 <bool name="visible" value="TRUE"/> |
|
118 </widget> |
|
119 <widget name="hv:empty_container"> |
|
120 <bool name="visible" value="FALSE"/> |
|
121 </widget> |
|
122 <object name="hv:clear_list_action"> |
|
123 <bool name="visible" value="TRUE"/> |
|
124 </object> |
|
125 </section> |
|
126 <section name="hv:hide_list"> |
|
127 <widget name="hv:history_list"> |
|
128 <bool name="visible" value="FALSE"/> |
|
129 </widget> |
|
130 <widget name="hv:empty_container"> |
|
131 <bool name="visible" value="TRUE"/> |
|
132 </widget> |
|
133 <object name="hv:clear_list_action"> |
|
134 <bool name="visible" value="FALSE"/> |
|
135 </object> |
|
136 </section> |
|
137 <section name="hv:history_mode"> |
|
138 <object name="hv:all_songs_button"> |
|
139 <bool name="checked" value="TRUE"/> |
|
140 </object> |
|
141 <object name="hv:tagged_songs_button"> |
|
142 <bool name="checked" value="FALSE"/> |
|
143 </object> |
|
144 <widget name="hv:empty_text"> |
|
145 <string locid="txt_rad_info_song_information_is_collected_automat" name="plainText"/> |
|
146 </widget> |
|
147 <widget name="hv:heading_banner"> |
|
148 <string name="heading" locid="txt_rad_subhead_play_history" /> |
|
149 </widget> |
|
150 </section> |
|
151 <section name="hv:tagged_mode"> |
|
152 <object name="hv:all_songs_button"> |
|
153 <bool name="checked" value="FALSE"/> |
|
154 </object> |
|
155 <object name="hv:tagged_songs_button"> |
|
156 <bool name="checked" value="TRUE"/> |
|
157 </object> |
|
158 <widget name="hv:empty_text"> |
|
159 <string locid="txt_rad_info_you_can_add_song_to_the_tagged_songs" name="plainText"/> |
|
160 </widget> |
|
161 <widget name="hv:heading_banner"> |
|
162 <string name="heading" locid="txt_rad_button_tagged_songs" /> |
|
163 </widget> |
|
164 </section> |
|
165 <metadata activeUIState="Common ui state" display="NHD portrait" unit="un"> |
|
166 <uistate name="Common ui state" sections="#common"/> |
|
167 <dummydata objectName="hv:history_list" section="#common" value="app_list_template5"/> |
|
168 </metadata> |
|
169 </hbdocument> |
|