hostap/wpadebug/res/layout/input_uri.xml
Anurag Das 8b244b0009 wpadebug: A dialog activity to input the URI from QR Code Scanner
This should help to read the URI from the QR Code Scanner's (USB HID
devices instead of USB video device) that decodes the QR Code.
This dialog box provisions the mechanism to enter the decoded
URI code from such hardware devices.

This dialog can be used with:
am start -n w1.fi.wpadebug/w1.fi.wpadebug.InputUri

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-02-22 14:42:05 +02:00

27 lines
866 B
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="w1.fi.wpadebug.InputUri">
<LinearLayout
android:layout_width="match_parent"
android:gravity="center"
android:orientation="vertical"
android:layout_margin="30dp"
android:layout_height="wrap_content">
<EditText
android:id="@+id/edit_uri"
android:layout_width="match_parent"
android:layout_height="130dp" />
<Button
android:id="@+id/submit_uri"
android:layout_width="wrap_content"
android:text="Submit"
android:layout_height="wrap_content" />
</LinearLayout>
</LinearLayout>