Larger fullscreen button target
This commit is contained in:
parent
3643f28f9b
commit
8805638d52
@ -138,9 +138,11 @@ public class VideoPlayerFragment extends Fragment implements VideoRendererEventL
|
|||||||
torrentStatus = activity.findViewById(R.id.exo_torrent_status);
|
torrentStatus = activity.findViewById(R.id.exo_torrent_status);
|
||||||
|
|
||||||
// Full screen Icon
|
// Full screen Icon
|
||||||
TextView fullscreenButton = activity.findViewById(R.id.exo_fullscreen);
|
TextView fullscreenText = activity.findViewById(R.id.exo_fullscreen);
|
||||||
fullscreenButton.setText(R.string.video_expand_icon);
|
FrameLayout fullscreenButton = activity.findViewById(R.id.exo_fullscreen_button);
|
||||||
new Iconics.IconicsBuilder().ctx(context).on(fullscreenButton).build();
|
|
||||||
|
fullscreenText.setText(R.string.video_expand_icon);
|
||||||
|
new Iconics.IconicsBuilder().ctx(context).on(fullscreenText).build();
|
||||||
|
|
||||||
fullscreenButton.setOnClickListener(view -> {
|
fullscreenButton.setOnClickListener(view -> {
|
||||||
Log.d(TAG, "Fullscreen");
|
Log.d(TAG, "Fullscreen");
|
||||||
|
@ -109,8 +109,8 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/exo_fullscreen_button"
|
android:id="@+id/exo_fullscreen_button"
|
||||||
android:layout_width="32dp"
|
android:layout_width="48dp"
|
||||||
android:layout_height="32dp"
|
android:layout_height="48dp"
|
||||||
android:layout_gravity="end">
|
android:layout_gravity="end">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
|
Loading…
Reference in New Issue
Block a user