Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
3c204193
Commit
3c204193
authored
Dec 24, 2019
by
nikk gitanes
Committed by
John Wu
Jan 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remote focus fixes (classic UI)
parent
e88b1cc4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
2 deletions
+18
-2
fragment_modules.xml
app/src/main/res/layout/fragment_modules.xml
+3
-1
item_console.xml
app/src/main/res/layout/item_console.xml
+1
-0
item_hide_app.xml
app/src/main/res/layout/item_hide_app.xml
+2
-0
item_hide_process.xml
app/src/main/res/layout/item_hide_process.xml
+2
-0
item_module.xml
app/src/main/res/layout/item_module.xml
+4
-0
item_page_magisk_log.xml
app/src/main/res/layout/item_page_magisk_log.xml
+4
-1
item_repo.xml
app/src/main/res/layout/item_repo.xml
+2
-0
No files found.
app/src/main/res/layout/fragment_modules.xml
View file @
3c204193
...
@@ -59,10 +59,12 @@
...
@@ -59,10 +59,12 @@
android:layout_gravity=
"bottom|center_horizontal"
android:layout_gravity=
"bottom|center_horizontal"
android:layout_margin=
"@dimen/fab_padding"
android:layout_margin=
"@dimen/fab_padding"
android:onClick=
"@{() -> viewModel.fabPressed()}"
android:onClick=
"@{() -> viewModel.fabPressed()}"
android:focusable=
"true"
android:clickable=
"true"
app:fabSize=
"normal"
app:fabSize=
"normal"
app:layout_behavior=
"com.google.android.material.floatingactionbutton.FloatingActionButton$Behavior"
app:layout_behavior=
"com.google.android.material.floatingactionbutton.FloatingActionButton$Behavior"
app:srcCompat=
"@drawable/ic_add"
/>
app:srcCompat=
"@drawable/ic_add"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/item_console.xml
View file @
3c204193
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
</data>
</data>
<TextView
<TextView
android:focusable=
"true"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:fontFamily=
"monospace"
android:fontFamily=
"monospace"
...
...
app/src/main/res/layout/item_hide_app.xml
View file @
3c204193
...
@@ -94,6 +94,8 @@
...
@@ -94,6 +94,8 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/hide_app_checkbox"
android:id=
"@+id/hide_app_checkbox"
android:focusable=
"true"
android:clickable=
"true"
style=
"@style/Widget.Icon"
style=
"@style/Widget.Icon"
isChecked=
"@{item.isHiddenState}"
isChecked=
"@{item.isHiddenState}"
android:onClick=
"@{() -> item.toggle()}"
android:onClick=
"@{() -> item.toggle()}"
...
...
app/src/main/res/layout/item_hide_process.xml
View file @
3c204193
...
@@ -38,6 +38,8 @@
...
@@ -38,6 +38,8 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/hide_process_icon"
android:id=
"@+id/hide_process_icon"
android:focusable=
"true"
android:clickable=
"true"
style=
"@style/Widget.Icon"
style=
"@style/Widget.Icon"
isChecked=
"@{item.isHidden}"
isChecked=
"@{item.isHidden}"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
...
...
app/src/main/res/layout/item_module.xml
View file @
3c204193
...
@@ -106,6 +106,8 @@
...
@@ -106,6 +106,8 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/checkbox"
android:id=
"@+id/checkbox"
android:focusable=
"true"
android:clickable=
"true"
style=
"@style/Widget.Icon"
style=
"@style/Widget.Icon"
isChecked=
"@{item.isChecked}"
isChecked=
"@{item.isChecked}"
android:layout_marginEnd=
"@dimen/margin_generic"
android:layout_marginEnd=
"@dimen/margin_generic"
...
@@ -127,6 +129,8 @@
...
@@ -127,6 +129,8 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/delete"
android:id=
"@+id/delete"
android:focusable=
"true"
android:clickable=
"true"
style=
"@style/Widget.Icon"
style=
"@style/Widget.Icon"
srcCompat=
"@{item.isDeletable ? R.drawable.ic_undelete : R.drawable.ic_delete}"
srcCompat=
"@{item.isDeletable ? R.drawable.ic_undelete : R.drawable.ic_delete}"
android:onClick=
"@{() -> item.toggleDelete()}"
android:onClick=
"@{() -> item.toggleDelete()}"
...
...
app/src/main/res/layout/item_page_magisk_log.xml
View file @
3c204193
...
@@ -29,6 +29,7 @@
...
@@ -29,6 +29,7 @@
items=
"@{item.items}"
items=
"@{item.items}"
scrollPosition=
"@={viewModel.scrollPosition}"
scrollPosition=
"@={viewModel.scrollPosition}"
scrollPositionSmooth=
"@{true}"
scrollPositionSmooth=
"@{true}"
android:focusable=
"true"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:orientation=
"vertical"
...
@@ -39,6 +40,8 @@
...
@@ -39,6 +40,8 @@
<com.google.android.material.floatingactionbutton.FloatingActionButton
<com.google.android.material.floatingactionbutton.FloatingActionButton
hide=
"@{viewModel.scrollPosition == item.items.size - 1 || item.items.size == 0}"
hide=
"@{viewModel.scrollPosition == item.items.size - 1 || item.items.size == 0}"
android:focusable=
"true"
android:clickable=
"true"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"bottom|end"
android:layout_gravity=
"bottom|end"
...
@@ -50,4 +53,4 @@
...
@@ -50,4 +53,4 @@
</FrameLayout>
</FrameLayout>
</layout>
</layout>
\ No newline at end of file
app/src/main/res/layout/item_repo.xml
View file @
3c204193
...
@@ -105,6 +105,8 @@
...
@@ -105,6 +105,8 @@
<androidx.appcompat.widget.AppCompatImageView
<androidx.appcompat.widget.AppCompatImageView
android:id=
"@+id/download"
android:id=
"@+id/download"
android:focusable=
"true"
android:clickable=
"true"
style=
"@style/Widget.Icon"
style=
"@style/Widget.Icon"
isEnabled=
"@{viewModel.isConnected}"
isEnabled=
"@{viewModel.isConnected}"
android:alpha=
"@{viewModel.isConnected ? 1f : .2f}"
android:alpha=
"@{viewModel.isConnected ? 1f : .2f}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment