主题色修改
This commit is contained in:
@@ -212,8 +212,8 @@ public abstract class BaseActivity extends RxAppCompatActivity
|
||||
if (mTitleBar != null) {
|
||||
mTitleBar.setTitle(title);
|
||||
mTitleBar.setImmersive(false);
|
||||
mTitleBar.setTitleColor(getResources().getColor(R.color.white));
|
||||
mTitleBar.setLeftImageResource(R.drawable.arrow_left_white);
|
||||
mTitleBar.setTitleColor(getResources().getColor(R.color.text_title_white));
|
||||
mTitleBar.setLeftImageResource(R.drawable.arrow_left);
|
||||
mTitleBar.setCommonBackgroundColor(getResources().getColor(R.color.transparent));
|
||||
mTitleBar.setLeftClickListener(v -> onLeftClickListener());
|
||||
}
|
||||
|
@@ -38,7 +38,7 @@ public class TopMagicIndicatorAdapter extends CommonNavigatorAdapter {
|
||||
public IPagerTitleView getTitleView(Context context, final int i) {
|
||||
ScaleTransitionPagerTitleView scaleTransitionPagerTitleView = new ScaleTransitionPagerTitleView(context, false);
|
||||
scaleTransitionPagerTitleView.setNormalColor(ContextCompat.getColor(context,R.color.text_secondary_4f516a));
|
||||
scaleTransitionPagerTitleView.setSelectedColor(Color.WHITE);
|
||||
scaleTransitionPagerTitleView.setSelectedColor(ContextCompat.getColor(context,R.color.text_title_white));
|
||||
scaleTransitionPagerTitleView.setMinScale(0.75f);
|
||||
scaleTransitionPagerTitleView.setTextSize(21);
|
||||
scaleTransitionPagerTitleView.setText(mTitleList.get(i));
|
||||
|
@@ -48,7 +48,7 @@
|
||||
android:maxWidth="214dp"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textAppearance="@style/Toolbar.TitleText"
|
||||
android:visibility="gone"
|
||||
tools:text="孙行者123"
|
||||
|
@@ -16,7 +16,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:text="消息"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="21sp" />
|
||||
|
||||
<ImageView
|
||||
@@ -42,7 +42,7 @@
|
||||
android:drawableTop="@drawable/ic_msg_friend"
|
||||
android:gravity="center"
|
||||
android:text="好友"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
@@ -53,7 +53,7 @@
|
||||
android:drawableTop="@drawable/ic_msg_attention"
|
||||
android:gravity="center"
|
||||
android:text="关注"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<TextView
|
||||
@@ -64,7 +64,7 @@
|
||||
android:drawableTop="@drawable/ic_msg_fans"
|
||||
android:gravity="center"
|
||||
android:text="粉丝"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
|
||||
|
@@ -108,7 +108,7 @@
|
||||
android:ellipsize="end"
|
||||
android:maxLines="1"
|
||||
android:text="@{userInfo.nick}"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="@dimen/sp_16"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintHorizontal_bias="0"
|
||||
|
@@ -15,7 +15,7 @@
|
||||
app:tab_icon="@mipmap/ic_main_tab_game_home"
|
||||
app:tab_icon_select="@mipmap/ic_main_tab_game_pressed"
|
||||
app:tab_text="首页"
|
||||
app:tab_text_color_select="@color/app_248cfe"
|
||||
app:tab_text_color_select="@color/color_333333"
|
||||
app:tab_text_color="@color/main_tab_normal" />
|
||||
|
||||
<com.netease.nim.uikit.common.ui.draggablebubbles.BubbleView
|
||||
|
@@ -60,7 +60,7 @@
|
||||
android:maxWidth="95dp"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="15dp"
|
||||
tools:ignore="SpUsage"
|
||||
tools:text="你好啊啊啊啊啊啊啊啊" />
|
||||
|
@@ -553,31 +553,31 @@
|
||||
<!-- 音游UI规范 start-->
|
||||
|
||||
<!-- 主题色 -->
|
||||
<color name="app_248cfe">#248cfe</color>
|
||||
<color name="app_248cfe">#FFFFBC52</color>
|
||||
<!-- 页面背景色 -->
|
||||
<color name="bg_normal_1c1b22">#1C1B22</color>
|
||||
<color name="bg_normal_1c1b22">#FFF4F4FA</color>
|
||||
<!-- 页面次级背景 列表item背景色-->
|
||||
<color name="bg_secondary_2a2a39">#2A2A39</color>
|
||||
<color name="bg_secondary_2a2a39">#FFFFFFFF</color>
|
||||
<!-- 按钮不可点击背景颜色 -->
|
||||
<color name="bg_disable_303043">#303043</color>
|
||||
<color name="bg_disable_303043">#FFD2D5D7</color>
|
||||
<!-- 标题文字颜色 -->
|
||||
<color name="text_title_white">#FFFFFF</color>
|
||||
<color name="text_title_white">#FF333333</color>
|
||||
<!-- 常用文字颜色 -->
|
||||
<color name="text_normal_c6c6e9">#c6c6e9</color>
|
||||
<color name="text_normal_c6c6e9">#FF333333</color>
|
||||
<!-- 日期等次级文案 -->
|
||||
<color name="text_secondary_4f516a">#4F516A</color>
|
||||
<color name="text_secondary_4f516a">#B3333333</color>
|
||||
<!-- 输入框提示文字颜色 -->
|
||||
<color name="text_hint_555574">#555574</color>
|
||||
<color name="text_hint_555574">#B3333333</color>
|
||||
<!-- 分隔线颜色 -->
|
||||
<color name="line_353548">#353548</color>
|
||||
<color name="line_353548">#FFF4F4FA</color>
|
||||
<!-- 一般用于10xp或20xp的分隔线颜色 -->
|
||||
<color name="line_height_201F27">#201F27</color>
|
||||
<color name="line_height_201F27">#FFF4F4FA</color>
|
||||
<!-- 弹窗取消按钮文字颜色 -->
|
||||
<color name="color_4C5AF1">#4C5AF1</color>
|
||||
<color name="color_4C5AF1">#FFFFA936</color>
|
||||
<!-- 常用渐变按钮开始颜色 -->
|
||||
<color name="color_218eff">#218EFF</color>
|
||||
<color name="color_218eff">#FFFFA936</color>
|
||||
<!-- 常用渐变按钮结束颜色 -->
|
||||
<color name="color_7727e4">#7727E4</color>
|
||||
<color name="color_7727e4">#FFFFCB47</color>
|
||||
<!-- 首页tab未选中颜色 -->
|
||||
<color name="main_tab_normal">#66333333</color>
|
||||
|
||||
|
@@ -221,7 +221,7 @@
|
||||
android:paddingStart="10dp"
|
||||
android:paddingEnd="10dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="@dimen/sp_12"
|
||||
android:textStyle="bold"
|
||||
tools:text="话题名称话题名称话题名称话题名称话题名称话题名称" />
|
||||
|
@@ -13,7 +13,7 @@
|
||||
android:ellipsize="end"
|
||||
android:maxWidth="120dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/white"
|
||||
android:textColor="@color/text_title_white"
|
||||
android:textSize="@dimen/dp_15"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
|
BIN
nim_uikit/res/drawable-xhdpi/arrow_left.webp
Normal file
BIN
nim_uikit/res/drawable-xhdpi/arrow_left.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 234 B |
@@ -10,7 +10,7 @@ public class NimToolBarOptions extends ToolBarOptions {
|
||||
|
||||
public NimToolBarOptions() {
|
||||
//logoId = R.drawable.nim_actionbar_nest_dark_logo;
|
||||
navigateId = R.drawable.arrow_left_white;
|
||||
navigateId = R.drawable.arrow_left;
|
||||
titleString = "";
|
||||
isNeedNavigate = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user