2014-08-19 15:37:44 +09:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2015-05-25 16:02:41 +10:00
|
|
|
<org.fdroid.fdroid.views.swap.WifiQrView
|
2014-09-04 19:02:57 +09:30
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2015-05-23 01:25:06 +10:00
|
|
|
android:background="@color/swap_blue"
|
2014-09-04 19:02:57 +09:30
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_width="wrap_content">
|
|
|
|
|
|
|
|
<LinearLayout android:orientation="vertical"
|
|
|
|
android:gravity="center"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="250dp"
|
|
|
|
android:layout_height="250dp"
|
|
|
|
android:maxHeight="20dp"
|
|
|
|
android:id="@+id/wifi_qr_code"
|
|
|
|
tools:src="@drawable/swap_qr_example"/>
|
|
|
|
|
2015-06-11 23:35:28 +10:00
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/textView"
|
|
|
|
android:text="@string/swap_scan_or_type_url"
|
|
|
|
style="@style/SwapTheme.Wizard.MainText"/>
|
|
|
|
|
2014-09-04 19:02:57 +09:30
|
|
|
<!--
|
|
|
|
<Button style="@style/SwapTheme.Wizard.OptionButton"
|
|
|
|
android:id="@+id/btn_not_working"
|
|
|
|
android:text="@string/swap_wifi_qr_not_working"
|
|
|
|
android:layout_alignParentBottom="true" />
|
|
|
|
-->
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:id="@+id/device_ip_address"
|
|
|
|
tools:text="http://255.255.255.255:8888"
|
|
|
|
style="@style/SwapTheme.Wizard.LocalIpAddress"/>
|
|
|
|
|
|
|
|
<Button style="@style/SwapTheme.Wizard.OptionButton"
|
|
|
|
android:text="@string/open_qr_code_scanner"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:id="@+id/btn_qr_scanner"/>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-05-25 16:02:41 +10:00
|
|
|
</org.fdroid.fdroid.views.swap.WifiQrView>
|