32 lines
2.0 KiB
XML
32 lines
2.0 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
||
|
android:fitsSystemWindows="true"
|
||
|
tools:context=".SettingActivity">
|
||
|
|
||
|
<com.google.android.material.appbar.AppBarLayout
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:fitsSystemWindows="true">
|
||
|
|
||
|
<com.google.android.material.appbar.MaterialToolbar
|
||
|
android:id="@+id/toolbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="?attr/actionBarSize" />
|
||
|
|
||
|
</com.google.android.material.appbar.AppBarLayout>
|
||
|
<RelativeLayout
|
||
|
app:layout_behavior="@string/appbar_scrolling_view_behavior" android:layout_width="match_parent" android:layout_height="match_parent">
|
||
|
<com.google.android.material.textfield.TextInputEditText android:hint="@string/settings_endpoint" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/settings_endpoint" />
|
||
|
<com.google.android.material.textfield.TextInputEditText android:hint="@string/settings_username" android:layout_below="@+id/settings_endpoint" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/settings_username" />
|
||
|
<com.google.android.material.textfield.TextInputEditText android:layout_below="@+id/settings_username" android:hint="@string/settings_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/settings_password" android:inputType="textPassword" />
|
||
|
|
||
|
<Button android:id="@+id/settings_save" android:layout_below="@+id/settings_password" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/settings_save"/>
|
||
|
|
||
|
</RelativeLayout>
|
||
|
|
||
|
|
||
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|