Skip to content

Commit b7c5699

Browse files
committed
remove inner action bar since activity providing it
Signed-off-by: alperozturk96 <[email protected]>
1 parent eddee08 commit b7c5699

1 file changed

Lines changed: 46 additions & 53 deletions

File tree

app/src/main/res/layout/notifications_layout.xml

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -6,78 +6,71 @@
66
~ SPDX-FileCopyrightText: 2017 Mario Danic <[email protected]>
77
~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
88
-->
9-
<androidx.coordinatorlayout.widget.CoordinatorLayout
9+
<FrameLayout
1010
xmlns:android="http://schemas.android.com/apk/res/android"
1111
xmlns:app="http://schemas.android.com/apk/res-auto"
1212
xmlns:tools="http://schemas.android.com/tools"
1313
android:layout_width="match_parent"
14-
android:layout_height="match_parent">
14+
android:layout_height="match_parent"
15+
android:layout_below="@id/appbar"
16+
app:layout_behavior="@string/appbar_scrolling_view_behavior">
1517

16-
<include layout="@layout/toolbar_back_button" />
17-
18-
<FrameLayout
18+
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
19+
android:id="@+id/swipe_containing_list"
1920
android:layout_width="match_parent"
2021
android:layout_height="match_parent"
21-
android:layout_below="@id/appbar"
22-
app:layout_behavior="@string/appbar_scrolling_view_behavior">
22+
android:footerDividersEnabled="false"
23+
android:visibility="visible">
2324

24-
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
25-
android:id="@+id/swipe_containing_list"
25+
<androidx.recyclerview.widget.RecyclerView
26+
android:id="@android:id/list"
2627
android:layout_width="match_parent"
2728
android:layout_height="match_parent"
28-
android:footerDividersEnabled="false"
29-
android:visibility="visible">
30-
31-
<androidx.recyclerview.widget.RecyclerView
32-
android:id="@android:id/list"
33-
android:layout_width="match_parent"
34-
android:layout_height="match_parent"
35-
android:layout_marginLeft="-3dp"
36-
android:layout_marginRight="-3dp"
37-
android:layout_marginBottom="-3dp"
38-
android:background="@color/bg_default"
39-
android:clipToPadding="false"
40-
android:scrollbarStyle="outsideOverlay"
41-
android:scrollbars="vertical"
42-
android:visibility="visible"
43-
tools:listitem="@layout/notification_list_item" />
44-
45-
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
29+
android:layout_marginLeft="-3dp"
30+
android:layout_marginRight="-3dp"
31+
android:layout_marginBottom="-3dp"
32+
android:background="@color/bg_default"
33+
android:clipToPadding="false"
34+
android:scrollbarStyle="outsideOverlay"
35+
android:scrollbars="vertical"
36+
android:visibility="visible"
37+
tools:listitem="@layout/notification_list_item" />
38+
39+
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
40+
41+
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
42+
android:id="@+id/swipe_containing_empty"
43+
android:layout_width="match_parent"
44+
android:layout_height="match_parent"
45+
android:footerDividersEnabled="false"
46+
android:visibility="visible">
4647

47-
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
48-
android:id="@+id/swipe_containing_empty"
48+
<FrameLayout
4949
android:layout_width="match_parent"
50-
android:layout_height="match_parent"
51-
android:footerDividersEnabled="false"
52-
android:visibility="visible">
50+
android:layout_height="match_parent">
5351

54-
<FrameLayout
52+
<LinearLayout
53+
android:id="@+id/loading_content"
5554
android:layout_width="match_parent"
56-
android:layout_height="match_parent">
57-
58-
<LinearLayout
59-
android:id="@+id/loading_content"
60-
android:layout_width="match_parent"
61-
android:layout_height="wrap_content"
62-
android:orientation="vertical"
63-
android:visibility="visible">
55+
android:layout_height="wrap_content"
56+
android:orientation="vertical"
57+
android:visibility="visible">
6458

65-
<include layout="@layout/activity_list_item_shimmer" />
59+
<include layout="@layout/activity_list_item_shimmer" />
6660

67-
<include layout="@layout/activity_list_item_shimmer" />
61+
<include layout="@layout/activity_list_item_shimmer" />
6862

69-
<include layout="@layout/activity_list_item_shimmer" />
63+
<include layout="@layout/activity_list_item_shimmer" />
7064

71-
<include layout="@layout/activity_list_item_shimmer" />
65+
<include layout="@layout/activity_list_item_shimmer" />
7266

73-
</LinearLayout>
67+
</LinearLayout>
7468

75-
<include
76-
android:id="@+id/empty_list"
77-
layout="@layout/empty_list" />
69+
<include
70+
android:id="@+id/empty_list"
71+
layout="@layout/empty_list" />
7872

79-
</FrameLayout>
80-
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
73+
</FrameLayout>
74+
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
8175

82-
</FrameLayout>
83-
</androidx.coordinatorlayout.widget.CoordinatorLayout>
76+
</FrameLayout>

0 commit comments

Comments
 (0)