فهرست منبع

Fix #151 recoloring bottom menu, slightly smaller text size

AndyScherzinger 7 سال پیش
والد
کامیت
36335d00de

+ 1 - 1
app/src/main/java/com/nextcloud/talk/adapters/items/MenuItem.java

@@ -85,7 +85,7 @@ public class MenuItem extends AbstractFlexibleItem<MenuItem.MenuItemViewHolder>
             Spannable spannableString = new SpannableString(NextcloudTalkApplication.getSharedApplication()
                     .getString(R.string.nc_what));
             spannableString.setSpan(new ForegroundColorSpan(NextcloudTalkApplication.getSharedApplication()
-                            .getResources().getColor(R.color.colorPrimary)), 0,
+                            .getResources().getColor(R.color.grey_600)), 0,
                     spannableString.length(),
                     Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
             holder.menuTitle.setText(spannableString);

+ 0 - 5
app/src/main/java/com/nextcloud/talk/controllers/bottomsheet/CallMenuController.java

@@ -111,11 +111,6 @@ public class CallMenuController extends BaseController implements FlexibleAdapte
 
         adapter.addListener(this);
         recyclerView.setAdapter(adapter);
-
-        recyclerView.addItemDecoration(new DividerItemDecoration(
-                recyclerView.getContext(),
-                layoutManager.getOrientation()
-        ));
     }
 
     private void prepareIntent() {

+ 2 - 1
app/src/main/res/layout/rv_item_menu.xml

@@ -34,7 +34,8 @@
         android:focusable="false"
         android:focusableInTouchMode="false"
         android:gravity="center_vertical"
-        android:textSize="18sp"
+        android:textSize="16sp"
+        android:textColor="@color/black"
         tools:drawableLeft="@drawable/ic_add_grey600_24px"
         tools:drawablePadding="16dp"
         tools:text="Start a new conversation" />

+ 1 - 0
app/src/main/res/values/colors.xml

@@ -11,5 +11,6 @@
     <color name="nc_light_blue_color">#7FC0E3</color>
     <color name="nc_material_yellow">#FFEB3B</color>
     <color name="nc_light_grey">#E8E8E8</color>
+    <color name="grey_600">#757575</color>
 </resources>