tls-psk: display a note if there are no keys to send
This commit is contained in:
@@ -104,11 +104,30 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<org.sufficientlysecure.keychain.ui.transfer.view.TransferSecretKeyList
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/transfer_key_list"
|
||||
/>
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.sufficientlysecure.keychain.ui.transfer.view.TransferSecretKeyList
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/transfer_key_list"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="16dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:padding="12dp"
|
||||
android:textAppearance="?android:textAppearanceMedium"
|
||||
android:id="@+id/transfer_key_list_empty"
|
||||
android:text="@string/transfer_list_empty"
|
||||
/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
|
||||
@@ -1902,5 +1902,6 @@
|
||||
<string name="transfer_error_connect">"Connection failed!"</string>
|
||||
<string name="transfer_error_listen">"Error waiting for connection!"</string>
|
||||
<string name="transfer_not_available">"Sorry, this feature can only be used on Android 5 or newer :("</string>
|
||||
<string name="transfer_list_empty">No keys on this device that could be sent. Waiting for incoming keys…</string>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user