mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-29 21:15:29 +00:00
cc7e47bbb6
All files (that used styles) were refactored to use styles directly so themes can only actually adjust colors - Elaborate themes would be super hard to maintain and would certainly break over time
66 lines
2.6 KiB
XML
66 lines
2.6 KiB
XML
<?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="viewModel"
|
|
type="com.topjohnwu.magisk.redesign.log.LogViewModel" />
|
|
|
|
</data>
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
itemBinding="@{viewModel.itemBinding}"
|
|
items="@{viewModel.items}"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false"
|
|
android:orientation="vertical"
|
|
android:paddingStart="@dimen/l1"
|
|
android:paddingTop="@{viewModel.insets.top + (int) @dimen/internal_action_bar_size}"
|
|
android:paddingEnd="@dimen/l1"
|
|
android:paddingBottom="@{viewModel.insets.bottom}"
|
|
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
tools:listitem="@layout/item_log_access_md2"
|
|
tools:paddingTop="24dp" />
|
|
|
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
|
android:id="@+id/log_filter_toggle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom|end"
|
|
android:layout_marginStart="@dimen/l1"
|
|
android:layout_marginEnd="@dimen/l1"
|
|
android:layout_marginBottom="@{viewModel.insets.bottom + (int) @dimen/l1}"
|
|
app:backgroundTint="?colorSurfaceSurfaceVariant"
|
|
app:srcCompat="@drawable/ic_folder_list"
|
|
app:tint="?colorPrimary"
|
|
tools:layout_marginBottom="64dp" />
|
|
|
|
<com.google.android.material.circularreveal.cardview.CircularRevealCardView
|
|
android:id="@+id/log_filter"
|
|
style="@style/WidgetFoundation.Card.Variant"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="bottom"
|
|
android:visibility="invisible"
|
|
app:cardCornerRadius="0dp">
|
|
|
|
<include
|
|
android:id="@+id/log_filter_include"
|
|
layout="@layout/include_log_magisk"
|
|
viewModel="@{viewModel}"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
|
|
</com.google.android.material.circularreveal.cardview.CircularRevealCardView>
|
|
|
|
</FrameLayout>
|
|
|
|
</layout> |