crystal-wallet-android/app/src/main/res/layout/account_updating_item.xml

39 lines
1.6 KiB
XML
Raw Normal View History

2017-08-18 17:47:56 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal" android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="5dp">
<TextView
android:id="@+id/account_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:text="account-name"
android:layout_marginBottom="3dp"
android:layout_marginTop="3dp"
style="?android:textAppearanceListItem"/>
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true">
<ProgressBar
android:id="@+id/progress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="invisible"
style="?android:attr/progressBarStyleSmall"/>
<ImageView
android:id="@+id/done"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_done_24dp"
android:visibility="invisible"/>
<ImageView
android:id="@+id/error"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_error_24dp"
android:visibility="invisible"/>
</FrameLayout>
</RelativeLayout>