mirror of
https://github.com/nextcloud/android.git
synced 2024-12-20 16:02:01 +03:00
Make video screen nicer
This commit is contained in:
parent
5ad1b56a47
commit
9cf274e1ca
3 changed files with 12 additions and 5 deletions
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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}.
|
||||
|
|
Loading…
Reference in a new issue