<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ This file is part of FYReader.
  ~  FYReader 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.
  ~
  ~  FYReader 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 FYReader.  If not, see <https://www.gnu.org/licenses/>.
  ~
  ~  Copyright (C) 2020 - 2022 fengyuecanzhu
  -->

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="match_parent"
              android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="10dp"
        android:background="@color/colorForeground"
        android:gravity="center"
        android:orientation="horizontal"
        android:paddingBottom="10dp"
        android:paddingLeft="20dp"
        android:paddingRight="20dp"
        android:paddingTop="10dp">

        <androidx.appcompat.widget.AppCompatImageView
            android:id="@+id/iv_font_example"
            android:layout_width="40dp"
            android:layout_height="40dp"
            android:background="@drawable/font_example_bg"
            android:gravity="center" />


        <TextView
            android:id="@+id/tv_font_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="10dp"
            android:layout_weight="1"
            android:gravity="center|left"
            android:textColor="#313031"
            android:textSize="18sp" />

        <RelativeLayout
                android:layout_width="80dp"
                android:layout_height="40dp">

            <xyz.fycz.myreader.widget.ProgressButton
                    android:id="@+id/btn_font_use"
                    android:layout_width="match_parent"
                    android:layout_height="match_parent"
                    android:text="@string/font_use"
                    android:textAllCaps="false"
                    app:progressColor="@color/colorAccent"
                    android:textColor="@color/textPrimaryInverted"
                    app:buttonColor="@color/sys_blue_littler"
                    app:minProgress="0"
                    android:textSize="14sp" />
        </RelativeLayout>




    </LinearLayout>


</LinearLayout>