video_list.xml 3.07 KB
Newer Older
Sébastien Toque's avatar
Sébastien Toque committed
1
<?xml version="1.0" encoding="utf-8"?>
2
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    android:layout_width="fill_parent"
4
    android:layout_height="fill_parent"
5 6
    android:background="@color/item_common" >

Sébastien Toque's avatar
Sébastien Toque committed
7 8
    <ListView
        android:id="@id/android:list"
9 10
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
11 12
        android:divider="@color/item_common"
        android:dividerHeight="1dp"
Sébastien Toque's avatar
Sébastien Toque committed
13
        android:fastScrollEnabled="true" />
14 15

    <LinearLayout
Sébastien Toque's avatar
Sébastien Toque committed
16
        android:id="@id/android:empty"
17
        android:layout_width="fill_parent"
18
        android:layout_height="fill_parent"
19 20 21 22 23 24 25 26 27 28 29
        android:orientation="vertical" >

        <TextView
            android:id="@+id/textview_nomedia"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:text="@string/nomedia"
            android:textSize="20dip"
            android:visibility="visible" />

30 31
        <LinearLayout
            android:id="@+id/layout_flipper_loading"
32
            android:layout_width="fill_parent"
33 34
            android:layout_height="fill_parent"
            android:orientation="horizontal"
35 36 37
            android:visibility="invisible" >

            <TextView
38
                android:layout_width="wrap_content"
39
                android:layout_height="wrap_content"
40 41
                android:layout_weight="1"
                android:gravity="right"
42 43 44
                android:text="@string/loadmedia"
                android:textSize="20dip" />

45 46
            <ViewFlipper
                android:layout_width="wrap_content"
47
                android:layout_height="wrap_content"
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
                android:layout_weight="1"
                android:layout_gravity="left"
                android:autoStart="true"
                android:flipInterval="1000" >

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="left"
                    android:text="@string/load_no_period"
                    android:textSize="20dip" />

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="left"
                    android:text="@string/load_1_period"
                    android:textSize="20dip" />

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="left"
                    android:text="@string/load_2_period"
                    android:textSize="20dip" />

                <TextView
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="left"
                    android:text="@string/load_3_period"
                    android:textSize="20dip" />
            </ViewFlipper>
        </LinearLayout>
82 83 84
    </LinearLayout>

</FrameLayout>