66 lines
2.3 KiB
XML
66 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/import_qrcode_button"
|
|
android:paddingLeft="8dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="?android:attr/listPreferredItemHeight"
|
|
android:clickable="true"
|
|
style="@style/SelectableItem"
|
|
android:orientation="horizontal">
|
|
|
|
<TextView
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
|
android:layout_width="0dip"
|
|
android:layout_height="match_parent"
|
|
android:text="@string/import_qr_code_button"
|
|
android:layout_weight="1"
|
|
android:drawableRight="@drawable/ic_action_qr_code"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_vertical" />
|
|
|
|
<View
|
|
android:layout_width="1dip"
|
|
android:layout_height="match_parent"
|
|
android:gravity="right"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:background="?android:attr/listDivider" />
|
|
|
|
<ImageButton
|
|
android:id="@+id/import_nfc_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:padding="8dp"
|
|
android:src="@drawable/ic_action_nfc"
|
|
android:layout_gravity="center_vertical"
|
|
style="@style/SelectableItem" />
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/import_qrcode_text"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:paddingTop="8dp"
|
|
android:visibility="gone" />
|
|
|
|
<ProgressBar
|
|
android:id="@+id/import_qrcode_progress"
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:progress="0"
|
|
android:visibility="gone" />
|
|
|
|
</LinearLayout> |