ImportKeys: Show refresh button and change text for "Show key"
This commit is contained in:
@@ -103,17 +103,23 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/import_key"
|
||||
style="@style/CardViewActionButton"
|
||||
android:text="@string/btn_import"
|
||||
android:visibility="@{entry.updated ? V.GONE : V.VISIBLE}" />
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/show_key"
|
||||
style="@style/CardViewActionButton"
|
||||
android:text="@string/btn_show_key"
|
||||
android:visibility="@{entry.updated ? V.VISIBLE : V.GONE}" />
|
||||
<Button
|
||||
android:id="@+id/import_key"
|
||||
style="@style/CardViewActionButton"
|
||||
android:text="@{entry.updated ? @string/btn_refresh : @string/btn_import}" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/show_key"
|
||||
style="@style/CardViewActionButton"
|
||||
android:text="@string/btn_go_to_key"
|
||||
android:visibility="@{entry.updated ? V.VISIBLE : V.GONE}" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -536,7 +536,7 @@
|
||||
<string name="btn_import_keys">"Import all keys"</string>
|
||||
<string name="btn_view_list">"View list"</string>
|
||||
<string name="btn_refresh">"Refresh"</string>
|
||||
<string name="btn_show_key">"Show key"</string>
|
||||
<string name="btn_go_to_key">"Go to key"</string>
|
||||
|
||||
<!-- Import from URL -->
|
||||
<string name="import_url_warn_no_search_parameter">"No search query defined. You can still manually search on this keyserver."</string>
|
||||
|
||||
Reference in New Issue
Block a user