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
b4d95977
Commit
b4d95977
authored
Jan 26, 2017
by
tonymanou
Committed by
topjohnwu
Jan 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant XML namespaces
parent
5d8bb897
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
10 deletions
+4
-10
FABBehavior.java
...src/main/java/com/topjohnwu/magisk/utils/FABBehavior.java
+1
-1
activity_about.xml
app/src/main/res/layout/activity_about.xml
+0
-1
fragment_modules.xml
app/src/main/res/layout/fragment_modules.xml
+2
-5
fragment_status.xml
app/src/main/res/layout/fragment_status.xml
+1
-2
list_item_app.xml
app/src/main/res/layout/list_item_app.xml
+0
-1
No files found.
app/src/main/java/com/topjohnwu/magisk/utils/FABBehavior.java
View file @
b4d95977
...
@@ -23,7 +23,7 @@ import java.util.List;
...
@@ -23,7 +23,7 @@ import java.util.List;
* FabMenu in a Coordinator Layout.
* FabMenu in a Coordinator Layout.
*
*
* Remember to use the correct namespace for the fab:
* Remember to use the correct namespace for the fab:
* xmlns:
fab
="http://schemas.android.com/apk/res-auto"
* xmlns:
app
="http://schemas.android.com/apk/res-auto"
*/
*/
public
class
FABBehavior
extends
CoordinatorLayout
.
Behavior
{
public
class
FABBehavior
extends
CoordinatorLayout
.
Behavior
{
private
float
mTranslationY
;
private
float
mTranslationY
;
...
...
app/src/main/res/layout/activity_about.xml
View file @
b4d95977
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
<include
layout=
"@layout/toolbar"
/>
<include
layout=
"@layout/toolbar"
/>
<ScrollView
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"fill_parent"
android:layout_width=
"fill_parent"
...
...
app/src/main/res/layout/fragment_modules.xml
View file @
b4d95977
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.SwipeRefreshLayout
<android.support.v4.widget.SwipeRefreshLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:fab=
"http://schemas.android.com/apk/res-auto"
xmlns:fab=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/swipeRefreshLayout"
android:id=
"@+id/swipeRefreshLayout"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
...
@@ -11,8 +10,6 @@
...
@@ -11,8 +10,6 @@
<android.support.design.widget.CoordinatorLayout
<android.support.design.widget.CoordinatorLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:id=
"@+id/coordinator"
android:id=
"@+id/coordinator"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -25,7 +22,7 @@
...
@@ -25,7 +22,7 @@
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:clipToPadding=
"false"
android:clipToPadding=
"false"
android:dividerHeight=
"@dimen/card_divider_space"
android:dividerHeight=
"@dimen/card_divider_space"
app
:layoutManager=
"android.support.v7.widget.LinearLayoutManager"
/>
fab
:layoutManager=
"android.support.v7.widget.LinearLayoutManager"
/>
<TextView
<TextView
android:id=
"@+id/empty_rv"
android:id=
"@+id/empty_rv"
...
@@ -47,7 +44,7 @@
...
@@ -47,7 +44,7 @@
android:layout_gravity=
"bottom|center_horizontal"
android:layout_gravity=
"bottom|center_horizontal"
android:layout_marginEnd=
"113dp"
android:layout_marginEnd=
"113dp"
android:layout_marginBottom=
"10dp"
android:layout_marginBottom=
"10dp"
app
:layout_behavior=
".utils.FABBehavior"
fab
:layout_behavior=
".utils.FABBehavior"
fab:menu_fab_size=
"normal"
fab:menu_fab_size=
"normal"
fab:menu_showShadow=
"true"
fab:menu_showShadow=
"true"
fab:menu_shadowColor=
"#66000000"
fab:menu_shadowColor=
"#66000000"
...
...
app/src/main/res/layout/fragment_status.xml
View file @
b4d95977
...
@@ -8,8 +8,7 @@
...
@@ -8,8 +8,7 @@
android:layout_marginTop=
"?attr/actionBarSize"
android:layout_marginTop=
"?attr/actionBarSize"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
<ScrollView
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:layout_marginBottom=
"8dp"
android:layout_marginBottom=
"8dp"
...
...
app/src/main/res/layout/list_item_app.xml
View file @
b4d95977
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
android:padding=
"@dimen/card_layout_padding"
>
android:padding=
"@dimen/card_layout_padding"
>
<ImageView
<ImageView
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/app_icon"
android:id=
"@+id/app_icon"
android:layout_width=
"@dimen/card_appicon_size"
android:layout_width=
"@dimen/card_appicon_size"
android:layout_height=
"@dimen/card_appicon_size"
android:layout_height=
"@dimen/card_appicon_size"
...
...
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