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
d7653e6e
Commit
d7653e6e
authored
Feb 11, 2020
by
Viktor De Pasquale
Committed by
John Wu
Feb 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up unused resources
parent
e9fc40d2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1 addition
and
434 deletions
+1
-434
DataBindingAdapters.kt
...in/java/com/topjohnwu/magisk/utils/DataBindingAdapters.kt
+1
-251
ic_checked.xml
app/src/main/res/drawable/ic_checked.xml
+0
-11
ic_indeterminate.xml
app/src/main/res/drawable/ic_indeterminate.xml
+0
-10
ic_unchecked.xml
app/src/main/res/drawable/ic_unchecked.xml
+0
-10
colors.xml
app/src/main/res/values/colors.xml
+0
-30
ids.xml
app/src/main/res/values/ids.xml
+0
-2
view_appearances.xml
app/src/main/res/values/view_appearances.xml
+0
-30
view_button_styles.xml
app/src/main/res/values/view_button_styles.xml
+0
-11
view_image_styles.xml
app/src/main/res/values/view_image_styles.xml
+0
-27
view_text_styles.xml
app/src/main/res/values/view_text_styles.xml
+0
-52
No files found.
app/src/main/java/com/topjohnwu/magisk/utils/DataBindingAdapters.kt
View file @
d7653e6e
This diff is collapsed.
Click to expand it.
app/src/main/res/drawable/ic_checked.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24"
android:viewportHeight=
"24"
>
<path
android:fillColor=
"#000"
android:pathData=
"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2,4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"
/>
</vector>
\ No newline at end of file
app/src/main/res/drawable/ic_indeterminate.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24"
android:viewportHeight=
"24"
>
<path
android:fillColor=
"#000"
android:pathData=
"M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M7,13H17V11H7"
/>
</vector>
\ No newline at end of file
app/src/main/res/drawable/ic_unchecked.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24"
android:viewportHeight=
"24"
>
<path
android:fillColor=
"#000"
android:pathData=
"M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
/>
</vector>
\ No newline at end of file
app/src/main/res/values/colors.xml
View file @
d7653e6e
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!--new colors-->
<color
name=
"colorPrimary"
>
#009688
</color>
<color
name=
"colorPrimaryDark"
>
#00796B
</color>
<color
name=
"colorSecondary"
>
#D50000
</color>
<color
name=
"colorSecondaryDark"
>
#6D1111
</color>
<color
name=
"colorText"
>
#1D1D1D
</color>
<color
name=
"colorTextInactive"
>
#6a6868
</color>
<color
name=
"colorTextInverse"
>
#fff
</color>
<color
name=
"colorTextTinted"
>
#FFFFFF
</color>
<color
name=
"colorCardStrokeInverse"
>
#2A000000
</color>
<color
name=
"colorCorrect"
>
@color/green500
</color>
<color
name=
"colorError"
>
@color/red500
</color>
<color
name=
"colorUpdate"
>
@color/blue500
</color>
<!--new colors ^^-->
<color
name=
"primary"
>
#009688
</color>
<color
name=
"primary_dark"
>
#00796B
</color>
<color
name=
"accentFallback"
>
#FBC02D
</color>
<color
name=
"icon_grey"
>
#757575
</color>
<color
name=
"red500"
>
#F44336
</color>
<color
name=
"green500"
>
#4CAF50
</color>
<color
name=
"blue500"
>
#2196f3
</color>
<color
name=
"dark_secondary_text"
>
#dedede
</color>
<color
name=
"su_request_background"
>
#e0e0e0
</color>
<!-- Card colors -->
...
...
app/src/main/res/values/ids.xml
View file @
d7653e6e
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item
name=
"hideWhenSelected"
type=
"id"
/>
<item
name=
"recyclerScrollListener"
type=
"id"
/>
<item
name=
"revealAnim"
type=
"id"
/>
</resources>
\ No newline at end of file
app/src/main/res/values/view_appearances.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"TextAppearance"
parent=
"TextAppearance.AppCompat.Body1"
>
<item
name=
"android:textColor"
>
@color/colorText
</item>
</style>
<style
name=
"TextAppearance.Emphasize"
parent=
"TextAppearance.AppCompat.Body1"
>
<item
name=
"android:textColor"
>
@color/colorText
</item>
<item
name=
"android:textSize"
>
16sp
</item>
<item
name=
"android:textStyle"
>
bold
</item>
</style>
<style
name=
"TextAppearance.Emphasize.Tinted"
>
<item
name=
"android:textColor"
>
@color/colorTextTinted
</item>
</style>
<style
name=
"TextAppearance.Title"
parent=
"TextAppearance.AppCompat.Title"
>
<item
name=
"android:textColor"
>
@color/colorText
</item>
</style>
<style
name=
"TextAppearance.Caption"
parent=
"TextAppearance.AppCompat.Caption"
>
<item
name=
"android:textColor"
>
@color/colorText
</item>
</style>
<style
name=
"TextAppearance.Caption.Inactive"
>
<item
name=
"android:textColor"
>
@color/colorTextInactive
</item>
</style>
</resources>
\ No newline at end of file
app/src/main/res/values/view_button_styles.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"Widget.Button.Text"
parent=
"Widget.MaterialComponents.Button.TextButton"
>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
<item
name=
"android:textColor"
>
@color/colorSecondary
</item>
<item
name=
"rippleColor"
>
@color/colorSecondary
</item>
</style>
</resources>
\ No newline at end of file
app/src/main/res/values/view_image_styles.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"Widget.Icon"
>
<item
name=
"android:layout_width"
>
36dp
</item>
<item
name=
"android:layout_height"
>
36dp
</item>
<item
name=
"android:padding"
>
6dp
</item>
<item
name=
"android:background"
>
?attr/selectableItemBackgroundBorderless
</item>
</style>
<style
name=
"Widget.Icon.Large"
>
<item
name=
"android:layout_width"
>
48dp
</item>
<item
name=
"android:layout_height"
>
48dp
</item>
<item
name=
"android:padding"
>
6dp
</item>
<item
name=
"android:background"
>
?attr/selectableItemBackgroundBorderless
</item>
</style>
<style
name=
"Widget.Icon.Accent"
>
<item
name=
"tint"
>
@color/colorSecondary
</item>
</style>
<style
name=
"Widget.Icon.DialogButton"
parent=
"Widget.Icon.Accent"
>
<item
name=
"android:layout_gravity"
>
center
</item>
<item
name=
"android:background"
>
@android:color/transparent
</item>
</style>
</resources>
\ No newline at end of file
app/src/main/res/values/view_text_styles.xml
deleted
100644 → 0
View file @
e9fc40d2
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style
name=
"Widget.BaseText"
>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
</style>
<style
name=
"Widget.Text"
parent=
"Widget.BaseText"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance
</item>
<item
name=
"android:ellipsize"
>
end
</item>
</style>
<style
name=
"Widget.Text.Emphasize"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Emphasize
</item>
</style>
<style
name=
"Widget.Text.Emphasize.Tinted"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Emphasize.Tinted
</item>
</style>
<style
name=
"Widget.Text.Title"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Title
</item>
</style>
<style
name=
"Widget.Text.Caption"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Caption
</item>
</style>
<style
name=
"Widget.Text.Caption.Inactive"
>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Caption.Inactive
</item>
</style>
<style
name=
"Widget.Text.SectionTitle"
>
<item
name=
"android:textStyle"
>
bold
</item>
<item
name=
"android:paddingTop"
>
@dimen/margin_generic_double
</item>
<item
name=
"android:paddingBottom"
>
@dimen/margin_generic
</item>
<item
name=
"android:paddingLeft"
>
@dimen/margin_generic
</item>
<item
name=
"android:paddingRight"
>
@dimen/margin_generic
</item>
<item
name=
"android:textAppearance"
>
@style/TextAppearance.Caption
</item>
<item
name=
"android:textColor"
>
@color/colorSecondary
</item>
</style>
<style
name=
"Widget.Text.DialogButton"
>
<item
name=
"android:padding"
>
@dimen/margin_generic
</item>
<item
name=
"android:textColor"
>
@color/colorSecondary
</item>
<item
name=
"android:textStyle"
>
bold
</item>
<item
name=
"android:layout_width"
>
wrap_content
</item>
<item
name=
"android:layout_height"
>
wrap_content
</item>
</style>
</resources>
\ No newline at end of file
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