Make video screen nicer

This commit is contained in:
Mario Danic 2017-01-24 01:41:05 +01:00 committed by AndyScherzinger
parent 5ad1b56a47
commit 9cf274e1ca
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B
3 changed files with 12 additions and 5 deletions

View file

@ -30,7 +30,8 @@
android:id="@+id/file_preview_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="invisible">
android:visibility="invisible"
android:background="@color/black">
<FrameLayout
android:id="@+id/visual_area"

View file

@ -65,6 +65,7 @@
android:layout_height="wrap_content"
android:paddingEnd="@dimen/standard_quarter_padding"
android:text="@string/placeholder_media_time"
android:textColor="@color/white"
/>
<SeekBar
@ -74,7 +75,11 @@
android:layout_weight="1"
android:layout_height="@dimen/seek_bar_height"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true" />
android:layout_alignParentEnd="true"
android:progressDrawable="@color/white"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:splitTrack="false"/>
<TextView android:id="@+id/totalTimeText"
android:textSize="@dimen/two_line_secondary_text_size"
@ -86,6 +91,7 @@
android:layout_height="wrap_content"
android:paddingStart="@dimen/standard_quarter_padding"
android:text="@string/placeholder_media_time"
android:textColor="@color/white"
/>
</LinearLayout>

View file

@ -39,12 +39,12 @@ import android.widget.SeekBar;
import android.widget.SeekBar.OnSeekBarChangeListener;
import android.widget.TextView;
import java.util.Formatter;
import java.util.Locale;
import com.owncloud.android.R;
import com.owncloud.android.utils.DisplayUtils;
import java.util.Formatter;
import java.util.Locale;
/**
* View containing controls for a {@link MediaPlayer}.