Navigation bar is live

This commit is contained in:
Pierre HUBERT
2018-08-21 11:36:53 +02:00
parent d910565021
commit 52512b2343
6 changed files with 128 additions and 31 deletions

View File

@ -5,6 +5,7 @@
android:orientation="vertical">
<org.communiquons.android.comunic.client.ui.views.NavigationBar
android:id="@+id/nav_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content" />

View File

@ -4,9 +4,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:tools="http://schemas.android.com/tools"
android:background="@drawable/navbar_item_ripple_effect"
android:clickable="true"
android:focusable="true">
android:background="@drawable/navbar_item_ripple_effect">
<ImageView
android:id="@+id/icon"

View File

@ -12,8 +12,11 @@
<color name="default_drawable_color">#000000</color>
<!-- Navigation bar -->
<color name="navbar_default">#FFFFFF</color>
<color name="navbar_selected">@color/colorPrimary</color>
<color name="navbar_fg_default">#FFFFFF</color>
<color name="navbar_fg_selected">@color/colorPrimary</color>
<color name="navbar_bg_default">@color/colorPrimary</color>
<color name="navbar_bg_selected">#FFFFFF</color>
<!-- Conversation messages -->
<color name="conversation_user_messages_background">#3F51B5</color>