<?xml version="1.0" encoding="utf-8"?>    <!--
  ~ Ubuntu Countdown Widget
  ~ Copyright (C) 2022 Roberto Leinardi
  ~
  ~ This program is free software: you can redistribute it and/or modify it under the terms
  ~ of the GNU General Public License as published by the Free Software Foundation,
  ~ either version 3 of the License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful, but WITHOUT ANY
  ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License along with this
  ~ program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/rl_widget"
    android:layout_width="@dimen/widget_size_1x1"
    android:layout_height="@dimen/widget_size_1x1"
    android:layout_gravity="center"
    android:background="@drawable/background_dark">

    <ImageView
        android:id="@+id/header_image_view"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="5dp"
        android:adjustViewBounds="true"
        android:paddingLeft="4dp"
        android:src="@drawable/ubuntu_small_dark" />

    <TextView
        android:id="@+id/counter_text_view"
        style="@style/Counter"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:textSize="24dp"
        android:visibility="invisible" />

    <ImageView
        android:id="@+id/logo_image_view"
        android:layout_width="wrap_content"
        android:layout_height="36dp"
        android:layout_centerInParent="true"
        android:adjustViewBounds="true"
        android:paddingBottom="8dp"
        android:src="@drawable/logo_small"
        android:visibility="gone" />

    <TextView
        android:id="@+id/release_text_view"
        style="@style/Release"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:textSize="@dimen/text_size_1x1"
        android:visibility="gone" />

    <TextView
        android:id="@+id/footer_text_view"
        style="@style/Footer.Dark"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="4dp"
        android:text="@string/days_left"
        android:textSize="8sp"
        android:visibility="invisible" />

    <FrameLayout
        android:id="@+id/progress_bar"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true">

        <ProgressBar
            android:layout_width="16dp"
            android:layout_height="16dp" />
    </FrameLayout>
</RelativeLayout>
