File tree 13 files changed +17
-70
lines changed
13 files changed +17
-70
lines changed Original file line number Diff line number Diff line change 9
9
android : id =" @+id/toolbarLayout"
10
10
android : layout_width =" wrap_content"
11
11
android : layout_height =" ?attr/actionBarSize" >
12
- <include
13
- android : id =" @+id/toolbar"
14
- layout =" @layout/toolbar"
15
- android : layout_width =" match_parent"
16
- android : layout_height =" ?attr/actionBarSize" />
12
+ <include layout =" @layout/toolbar" />
17
13
</LinearLayout >
18
14
<LinearLayout
19
15
android : layout_width =" wrap_content"
Original file line number Diff line number Diff line change 9
9
android : id =" @+id/toolbarLayout"
10
10
android : layout_width =" wrap_content"
11
11
android : layout_height =" ?attr/actionBarSize" >
12
- <include
13
- android : id =" @+id/toolbar"
14
- layout =" @layout/toolbar"
15
- android : layout_width =" match_parent"
16
- android : layout_height =" wrap_content" />
12
+ <include layout =" @layout/toolbar" />
17
13
</LinearLayout >
18
14
19
15
<LinearLayout
Original file line number Diff line number Diff line change 9
9
android : layout_width =" match_parent"
10
10
android : layout_height =" match_parent" >
11
11
12
- <include
13
- android : id =" @+id/toolbar"
14
- layout =" @layout/toolbar"
15
- android : layout_width =" match_parent"
16
- android : layout_height =" wrap_content"
17
- app : layout_scrollFlags =" scroll" />
12
+ <include layout =" @layout/toolbar" />
18
13
19
14
<com .google.android.material.tabs.TabLayout
20
15
android : id =" @+id/tab_layout"
Original file line number Diff line number Diff line change 15
15
android : layout_height =" wrap_content"
16
16
android : background =" @color/primaryDarkColor" >
17
17
18
- <include
19
- android : id =" @+id/toolbar"
20
- layout =" @layout/toolbar"
21
- android : layout_width =" match_parent"
22
- android : layout_height =" wrap_content" />
18
+ <include layout =" @layout/toolbar" />
23
19
24
20
<com .google.android.material.tabs.TabLayout
25
21
android : id =" @+id/tab_layout"
Original file line number Diff line number Diff line change 8
8
<RelativeLayout
9
9
android : layout_width =" match_parent"
10
10
android : layout_height =" match_parent" >
11
- <include
12
- android : id =" @+id/toolbar"
13
- layout =" @layout/toolbar"
14
- android : layout_width =" match_parent"
15
- android : layout_height =" wrap_content" />
11
+ <include layout =" @layout/toolbar" />
16
12
17
13
<FrameLayout xmlns : android =" http://schemas.android.com/apk/res/android"
18
14
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 12
12
android : layout_height =" match_parent"
13
13
android : gravity =" center_horizontal"
14
14
>
15
- <include
16
- android : id =" @+id/toolbar"
17
- layout =" @layout/toolbar"
18
- android : layout_width =" match_parent"
19
- android : layout_height =" wrap_content" />
15
+ <include layout =" @layout/toolbar" />
20
16
21
17
<com .google.android.material.tabs.TabLayout
22
18
android : id =" @+id/tab_layout"
Original file line number Diff line number Diff line change 15
15
android : layout_height =" wrap_content"
16
16
android : background =" @color/primaryDarkColor" >
17
17
18
- <include
19
- android : id =" @+id/toolbar"
20
- layout =" @layout/toolbar"
21
- android : layout_width =" match_parent"
22
- android : layout_height =" wrap_content" />
18
+ <include layout =" @layout/toolbar" />
23
19
24
20
<com .google.android.material.tabs.TabLayout
25
21
android : id =" @+id/tab_layout"
Original file line number Diff line number Diff line change 10
10
android : layout_width =" match_parent"
11
11
android : layout_height =" match_parent" >
12
12
13
- <include
14
- android : id =" @+id/toolbar"
15
- layout =" @layout/toolbar"
16
- android : layout_width =" match_parent"
17
- android : layout_height =" wrap_content" />
13
+ <include layout =" @layout/toolbar" />
18
14
19
15
<RelativeLayout
20
16
android : id =" @+id/container"
Original file line number Diff line number Diff line change 11
11
android : layout_height =" match_parent"
12
12
android : orientation =" vertical" >
13
13
14
- <include
15
- android : id =" @+id/toolbar"
16
- layout =" @layout/toolbar"
17
- android : layout_width =" match_parent"
18
- android : layout_height =" wrap_content" />
14
+ <include layout =" @layout/toolbar" />
19
15
20
16
<androidx .cardview.widget.CardView
21
17
android : layout_width =" match_parent"
Original file line number Diff line number Diff line change 5
5
android : orientation =" vertical"
6
6
android : layout_width =" match_parent" >
7
7
8
- <include
9
- android : id =" @+id/toolbar"
10
- layout =" @layout/toolbar"
11
- android : layout_width =" match_parent"
12
- android : layout_height =" wrap_content" />
8
+ <include layout =" @layout/toolbar" />
13
9
14
10
<androidx .cardview.widget.CardView
15
11
android : layout_height =" match_parent"
Original file line number Diff line number Diff line change 15
15
android : layout_height =" wrap_content" >
16
16
17
17
<!-- Toolbar for viewing media -->
18
- <include
19
- android : visibility =" gone"
20
- android : id =" @+id/toolbar"
21
- layout =" @layout/toolbar"
22
- android : layout_width =" match_parent"
23
- android : layout_height =" wrap_content" />
18
+ <include layout =" @layout/toolbar"
19
+ android : visibility =" gone" />
24
20
25
21
<!-- Toolbar containing search bar -->
26
22
<androidx .appcompat.widget.Toolbar
Original file line number Diff line number Diff line change 10
10
android : id =" @+id/toolbarLayout"
11
11
android : layout_width =" wrap_content"
12
12
android : layout_height =" ?attr/actionBarSize" >
13
- <include
14
- android : id =" @+id/toolbar"
15
- layout =" @layout/toolbar"
16
- android : layout_width =" match_parent"
17
- android : layout_height =" ?attr/actionBarSize" />
13
+ <include layout =" @layout/toolbar" />
18
14
</LinearLayout >
19
15
20
16
<RelativeLayout
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
- <androidx .appcompat.widget.Toolbar
3
- xmlns : android =" http://schemas.android.com/apk/res/android"
2
+ <androidx .appcompat.widget.Toolbar xmlns : android =" http://schemas.android.com/apk/res/android"
4
3
xmlns : app =" http://schemas.android.com/apk/res-auto"
5
4
android : id =" @+id/toolbar"
6
- android : layout_height =" wrap_content"
7
5
android : layout_width =" match_parent"
6
+ android : layout_height =" ?attr/actionBarSize"
7
+ android : background =" ?attr/colorPrimaryDark"
8
8
android : fitsSystemWindows =" true"
9
- android : minHeight =" ?attr/actionBarSize"
10
- app : theme =" @style/ThemeOverlay.AppCompat.Dark.ActionBar"
11
- android : background =" ?attr/colorPrimaryDark" >
12
-
13
- </androidx .appcompat.widget.Toolbar>
9
+ app : theme =" @style/ThemeOverlay.AppCompat.Dark.ActionBar" />
You can’t perform that action at this time.
0 commit comments