2020-03-16 15:41:57 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-06-04 07:35:26 +00:00
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-04-23 14:21:53 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-06-04 07:35:26 +00:00
|
|
|
xmlns:bind="http://schemas.android.com/apk/res-auto">
|
2020-03-28 13:29:48 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
<data>
|
|
|
|
|
|
|
|
<import type="android.view.View" />
|
|
|
|
|
|
|
|
<variable
|
|
|
|
name="viewModel"
|
|
|
|
type="com.vanced.manager.ui.viewmodels.HomeViewModel" />
|
|
|
|
|
|
|
|
</data>
|
|
|
|
|
|
|
|
<com.vanced.manager.ui.core.SlidingNestedScrollView
|
2020-03-28 13:29:48 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-06-04 07:35:26 +00:00
|
|
|
android:fillViewport="true"
|
|
|
|
android:scrollbars="none">
|
2020-04-15 13:35:15 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
<LinearLayout
|
2020-05-10 20:06:54 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-06-04 07:35:26 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:orientation="vertical">
|
2020-03-28 13:29:48 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/home_network_wrapper"
|
|
|
|
layout="@layout/include_network_error"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginEnd="@dimen/stdp"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2020-05-10 14:44:33 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
<include
|
|
|
|
layout="@layout/include_vanced"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="8dp"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginEnd="@dimen/stdp"
|
|
|
|
bind:viewModel="@{viewModel}"/>
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/home_microg_wrapper"
|
|
|
|
layout="@layout/include_microg"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginTop="@dimen/stdp"
|
|
|
|
android:layout_marginEnd="@dimen/stdp"
|
|
|
|
android:visibility="@{viewModel.nonrootModeSelected ? View.VISIBLE : View.GONE}"
|
|
|
|
bind:viewModel="@{viewModel}"/>
|
|
|
|
|
2020-06-08 11:23:45 +00:00
|
|
|
<include
|
|
|
|
android:id="@+id/home_signature_wrapper"
|
|
|
|
layout="@layout/include_signature_verification"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginTop="@dimen/stdp"
|
|
|
|
android:layout_marginEnd="@dimen/stdp"
|
|
|
|
android:visibility="@{viewModel.nonrootModeSelected ? View.GONE : View.VISIBLE}"
|
|
|
|
bind:viewModel="@{viewModel}"/>
|
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
<include
|
|
|
|
layout="@layout/include_changelogs"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginTop="@dimen/stdp"
|
|
|
|
android:layout_marginEnd="@dimen/stdp" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/include_useful_links"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/stdp"
|
|
|
|
android:layout_marginTop="@dimen/stdp"
|
2020-06-04 17:12:50 +00:00
|
|
|
android:layout_marginEnd="@dimen/stdp"
|
|
|
|
bind:viewModel="@{viewModel}"/>
|
2020-06-04 07:35:26 +00:00
|
|
|
|
|
|
|
</LinearLayout>
|
2020-03-28 13:29:48 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
</com.vanced.manager.ui.core.SlidingNestedScrollView>
|
2020-03-28 13:29:48 +00:00
|
|
|
|
2020-06-04 07:35:26 +00:00
|
|
|
</layout>
|