62 lines
2.4 KiB
XML
62 lines
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
~ Twidere - Twitter client for Android
|
|
~
|
|
~ Copyright (C) 2012-2015 Mariotaku Lee <mariotaku.lee@gmail.com>
|
|
~
|
|
~ 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 3 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, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
<FrameLayout
|
|
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"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center">
|
|
|
|
<com.sprylab.android.widget.TextureVideoView
|
|
android:id="@+id/video_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerInParent="true"/>
|
|
|
|
<ProgressBar
|
|
android:id="@+id/video_view_progress"
|
|
style="?android:progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/element_spacing_xsmall"
|
|
android:layout_alignBottom="@+id/video_view"
|
|
android:layout_gravity="bottom"
|
|
android:background="@color/bg_color_video_playback_progress"
|
|
android:indeterminateDrawable="@android:color/transparent"
|
|
android:progressDrawable="@drawable/progress_bar_video"
|
|
android:visibility="gone"/>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
<com.pnikosis.materialishprogress.ProgressWheel
|
|
android:id="@+id/load_progress"
|
|
android:layout_width="@dimen/element_size_normal"
|
|
android:layout_height="@dimen/element_size_normal"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
app:matProg_barColor="@color/branding_color"/>
|
|
|
|
</FrameLayout> |