display notification bell icon beside URL bar
This commit is contained in:
parent
3738f3af21
commit
2be098e1a6
6 changed files with 25 additions and 0 deletions
11
app/src/main/res/drawable-anydpi/ic_notifications.xml
Normal file
11
app/src/main/res/drawable-anydpi/ic_notifications.xml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24"
|
||||||
|
android:viewportHeight="24"
|
||||||
|
android:tint="#FFFFFF"
|
||||||
|
android:alpha="0.8">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"/>
|
||||||
|
</vector>
|
BIN
app/src/main/res/drawable-hdpi/ic_notifications.png
Normal file
BIN
app/src/main/res/drawable-hdpi/ic_notifications.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 273 B |
BIN
app/src/main/res/drawable-mdpi/ic_notifications.png
Normal file
BIN
app/src/main/res/drawable-mdpi/ic_notifications.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 203 B |
BIN
app/src/main/res/drawable-xhdpi/ic_notifications.png
Normal file
BIN
app/src/main/res/drawable-xhdpi/ic_notifications.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 333 B |
BIN
app/src/main/res/drawable-xxhdpi/ic_notifications.png
Normal file
BIN
app/src/main/res/drawable-xxhdpi/ic_notifications.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 477 B |
|
@ -61,6 +61,20 @@
|
||||||
android:src="@drawable/ic_close"
|
android:src="@drawable/ic_close"
|
||||||
android:tint="@color/actionBarForeground" />
|
android:tint="@color/actionBarForeground" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/wunderbar_notifications"
|
||||||
|
android:clickable="true"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_alignParentRight="true"
|
||||||
|
android:layout_centerVertical="true">
|
||||||
|
<ImageView
|
||||||
|
android:layout_width="24dp"
|
||||||
|
android:layout_height="24dp"
|
||||||
|
android:src="@drawable/ic_notifications"
|
||||||
|
android:tint="@color/actionBarForeground" />
|
||||||
|
</LinearLayout>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
</androidx.appcompat.widget.Toolbar>
|
</androidx.appcompat.widget.Toolbar>
|
||||||
</com.google.android.material.appbar.AppBarLayout>
|
</com.google.android.material.appbar.AppBarLayout>
|
||||||
|
|
Loading…
Reference in a new issue