110 lines
4.1 KiB
XML
110 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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=".MainActivity">
|
|
<LinearLayout
|
|
android:id="@+id/layout_configuration"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<!--
|
|
<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>
|
|
<Switch
|
|
android:id="@+id/switch_sensitiveinfo"
|
|
android:text="Show Sensitive Information"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
-->
|
|
|
|
<!--<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>-->
|
|
<TextView
|
|
android:text="JavaScript"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<EditText
|
|
android:id="@+id/edit_script"
|
|
android:hint="document.body.style.background = 'gray';"
|
|
android:gravity="top"
|
|
android:inputType="textMultiLine|textNoSuggestions"
|
|
android:typeface="monospace"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<!--
|
|
<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>
|
|
<TextView
|
|
android:text="WordPress Site URL"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<EditText
|
|
android:id="@+id/edit_website_url"
|
|
android:singleLine="true"
|
|
android:hint="https://blog.example.com"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>
|
|
<TextView
|
|
android:text="WordPress Session Cookies"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<EditText
|
|
android:id="@+id/edit_cookies"
|
|
android:singleLine="true"
|
|
android:hint="wordpress_sec_...=...; wordpress_logged_in_...=..."
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>
|
|
<TextView
|
|
android:text="Allowed SMS Phone Numbers"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<EditText
|
|
android:id="@+id/edit_allowed_phone_numbers"
|
|
android:singleLine="true"
|
|
android:inputType="phone"
|
|
android:hint="1234567890 +11234567890"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"/>
|
|
|
|
<Space
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="15dp"/>
|
|
<TextView
|
|
android:text="Optional SMS Verification Password"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"/>
|
|
<EditText
|
|
android:id="@+id/edit_message_password"
|
|
android:singleLine="true"
|
|
android:hint="hunter2"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:inputType="textPassword"/>
|
|
-->
|
|
</LinearLayout>
|
|
<WebView
|
|
android:id="@+id/webview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
<!--
|
|
<TextView
|
|
android:id="@+id/label_log"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"/>
|
|
-->
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |