Fix #151 recoloring bottom menu, slightly smaller text size

This commit is contained in:
AndyScherzinger 2018-04-30 12:31:16 +02:00
parent f23d734655
commit 36335d00de
No known key found for this signature in database
GPG Key ID: 6CADC7E3523C308B
4 changed files with 4 additions and 7 deletions

View File

@ -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);

View File

@ -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() {

View File

@ -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" />

View File

@ -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>