ImportKeys: Restore NonInteractive behavior
Hides container of buttons when NonInteractive is enabled. In this way user can't interact with the list.
This commit is contained in:
1 parent
e4fe1e95fb
commit
d947db2569
2 files changed
+7
-3
No files matched your search
@@ -4,6 +4,8 @@
|
||||
<import type="android.view.View" />
|
||||
<import type="org.sufficientlysecure.keychain.ui.util.Highlighter" />
|
||||
|
||||
<variable name="nonInteractive" type="boolean" />
|
||||
|
||||
<variable name="standardColor" type="int" />
|
||||
<variable name="revokedExpiredColor" type="int" />
|
||||
<variable name="secretColor" type="int" />
|
||||
@@ -97,7 +99,8 @@
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp">
|
||||
android:padding="8dp"
|
||||
android:visibility="@{nonInteractive ? View.GONE : View.VISIBLE}">
|
||||
|
||||
<Button
|
||||
android:id="@+id/import_key"
|
||||
|
||||
Reference in new issue
Block a user