radioapp/radiowidgets/res/layout/historyview.docml
changeset 51 bbebb0235466
parent 36 ba22309243a1
child 54 a8ba0c289b44
equal deleted inserted replaced
47:74b7c6e79031 51:bbebb0235466
    13         <string locid="txt_common_opt_exit" name="text"/>
    13         <string locid="txt_common_opt_exit" name="text"/>
    14     </object>
    14     </object>
    15     <object name="hv:all_songs_button" type="HbAction">
    15     <object name="hv:all_songs_button" type="HbAction">
    16         <bool name="checkable" value="TRUE"/>
    16         <bool name="checkable" value="TRUE"/>
    17         <icon iconName="qtg_mono_radio_stations" name="icon"/>
    17         <icon iconName="qtg_mono_radio_stations" name="icon"/>
    18         <string locid="txt_rad_button_recently_played_songs" name="text"/>
       
    19     </object>
    18     </object>
    20     <object name="hv:tagged_songs_button" type="HbAction">
    19     <object name="hv:tagged_songs_button" type="HbAction">
    21         <bool name="checkable" value="TRUE"/>
    20         <bool name="checkable" value="TRUE"/>
    22         <icon iconName="qtg_mono_favourites" name="icon"/>
    21         <icon iconName="qtg_mono_favourites" name="icon"/>
    23         <string locid="txt_rad_button_tagged_songs" name="text"/>
       
    24     </object>
    22     </object>
    25     <object name="hv:toggle_tag_action" type="HbAction">
    23     <object name="hv:toggle_tag_action" type="HbAction">
    26         <string locid="txt_rad_menu_tag_song" name="text"/>
    24         <string locid="txt_rad_menu_tag_song" name="text"/>
    27     </object>
    25     </object>
    28     <object name="hv:ovi_store_action" type="HbAction">
    26     <object name="hv:ovi_store_action" type="HbAction">
    29         <string locid="txt_rad_menu_search_from_music_store" name="text"/>
    27         <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>
    28     </object>
    34 
    29 
    35     <widget name="view" type="HbView">
    30     <widget name="view" type="HbView">
    36         <icon name="nonTaggedIcon" iconName="qtg_mono_tag" />
    31         <icon name="nonTaggedIcon" iconName="qtg_mono_tag" />
    37         <icon name="taggedIcon" iconName="qtg_small_tag_inactive" />
    32         <icon name="taggedIcon" iconName="qtg_small_tag_inactive" />
    43         <widget name="content" role="HbView:widget" type="HbWidget">
    38         <widget name="content" role="HbView:widget" type="HbWidget">
    44             <widget name="hv:heading_banner" type="HbGroupBox">
    39             <widget name="hv:heading_banner" type="HbGroupBox">
    45                 <sizepolicy horizontalPolicy="Expanding" horizontalStretch="0" verticalPolicy="Fixed" verticalStretch="0"/>
    40                 <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"/>
    41                 <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)"/>
    42                 <fontspec name="fontSpec" role="Secondary" textheight="var(hb-param-text-height-secondary)"/>
    48                 <string name="heading" locid="txt_rad_subhead_play_history" />
    43                 <string name="heading" locid="txt_rad_subhead_recently_played_songs" />
    49             </widget>
    44             </widget>
    50             <widget name="hv:stacked_widget" type="HbWidget" />
    45             <widget name="hv:stacked_widget" type="HbWidget" />
    51             <layout type="anchor">
    46             <layout type="anchor">
    52                 <anchoritem dst="hv:heading_banner" dstEdge="TOP" spacing="0un" src="" srcEdge="TOP"/>
    47                 <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"/>
    48                 <anchoritem dst="hv:heading_banner" dstEdge="LEFT" spacing="0un" src="" srcEdge="LEFT"/>
    61         <string locid="txt_rad_title_fm_radio" name="title"/>
    56         <string locid="txt_rad_title_fm_radio" name="title"/>
    62     </widget>
    57     </widget>
    63     <widget name="hv:context_menu" type="HbMenu">
    58     <widget name="hv:context_menu" type="HbMenu">
    64         <ref object="hv:toggle_tag_action" role="HbMenu:addAction"/>
    59         <ref object="hv:toggle_tag_action" role="HbMenu:addAction"/>
    65         <ref object="hv:ovi_store_action" role="HbMenu:addAction"/>
    60         <ref object="hv:ovi_store_action" role="HbMenu:addAction"/>
    66         <ref object="hv:other_store_action" role="HbMenu:addAction"/>
       
    67     </widget>
    61     </widget>
    68     
    62     
    69     <!-- Section to do lazy initialization of the view -->
    63     <!-- Section to do lazy initialization of the view -->
    70     <section name="lazy_load">
    64     <section name="lazy_load">
    71         <widget name="view">
    65         <widget name="view">
   143         </object>
   137         </object>
   144         <widget name="hv:empty_text">
   138         <widget name="hv:empty_text">
   145             <string locid="txt_rad_info_song_information_is_collected_automat" name="plainText"/>
   139             <string locid="txt_rad_info_song_information_is_collected_automat" name="plainText"/>
   146         </widget>
   140         </widget>
   147         <widget name="hv:heading_banner">
   141         <widget name="hv:heading_banner">
   148             <string name="heading" locid="txt_rad_subhead_play_history" />
   142             <string name="heading" locid="txt_rad_subhead_recently_played_songs" />
   149         </widget>
   143         </widget>
   150     </section>
   144     </section>
   151     <section name="hv:tagged_mode">
   145     <section name="hv:tagged_mode">
   152         <object name="hv:all_songs_button">
   146         <object name="hv:all_songs_button">
   153             <bool name="checked" value="FALSE"/>
   147             <bool name="checked" value="FALSE"/>
   157         </object>
   151         </object>
   158         <widget name="hv:empty_text">
   152         <widget name="hv:empty_text">
   159             <string locid="txt_rad_info_you_can_add_song_to_the_tagged_songs" name="plainText"/>
   153             <string locid="txt_rad_info_you_can_add_song_to_the_tagged_songs" name="plainText"/>
   160         </widget>
   154         </widget>
   161         <widget name="hv:heading_banner">
   155         <widget name="hv:heading_banner">
   162             <string name="heading" locid="txt_rad_button_tagged_songs" />
   156             <string name="heading" locid="txt_rad_subhead_tagged_songs" />
   163         </widget>
   157         </widget>
   164     </section>
   158     </section>
   165     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
   159     <metadata activeUIState="Common ui state" display="NHD portrait" unit="un">
   166         <uistate name="Common ui state" sections="#common"/>
   160         <uistate name="Common ui state" sections="#common"/>
   167         <dummydata objectName="hv:history_list" section="#common" value="app_list_template5"/>
   161         <dummydata objectName="hv:history_list" section="#common" value="app_list_template5"/>