Skip to content

Commit cfcaa45

Browse files
Alejandro Quiroz CarmonaAlejandro Quiroz Carmona
Alejandro Quiroz Carmona
authored and
Alejandro Quiroz Carmona
committed
-Added option to hide toast messages/alerts
1 parent f94943c commit cfcaa45

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 24
1212
targetSdkVersion 29
1313
versionCode 106
14-
versionName '1.0.7-rs_adbserver_testbranch-tinydisplay_lab-build_001'
14+
versionName '1.0.7-rs_adbserver_testbranch-tinydisplay_lab-test01'
1515

1616
}
1717

app/src/main/res/layout/activity_main_gui.xml

+13-1
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,26 @@
217217
android:textColor="@color/white"
218218
android:textSize="20sp" />
219219

220+
<CheckBox
221+
android:id="@+id/cb_hide_toasts"
222+
android:layout_width="match_parent"
223+
android:layout_height="wrap_content"
224+
android:layout_gravity="center_vertical"
225+
android:layoutDirection="rtl"
226+
android:nextFocusUp="@id/cb_border_window"
227+
android:buttonTint="@color/white"
228+
android:text="Hide toast messages (Recommended for smaller displays)"
229+
android:textColor="@color/white"
230+
android:textSize="20sp"/>
231+
220232
<CheckBox
221233
android:id="@+id/cb_disable_bossKey"
222234
android:layout_width="match_parent"
223235
android:layout_height="wrap_content"
224236
android:layout_gravity="center_vertical"
225237
android:buttonTint="@color/white"
226238
android:layoutDirection="rtl"
227-
android:nextFocusUp="@id/cb_border_window"
239+
android:nextFocusUp="@id/cb_hide_toasts"
228240
android:text="Disable Boss Key (useful for full size remotes)"
229241
android:textColor="@color/white"
230242
android:textSize="20sp" />

0 commit comments

Comments
 (0)