mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-10 22:34:15 +01:00
Fix #151 recoloring bottom menu, slightly smaller text size
This commit is contained in:
parent
f23d734655
commit
36335d00de
@ -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);
|
||||
|
@ -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() {
|
||||
|
@ -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" />
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user