summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_youtube_player.xml
blob: 0b423edc889ecbce6b7e7fb0828f04f4f78c1170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    android:background="@android:color/black">

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/toolbar">

        <fragment
            android:name="com.google.android.youtube.player.YouTubePlayerSupportFragment"
            android:id="@+id/fragment_youtube_player"
            android:layout_width="match_parent"
            android:layout_height="match_parent" />

        <ProgressBar
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:id="@+id/video_loading"
            android:layout_gravity="center"
            android:indeterminate="true" />

    </FrameLayout>

    <include layout="@layout/toolbar" android:id="@+id/toolbar" />

</RelativeLayout>