Remose useless views

This commit is contained in:
tom79 2019-08-18 19:28:17 +02:00
parent 2b92c58d6c
commit 078c8784e0
12 changed files with 114 additions and 163 deletions

View File

@ -47,9 +47,6 @@
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview status --> <!-- Listview status -->
@ -66,7 +63,6 @@
> >
</androidx.recyclerview.widget.RecyclerView> </androidx.recyclerview.widget.RecyclerView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -47,9 +47,6 @@
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview status --> <!-- Listview status -->
@ -66,7 +63,6 @@
> >
</androidx.recyclerview.widget.RecyclerView> </androidx.recyclerview.widget.RecyclerView>
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -47,9 +47,6 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview status --> <!-- Listview status -->
@ -64,7 +61,6 @@
android:scrollbars="none" android:scrollbars="none"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -20,9 +20,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android"> xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- Listview Accounts --> <!-- Listview Accounts -->
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent" android:layout_width="match_parent"
@ -36,7 +33,6 @@
android:divider="@null" android:divider="@null"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -36,9 +36,6 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="app.fedilab.android.activities.OwnerStatusActivity" tools:context="app.fedilab.android.activities.OwnerStatusActivity"
> >
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:id="@+id/swipeContainer" android:id="@+id/swipeContainer"
@ -50,7 +47,6 @@
android:scrollbars="none" android:scrollbars="none"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -47,9 +47,6 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview status --> <!-- Listview status -->
@ -64,7 +61,6 @@
android:scrollbars="none" android:scrollbars="none"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -38,9 +38,6 @@
app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:context="app.fedilab.android.activities.ShowConversationActivity" tools:context="app.fedilab.android.activities.ShowConversationActivity"
> >
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:id="@+id/swipeContainer" android:id="@+id/swipeContainer"
@ -52,7 +49,6 @@
android:scrollbars="none" android:scrollbars="none"
android:divider="@null" /> android:divider="@null" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
</RelativeLayout> </RelativeLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

View File

@ -22,9 +22,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview Accounts --> <!-- Listview Accounts -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:id="@+id/swipeContainer" android:id="@+id/swipeContainer"
@ -37,7 +34,6 @@
android:divider="@null" android:divider="@null"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -19,9 +19,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview Accounts --> <!-- Listview Accounts -->
@ -37,7 +34,6 @@
android:divider="@null" android:divider="@null"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -19,9 +19,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview Accounts --> <!-- Listview Accounts -->
@ -37,7 +34,6 @@
android:divider="@null" android:divider="@null"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -19,9 +19,6 @@
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
android:paddingLeft="@dimen/fab_margin" android:paddingLeft="@dimen/fab_margin"
android:paddingRight="@dimen/fab_margin" android:paddingRight="@dimen/fab_margin"
android:layout_width="match_parent"
android:layout_height="match_parent">
<FrameLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview Accounts --> <!-- Listview Accounts -->
@ -37,7 +34,6 @@
android:divider="@null" android:divider="@null"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"

View File

@ -22,9 +22,6 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<!-- Listview Notifications --> <!-- Listview Notifications -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:id="@+id/swipeContainer" android:id="@+id/swipeContainer"
@ -34,10 +31,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:scrollbars="none" android:scrollbars="none"
/> />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
</FrameLayout>
<RelativeLayout <RelativeLayout
android:id="@+id/no_action" android:id="@+id/no_action"
android:visibility="gone" android:visibility="gone"
@ -55,7 +50,7 @@
android:layout_height="match_parent" /> android:layout_height="match_parent" />
</RelativeLayout> </RelativeLayout>
<!-- Main Loader --> <!-- Main Loader -->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" <RelativeLayout
android:id="@+id/loader" android:id="@+id/loader"
android:visibility="gone" android:visibility="gone"
android:layout_width="match_parent" android:layout_width="match_parent"