<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="ContentMediaHistoryViewer" parent="AdwNavigationPage">
    <property name="title" translatable="yes">Media</property>
    <child>
      <object class="GtkOverlay">
        <child type="overlay">
          <object class="MediaViewer" id="media_viewer">
            <property name="visible">False</property>
          </object>
        </child>
        <child>
          <object class="AdwToolbarView">
            <child type="top">
              <object class="AdwHeaderBar"/>
            </child>
            <property name="content">
              <object class="GtkScrolledWindow">
                <property name="hscrollbar-policy">never</property>
                <property name="vexpand">True</property>
                <child>
                  <object class="AdwClampScrollable">
                    <property name="maximum-size">1000</property>
                    <property name="tightening-threshold">800</property>
                    <property name="vscroll-policy">natural</property>
                    <child>
                      <object class="GtkGridView" id="grid_view">
                        <property name="min-columns">2</property>
                        <property name="max-columns">5</property>
                        <property name="factory">
                          <object class="GtkBuilderListItemFactory">
                            <property name="bytes"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <template class="GtkListItem">
    <property name="child">
      <object class="ContentMediaHistoryViewerItem">
        <property name="width-request">150</property>
        <property name="height-request">150</property>
        <binding name="event">
          <lookup name="item">GtkListItem</lookup>
        </binding>
      </object>
    </property>
  </template>
</interface>
                            ]]></property>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </child>
              </object>
            </property>
          </object>
        </child>
      </object>
    </child>
  </template>
</interface>
