-
Notifications
You must be signed in to change notification settings - Fork 0
/
AppBarLayout.xml
36 lines (30 loc) · 1.29 KB
/
AppBarLayout.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
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:theme="@style/AppTheme.AppBarOverlay"
android:background="@android:color/transparent"
app:elevation="0dp">
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_marginTop="4dp"
android:layout_marginRight="4dp"
android:layout_marginLeft="4dp"
android:background="@drawable/bg_actionbar"
app:popupTheme="@style/AppTheme.PopupOverlay">
<ImageView
android:id="@+id/image"
android:layout_width="100dp"
android:layout_height="30dp"
android:background="@drawable/image" />
</androidx.appcompat.widget.Toolbar>
</com.google.android.material.appbar.AppBarLayout>
<style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="rectangle"
xmlns:android="http://schemas.android.com/apk/res/android" >
<solid android:color="#E9ECF2" />
<corners android:radius="16dp" />
</shape>