68 lines
2.3 KiB
XML
68 lines
2.3 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="16dp"
|
||
|
|
tools:ignore="ExtraText">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnGoBack"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/back_to_main" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/etApiName"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="16dp"
|
||
|
|
android:hint="API Name"
|
||
|
|
android:minHeight="48dp" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/etApiUrl"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:hint="API URL"
|
||
|
|
android:minHeight="48dp" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/etApiKey"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:hint="@string/api_key"
|
||
|
|
android:minHeight="48dp" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/etApiSecretKey"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:hint="API Secret Key"
|
||
|
|
android:minHeight="48dp" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnSave"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="@string/save_config"
|
||
|
|
android:layout_marginTop="16dp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/llConfigList"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_marginTop="16dp" />
|
||
|
|
android:background="#background_color"> <!-- 设置背景色 -->
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|