summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/activity_video_player.xml
blob: 1fbeb5875d27eec47b4d8757e8b3e298cf803c0b (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<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"
    tools:context="org.fox.ttrss.VideoPlayerActivity">

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

        <SurfaceView
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_gravity="center"
            android:id="@+id/video_player" />

        <ImageView
            android:id="@+id/video_player_cover"
            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" />

        <ImageView
            android:id="@+id/video_player_overflow"
            android:clickable="true"
            android:layout_width="wrap_content"
            android:layout_height="26dp"
            android:layout_weight="0"
            android:background="@drawable/ripple"
            android:src="@drawable/ic_dots_vertical"
            android:layout_gravity="top|right"
            android:layout_marginRight="8dp"
            android:layout_marginTop="@dimen/activity_vertical_margin" />
    </FrameLayout>

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

</RelativeLayout>