Commit 19da32d8 authored by Nicolas Pomepuy's avatar Nicolas Pomepuy Committed by Geoffrey Métais
Browse files

Improve empty view design

parent 4b24528f
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="96" height="96"
viewBox="0 0 25.399999 25.400001" version="1.1" id="svg6620"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)" sodipodi:docname="ic_empty_w.svg">
<defs id="defs6614" />
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="5.6"
inkscape:cx="12.132528" inkscape:cy="26.888712" inkscape:document-units="mm"
inkscape:current-layer="layer1" showgrid="true" units="px" inkscape:window-width="1920"
inkscape:window-height="1043" inkscape:window-x="1920" inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid type="xygrid" id="grid7165" />
</sodipodi:namedview>
<metadata id="metadata6617">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"
transform="translate(0,-271.59998)">
<path style="fill:#fafafa;stroke-width:1.00004995;fill-opacity:1"
d="M 48 9 C 43.98189 8.999811 40.353912 11.779593 38.789062 15.480469 L 34.423828 28.576172 L 28.408203 46.628906 L 25.400391 55.654297 L 19.056641 55.654297 C 17.056641 55.654297 15.195828 57.164805 14.611328 59.158203 L 11.107422 71.080078 C 9.9626219 74.991965 8.8278344 78.874345 7.6777344 82.806641 C 7.1963341 84.45013 7.6776781 85.658638 8.4550781 86.494141 C 8.9360782 87.011445 9.5296718 87.385355 10.076172 87.634766 C 10.307872 87.737569 10.498447 87.807912 10.685547 87.869141 C 12.737347 88.219503 15.059428 87.903085 17.986328 86.09375 C 28.634528 79.496471 31.29591 92.693674 41.974609 86.09375 C 52.622808 79.496471 55.282238 92.693674 65.960938 86.09375 C 74.757939 80.643482 78.10689 88.693733 85.025391 87.939453 C 85.294682 87.881248 85.572729 87.790482 85.923828 87.634766 C 86.470329 87.385317 87.063924 87.011445 87.544922 86.494141 C 88.321123 85.658638 88.803668 84.45013 88.322266 82.806641 C 87.172167 78.874345 86.037378 74.991965 84.892578 71.080078 L 81.388672 59.158203 C 80.804172 57.164805 78.943361 55.654297 76.943359 55.654297 L 70.599609 55.654297 L 67.591797 46.628906 L 61.576172 28.576172 L 57.246094 15.585938 C 55.709054 11.831922 52.05648 9 48 9 z M 39 48 A 7.9999995 7.9999995 0 0 1 47 56 A 7.9999995 7.9999995 0 0 1 39 64 A 7.9999995 7.9999995 0 0 1 31 56 A 7.9999995 7.9999995 0 0 1 39 48 z M 59 50 A 5.9999998 5.9999827 0 0 1 65 56 A 5.9999998 5.9999827 0 0 1 59 62 A 5.9999998 5.9999827 0 0 1 53 56 A 5.9999998 5.9999827 0 0 1 59 50 z "
transform="matrix(0.26458333,0,0,0.26458333,0,271.59998)" id="path6941" />
</g>
</svg>
<!--
~ *************************************************************************
~ ic_empty_w.xml
~ **************************************************************************
~ Copyright © 2019 VLC authors and VideoLAN
~ Author: Nicolas POMEPUY
~ 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 2 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, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
~ ***************************************************************************
~
~
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="96dp"
android:height="96dp"
android:viewportWidth="25.4"
android:viewportHeight="25.400002">
<path
android:pathData="M12.7,2.3812C11.6369,2.3812 10.677,3.1167 10.2629,4.0959L9.108,7.5608L7.5163,12.3372L6.7205,14.7252L5.0421,14.7252C4.5129,14.7252 4.0206,15.1249 3.8659,15.6523L2.9388,18.8066C2.6359,19.8416 2.3357,20.8688 2.0314,21.9093C1.904,22.3441 2.0314,22.6638 2.2371,22.8849C2.3643,23.0218 2.5214,23.1207 2.666,23.1867C2.7273,23.2139 2.7777,23.2325 2.8272,23.2487C3.3701,23.3414 3.9845,23.2577 4.7589,22.779C7.5762,21.0334 8.2804,24.5252 11.1058,22.779C13.9231,21.0334 14.6268,24.5252 17.4522,22.779C19.7797,21.3369 20.6658,23.4669 22.4963,23.2673C22.5676,23.2519 22.6411,23.2279 22.734,23.1867C22.8786,23.1207 23.0357,23.0218 23.1629,22.8849C23.3683,22.6638 23.496,22.3441 23.3686,21.9093C23.0643,20.8688 22.7641,19.8416 22.4612,18.8066L21.5341,15.6523C21.3794,15.1249 20.8871,14.7252 20.3579,14.7252L18.6795,14.7252L17.8837,12.3372L16.292,7.5608L15.1464,4.1238C14.7397,3.1305 13.7733,2.3812 12.7,2.3812zM10.3187,12.7A2.1167,2.1167 0,0 1,12.4354 14.8167A2.1167,2.1167 0,0 1,10.3187 16.9333A2.1167,2.1167 0,0 1,8.2021 14.8167A2.1167,2.1167 0,0 1,10.3187 12.7zM15.6104,13.2292A1.5875,1.5875 90,0 1,17.1979 14.8167A1.5875,1.5875 90,0 1,15.6104 16.4042A1.5875,1.5875 90,0 1,14.0229 14.8167A1.5875,1.5875 90,0 1,15.6104 13.2292z"
android:strokeWidth="1.00004995"
android:fillColor="?attr/font_light"
android:fillAlpha="1" />
</vector>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include
layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<org.videolan.vlc.gui.view.SwipeRefreshLayout
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton">
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:id="@+id/swipeLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton">
<androidx.viewpager.widget.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton">
<include layout="@layout/audio_recyclerview" />
<include layout="@layout/audio_recyclerview" />
......@@ -41,43 +41,43 @@
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
<org.videolan.vlc.gui.view.FastScroller
android:id="@+id/songs_fast_scroller"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignTop="@+id/swipeLayout"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:visibility="invisible"
app:layout_constraintEnd_toEndOf="parent" />
android:id="@+id/songs_fast_scroller"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignTop="@+id/swipeLayout"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:visibility="invisible"
app:layout_constraintEnd_toEndOf="parent" />
<TextView
android:id="@+id/no_media"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_no_media"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/button_nomedia"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
app:layout_constraintVertical_chainStyle="packed" />
android:id="@+id/no_media"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_empty"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/button_nomedia"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
app:layout_constraintVertical_chainStyle="packed" />
<Button
android:id="@+id/button_nomedia"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_medialibrary_preferences"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/no_media" />
android:id="@+id/button_nomedia"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_medialibrary_preferences"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/no_media" />
</androidx.constraintlayout.widget.ConstraintLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto">
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<include
layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<org.videolan.vlc.gui.view.SwipeRefreshLayout
android:id="@+id/swipeLayout"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
app:layout_constraintBottom_toBottomOf="parent" >
android:id="@+id/swipeLayout"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton">
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/folders_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/half_default_margin"
android:clipToPadding="false"
android:scrollbarStyle="outsideInset"
android:numColumns="auto_fit"
android:fastScrollEnabled="true"
android:scrollbars="vertical"
android:fadingEdge="none"
android:stretchMode="none"
android:gravity="center" />
android:id="@+id/folders_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fadingEdge="none"
android:fastScrollEnabled="true"
android:gravity="center"
android:numColumns="auto_fit"
android:padding="@dimen/half_default_margin"
android:scrollbarStyle="outsideInset"
android:scrollbars="vertical"
android:stretchMode="none" />
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
<TextView
android:id="@+id/textview_nomedia"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintVertical_chainStyle="packed"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_no_media"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="gone" />
android:id="@+id/textview_nomedia"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_empty"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
......@@ -24,10 +24,10 @@
<TextView
android:id="@+id/textview_nomedia"
android:layout_width="wrap_content"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:drawableTop="@drawable/ic_no_media"
android:drawableTop="@drawable/ic_empty"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
......
<?xml version="1.0" encoding="utf-8"?>
<layout>
<layout xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<data>
<import type="android.view.View" />
<variable
name="empty"
type="boolean" />
name="empty"
type="boolean" />
</data>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<org.videolan.vlc.gui.view.SwipeRefreshLayout
android:id="@+id/swipeLayout"
android:layout_width="0dp"
android:layout_height="0dp"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton"
app:layout_constraintBottom_toBottomOf="parent"
android:visibility="@{empty ? View.GONE : View.VISIBLE}">
<org.videolan.vlc.gui.view.AutoFitRecyclerView
android:id="@+id/video_grid"
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="@dimen/half_default_margin"
android:clipToPadding="false"
android:scrollbarStyle="outsideOverlay"
android:numColumns="auto_fit"
android:fastScrollEnabled="true"
android:scrollbars="vertical"
android:fadingEdge="none"
android:stretchMode="none"
android:gravity="center" />
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
android:layout_height="match_parent">
<TextView
android:id="@+id/textview_nomedia"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toTopOf="@+id/loading_title"
app:layout_constraintVertical_chainStyle="packed"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_no_media"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="@{empty ? View.VISIBLE : View.GONE, default=gone}" />
<include
layout="@layout/button_search"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<Button
android:id="@+id/button_nomedia"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:text="@string/button_medialibrary_preferences"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/textview_nomedia"
android:visibility="@{empty ? View.VISIBLE : View.GONE, default=gone}" />
<org.videolan.vlc.gui.view.SwipeRefreshLayout
android:id="@+id/swipeLayout"
android:layout_width="0dp"
android:layout_height="0dp"
android:visibility="@{empty ? View.GONE : View.VISIBLE}"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchButton">
<TextView
android:id="@+id/loading_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toStartOf="@+id/loading_flipper"
app:layout_constraintTop_toBottomOf="@+id/button_nomedia"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintHorizontal_chainStyle="packed"
android:layout_weight="1"
android:gravity="start"
android:text="@string/loading"
android:textSize="20sp" />
<ViewFlipper
android:id="@+id/loading_flipper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@+id/loading_title"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBaseline_toBaselineOf="@+id/loading_title"
android:layout_gravity="start"
android:autoStart="true"
android:flipInterval="1000" >
<org.videolan.vlc.gui.view.AutoFitRecyclerView
android:id="@+id/video_grid"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:fadingEdge="none"
android:fastScrollEnabled="true"
android:gravity="center"
android:numColumns="auto_fit"
android:padding="@dimen/half_default_margin"
android:scrollbarStyle="outsideOverlay"
android:scrollbars="vertical"
android:stretchMode="none" />
</org.videolan.vlc.gui.view.SwipeRefreshLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/empty"
android:textSize="20sp" />
android:id="@+id/textview_nomedia"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="@dimen/default_margin"
android:drawableBottom="@drawable/ic_empty"
android:drawablePadding="@dimen/default_margin"
android:gravity="center"
android:maxWidth="600dp"
android:text="@string/nomedia"
android:textSize="20sp"
android:visibility="@{empty ? View.VISIBLE : View.GONE, default=gone}"
app:layout_constraintBottom_toTopOf="@+id/loading_title"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_chainStyle="packed"
tools:visibility="visible" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_1_period"
android:textSize="20sp" />
<Button
android:id="@+id/button_nomedia"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_medialibrary_preferences"
android:visibility="@{empty ? View.VISIBLE : View.GONE, default=gone}"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@id/textview_nomedia" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_2_period"
android:textSize="20sp" />
android:id="@+id/loading_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="start"
android:text="@string/loading"
android:textSize="20sp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/loading_flipper"
app:layout_constraintHorizontal_chainStyle="packed"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_nomedia" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_3_period"
android:textSize="20sp" />
</ViewFlipper>
</androidx.constraintlayout.widget.ConstraintLayout>
<ViewFlipper
android:id="@+id/loading_flipper"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:autoStart="true"
android:flipInterval="1000"
app:layout_constraintBaseline_toBaselineOf="@+id/loading_title"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/loading_title">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/empty"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_1_period"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_2_period"
android:textSize="20sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start"
android:text="@string/load_3_period"
android:textSize="20sp" />
</ViewFlipper>
</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
\ No newline at end of file
......@@ -229,6 +229,7 @@
<item name="ariane_text_color">@color/simple_list_title</item>
<item name="list_title">@color/grey50</item>
<item name="ariane_text_size">18sp</item>
<item name="font_light">@color/grey50transparent_ea</item>
</style>
<style name="Theme.VLC.Info" parent="Theme.VLC">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment