1
0

Add fullscreen mode to homework dialog (#806)

This commit is contained in:
Mikołaj Pich
2020-05-16 22:06:00 +02:00
committed by GitHub
parent 52d66ac30b
commit f7b5b9c413
6 changed files with 54 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@ -7,6 +8,29 @@
android:paddingTop="20dp"
android:paddingEnd="20dp">
<ImageButton
android:id="@+id/homework_dialog_full_screen"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:background="?selectableItemBackgroundBorderless"
android:padding="5dp"
app:srcCompat="@drawable/ic_fullscreen"
app:tint="?colorOnBackground"
tools:ignore="ContentDescription" />
<ImageButton
android:id="@+id/homework_dialog_full_screen_exit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="end"
android:background="?selectableItemBackgroundBorderless"
android:padding="5dp"
android:visibility="gone"
app:srcCompat="@drawable/ic_fullscreen_exit"
app:tint="?colorOnBackground"
tools:ignore="ContentDescription" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"