News Show Notification on Sidebar
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,2H4c-1.1,0 -2,0.9 -2,2v18l4,-4h14c1.1,0 2,-0.9 2,-2V4c0,-1.1 -0.9,-2 -2,-2z"/>
|
||||
android:pathData="M20,2L4,2c-1.1,0 -2,0.9 -2,2v18l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM20,16L6,16l-2,2L4,4h16v12z"/>
|
||||
</vector>
|
||||
9
app/src/main/res/drawable/ic_sms_failed.xml
Normal file
9
app/src/main/res/drawable/ic_sms_failed.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M20,2L4,2c-1.1,0 -1.99,0.9 -1.99,2L2,22l4,-4h14c1.1,0 2,-0.9 2,-2L22,4c0,-1.1 -0.9,-2 -2,-2zM13,14h-2v-2h2v2zM13,10h-2L11,6h2v4z"/>
|
||||
</vector>
|
||||
21
app/src/main/res/drawable/rounded_blue_filled.xml
Normal file
21
app/src/main/res/drawable/rounded_blue_filled.xml
Normal file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<stroke
|
||||
android:width="4dp"
|
||||
android:color="@color/colorFUBlue" />
|
||||
|
||||
<solid
|
||||
android:color="@color/colorFUBlue"
|
||||
/>
|
||||
|
||||
<corners android:radius="360dp" />
|
||||
|
||||
<padding
|
||||
android:left="10dp"
|
||||
android:top="5dp"
|
||||
android:right="10dp"
|
||||
android:bottom="5dp">
|
||||
</padding>
|
||||
|
||||
</shape>
|
||||
15
app/src/main/res/layout/action_icon_number.xml
Normal file
15
app/src/main/res/layout/action_icon_number.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
<TextView
|
||||
android:id="@+id/number"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rounded_blue_filled"
|
||||
android:textColor="@color/colorFUWhite"
|
||||
tools:text="4"/>
|
||||
</LinearLayout>
|
||||
@@ -9,7 +9,7 @@
|
||||
android:orderInCategory="200" />
|
||||
<item
|
||||
android:id="@+id/nav_news"
|
||||
android:icon="@drawable/ic_chat_bubble"
|
||||
android:icon="@drawable/ic_chat_bubble_outline"
|
||||
android:title="@string/news"
|
||||
android:orderInCategory="400"/>
|
||||
</group>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
android:orderInCategory="300"/>
|
||||
<item
|
||||
android:id="@+id/nav_news"
|
||||
android:icon="@drawable/ic_chat_bubble"
|
||||
android:icon="@drawable/ic_chat_bubble_outline"
|
||||
android:title="@string/news"
|
||||
android:orderInCategory="400"/>
|
||||
</group>
|
||||
|
||||
@@ -12,7 +12,4 @@
|
||||
<item>employee</item>
|
||||
<item>other</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -6,4 +6,6 @@
|
||||
</string-array>
|
||||
<string name="pref_price_group" translatable="false">pref_price_group</string>
|
||||
<string name="pref_price_group_default" translatable="false">all</string>
|
||||
|
||||
<string name="pref_last_visited_news" translatable="false">pref_last_visited_news</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user