tls-psk: show "Connecting…" view while waiting

This commit is contained in:
Vincent Breitmoser
2017-06-12 21:08:52 +02:00
parent ca43544a0e
commit 34a466622e
5 changed files with 43 additions and 4 deletions

View File

@@ -68,6 +68,30 @@
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_vertical"
android:orientation="vertical"
android:padding="16dp">
<org.sufficientlysecure.keychain.ui.widget.ConnectionStatusView
android:layout_width="96dp"
android:layout_height="96dp"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="16dp"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_margin="8dp"
android:text="@string/transfer_connecting"
android:textAppearance="?android:attr/textAppearanceMedium" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"

View File

@@ -1905,5 +1905,6 @@
<string name="transfer_error_generic_msg">"Communication error: %s"</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>
<string name="transfer_connecting">Connecting…</string>
</resources>