tls-psk: use inline progress animation
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
xmlns:custom="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?attr/listPreferredItemHeight"
|
||||
android:gravity="center_vertical"
|
||||
android:maxLines="1"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
@@ -47,14 +48,42 @@
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
<org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:id="@+id/button_transfer"
|
||||
android:src="@drawable/ic_play_arrow_white_24dp"
|
||||
android:tint="@color/md_black_1000"
|
||||
android:background="?selectableItemBackground"
|
||||
/>
|
||||
android:outAnimation="@anim/fade_out"
|
||||
android:inAnimation="@anim/fade_in"
|
||||
android:id="@+id/transfer_state"
|
||||
custom:initialView="2">
|
||||
|
||||
<Space
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:id="@+id/button_transfer"
|
||||
android:src="@drawable/ic_play_arrow_white_24dp"
|
||||
android:tint="@color/md_black_1000"
|
||||
android:background="?selectableItemBackground"
|
||||
/>
|
||||
|
||||
<ProgressBar
|
||||
android:layout_width="36dp"
|
||||
android:layout_height="36dp"
|
||||
android:padding="8dp"
|
||||
/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="8dp"
|
||||
android:src="@drawable/ic_check_black_24dp"
|
||||
android:tint="@color/android_green_light"
|
||||
/>
|
||||
|
||||
</org.sufficientlysecure.keychain.ui.widget.ToolableViewAnimator>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
Reference in New Issue
Block a user