2020-10-31 19:45:39 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-12-11 19:22:43 +00:00
|
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-10-31 19:45:39 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-11-08 12:46:17 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-10-31 19:45:39 +00:00
|
|
|
style="@style/DialogCard">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
style="@style/DialogCardTitle"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:text="@string/update_url"
|
|
|
|
android:textAlignment="center" />
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="12dp"
|
2020-11-08 12:46:17 +00:00
|
|
|
app:hintEnabled="true"
|
|
|
|
android:hint="URL"
|
|
|
|
app:boxStrokeWidth="2dp"
|
|
|
|
tools:ignore="HardcodedText">
|
2020-10-31 19:45:39 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/url_input"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp">
|
|
|
|
|
2020-12-14 21:18:58 +00:00
|
|
|
<com.vanced.manager.ui.core.ThemedOutlinedMaterialButton
|
2020-10-31 19:45:39 +00:00
|
|
|
android:id="@+id/url_reset"
|
|
|
|
style="@style/OutlinedButtonStyle"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:text="@string/reset" />
|
|
|
|
|
2020-12-14 21:18:58 +00:00
|
|
|
<com.vanced.manager.ui.core.ThemedMaterialButton
|
2020-10-31 19:45:39 +00:00
|
|
|
android:id="@+id/url_save"
|
|
|
|
style="@style/ButtonStyle"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:text="@string/save" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|