2019-11-16 19:13:40 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-11-18 17:49:03 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-11-16 19:13:40 +01:00
|
|
|
|
|
|
|
<data>
|
|
|
|
|
|
|
|
<variable
|
|
|
|
name="item"
|
2020-08-19 02:05:23 -07:00
|
|
|
type="com.topjohnwu.magisk.ui.module.InstallModule" />
|
2019-11-16 19:13:40 +01:00
|
|
|
|
|
|
|
<variable
|
|
|
|
name="viewModel"
|
2020-01-13 00:43:09 +08:00
|
|
|
type="com.topjohnwu.magisk.ui.module.ModuleViewModel" />
|
2019-11-16 19:13:40 +01:00
|
|
|
|
|
|
|
</data>
|
|
|
|
|
2020-08-19 02:45:14 -07:00
|
|
|
<Button
|
2019-11-22 19:29:53 +01:00
|
|
|
style="@style/WidgetFoundation.Button.Outlined"
|
2019-11-16 19:13:40 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-01-17 15:08:54 +08:00
|
|
|
android:layout_marginBottom="@dimen/l_50"
|
2019-11-16 19:13:40 +01:00
|
|
|
android:onClick="@{() -> viewModel.installPressed()}"
|
|
|
|
android:text="@string/module_action_install_external"
|
|
|
|
android:textAllCaps="false"
|
|
|
|
android:textSize="12sp"
|
2019-11-18 17:49:03 +01:00
|
|
|
app:cornerRadius="@dimen/r1"
|
2019-11-19 17:16:07 +01:00
|
|
|
app:icon="@drawable/ic_module_storage_md2" />
|
2019-11-16 19:13:40 +01:00
|
|
|
|
|
|
|
</layout>
|