audio_browser.xml 2.62 KB
Newer Older
Sébastien Toque's avatar
Sébastien Toque committed
1
<?xml version="1.0" encoding="utf-8"?>
2
<RelativeLayout
Sébastien Toque's avatar
Sébastien Toque committed
3
    xmlns:android="http://schemas.android.com/apk/res/android"
4
    android:layout_width="fill_parent"
Geoffrey Métais's avatar
Geoffrey Métais committed
5
    android:layout_height="fill_parent">
Geoffrey Métais's avatar
Geoffrey Métais committed
6

7
    <include layout="@layout/tab_layout" />
Geoffrey Métais's avatar
Geoffrey Métais committed
8

9
10
11
12
13
14
15
16
17
18
    <include layout="@layout/button_search"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/sliding_tabs"
        android:layout_marginTop="@dimen/default_margin"
        android:layout_marginLeft="@dimen/default_margin"
        android:layout_marginStart="@dimen/default_margin"
        android:layout_marginRight="@dimen/default_margin"
        android:layout_marginEnd="@dimen/default_margin" />

19
    <org.videolan.vlc.gui.view.SwipeRefreshLayout
Geoffrey Métais's avatar
Geoffrey Métais committed
20
        android:id="@+id/swipeLayout"
21
        android:layout_width="@dimen/default_content_width"
22
        android:layout_height="match_parent"
23
24
        android:layout_below="@+id/searchButton"
        android:layout_centerHorizontal="true">
Geoffrey Métais's avatar
Geoffrey Métais committed
25

Geoffrey Métais's avatar
Geoffrey Métais committed
26
27
        <android.support.v4.view.ViewPager
            android:id="@+id/pager"
Geoffrey Métais's avatar
Geoffrey Métais committed
28
            android:layout_width="match_parent"
Geoffrey Métais's avatar
Geoffrey Métais committed
29
            android:layout_height="match_parent">
30
31
32
33
34
            <include layout="@layout/audio_recyclerview" />
            <include layout="@layout/audio_recyclerview" />
            <include layout="@layout/audio_recyclerview" />
            <include layout="@layout/audio_recyclerview" />
            <include layout="@layout/audio_recyclerview" />
Geoffrey Métais's avatar
Geoffrey Métais committed
35
        </android.support.v4.view.ViewPager>
36
    </org.videolan.vlc.gui.view.SwipeRefreshLayout>
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52

    <TextView
        android:id="@+id/no_media"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_below="@+id/header"
        android:layout_centerInParent="true"
        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" />

Geoffrey Métais's avatar
Geoffrey Métais committed
53
    <org.videolan.vlc.gui.view.FastScroller
54
        android:fitsSystemWindows="true"
Geoffrey Métais's avatar
Geoffrey Métais committed
55
56
57
        android:id="@+id/songs_fast_scroller"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
58
        android:layout_marginTop="@dimen/default_margin"
Geoffrey Métais's avatar
Geoffrey Métais committed
59
60
61
        android:layout_alignParentEnd="true"
        android:layout_alignParentRight="true"
        android:layout_alignTop="@+id/swipeLayout"
62
        android:layout_alignBottom="@+id/swipeLayout"
Geoffrey Métais's avatar
Geoffrey Métais committed
63
        android:visibility="invisible"/>
64
</RelativeLayout>