diff options
-rw-r--r-- | OpenKeychain/src/main/res/layout/actionbar_include_cancel_button.xml | 5 | ||||
-rw-r--r-- | OpenKeychain/src/main/res/layout/actionbar_include_done_button.xml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/res/layout/actionbar_include_cancel_button.xml b/OpenKeychain/src/main/res/layout/actionbar_include_cancel_button.xml index 5fd36286b..ec27e394a 100644 --- a/OpenKeychain/src/main/res/layout/actionbar_include_cancel_button.xml +++ b/OpenKeychain/src/main/res/layout/actionbar_include_cancel_button.xml @@ -21,6 +21,10 @@ android:layout_height="match_parent" android:layout_weight="1"> + <!-- + android:filterTouchesWhenObscured="true" to prevent Touch-Event Hijacking + https://blog.lookout.com/blog/2010/12/09/android-touch-event-hijacking/ + --> <TextView android:id="@+id/actionbar_cancel_text" android:layout_width="wrap_content" @@ -30,6 +34,7 @@ android:drawablePadding="8dp" android:gravity="center_vertical" android:paddingRight="20dp" + android:filterTouchesWhenObscured="true" style="@style/Widget.AppCompat.Light.ActionBar.TabText" android:text="Cancel (set in-code!)" /> diff --git a/OpenKeychain/src/main/res/layout/actionbar_include_done_button.xml b/OpenKeychain/src/main/res/layout/actionbar_include_done_button.xml index e51f63c80..2590f272c 100644 --- a/OpenKeychain/src/main/res/layout/actionbar_include_done_button.xml +++ b/OpenKeychain/src/main/res/layout/actionbar_include_done_button.xml @@ -21,6 +21,10 @@ android:layout_height="match_parent" android:layout_weight="1"> + <!-- + android:filterTouchesWhenObscured="true" to prevent Touch-Event Hijacking + https://blog.lookout.com/blog/2010/12/09/android-touch-event-hijacking/ + --> <TextView android:id="@+id/actionbar_done_text" android:layout_width="wrap_content" @@ -30,6 +34,7 @@ android:drawablePadding="8dp" android:gravity="center_vertical" android:paddingRight="20dp" + android:filterTouchesWhenObscured="true" style="@style/Widget.AppCompat.Light.ActionBar.TabText" android:text="Done (set in-code!)" /> |