[UI] Add keepScreenOn in counter activity and bell sync dialog.

This commit is contained in:
Kacper Ziubryniewicz 2020-01-22 23:08:23 +01:00
parent 8e5a10f6d8
commit 9a45cbb679
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:gravity="center" android:gravity="center"
android:orientation="vertical"> android:orientation="vertical"
android:keepScreenOn="true">
<LinearLayout <LinearLayout
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -49,4 +50,4 @@
android:textSize="48sp" android:textSize="48sp"
tools:text="Zostało 2341 sekund" /> tools:text="Zostało 2341 sekund" />
</LinearLayout> </LinearLayout>
</layout> </layout>

View File

@ -11,7 +11,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="24dp"> android:padding="24dp"
android:keepScreenOn="true">
<TextView <TextView
android:id="@+id/bellSyncHowto" android:id="@+id/bellSyncHowto"