2019-11-29 19:07:33 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<layout 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">
|
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<variable
|
|
|
|
name="data"
|
2020-01-12 16:43:09 +00:00
|
|
|
type="com.topjohnwu.magisk.ui.settings.UpdateChannelUrl" />
|
2019-11-29 19:07:33 +00:00
|
|
|
|
|
|
|
</data>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:padding="@dimen/margin_generic">
|
|
|
|
|
|
|
|
<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="@dimen/margin_generic"
|
|
|
|
android:hint="@string/settings_update_custom_msg"
|
|
|
|
app:boxStrokeColor="?colorOnSurfaceVariant"
|
|
|
|
app:errorTextColor="?colorError"
|
|
|
|
app:hintEnabled="true"
|
|
|
|
app:hintTextAppearance="@style/AppearanceFoundation.Tiny"
|
|
|
|
app:hintTextColor="?colorOnSurfaceVariant">
|
|
|
|
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/dialog_custom_download_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="textUri"
|
|
|
|
android:text="@={data.result}"
|
|
|
|
android:textAppearance="@style/AppearanceFoundation.Body"
|
|
|
|
android:textColor="?colorOnSurface"
|
|
|
|
tools:text="@tools:sample/lorem" />
|
|
|
|
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</layout>
|