mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-07 04:04:29 +00:00
Remove redundant XML namespaces
This commit is contained in:
parent
5d8bb897db
commit
b4d95977d0
@ -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;
|
||||||
|
@ -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"
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<?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 @@
|
|||||||
|
|
||||||
|
|
||||||
<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 @@
|
|||||||
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 @@
|
|||||||
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"
|
||||||
|
@ -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"
|
||||||
|
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user