/
toolbar.xml
43 lines (38 loc) · 1.49 KB
/
toolbar.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/toolbar_layout"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorPrimary"
android:elevation="2dp"
android:fitsSystemWindows="true"
android:orientation="vertical">
<FrameLayout
android:id="@+id/tabs_toolbar_container"
android:layout_width="match_parent"
android:layout_height="30dp"/>
<android.support.v7.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:paddingBottom="0dp"
android:paddingLeft="0dp"
android:paddingRight="0dp"
android:paddingTop="2dp"
custom:contentInsetEnd="0dp"
custom:contentInsetStart="0dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/progressBackgroundColor">
<com.anthonycr.progress.AnimatedProgressBar
android:id="@+id/progress_view"
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="@android:color/transparent"
custom:bidirectionalAnimate="false"
custom:progressColor="?attr/colorAccent"/>
</LinearLayout>
</LinearLayout>