调整礼物墙tab
This commit is contained in:
parent
8cae89e7cd
commit
9c38f40098
@ -23,6 +23,7 @@ import com.yunbao.common.fragment.GiftWallMainTab1Fragment;
|
||||
import com.yunbao.common.fragment.GiftWallMainTab2Fragment;
|
||||
import com.yunbao.common.utils.DpUtil;
|
||||
import com.yunbao.common.utils.ScreenDimenUtil;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.common.views.CustomEllipsizeTextView;
|
||||
import com.yunbao.common.views.weight.ViewClicksAntiShake;
|
||||
|
||||
@ -118,12 +119,16 @@ public class GiftWallDialog extends AbsDialogPopupWindow {
|
||||
|
||||
mIvBg.setImageResource(R.mipmap.bg_gift_wall_main_root2);
|
||||
mIvTabsLayout.setBackgroundResource(R.mipmap.icon_gift_wall_main_switch_full);
|
||||
mTvTab1.setTextColor(Color.parseColor("#FFFFFF"));
|
||||
mTvTab1.setTextColor(Color.parseColor("#FDF5EE"));
|
||||
mTvTab1.setTextSize(14);
|
||||
mTvTab1.setTypeface(Typeface.defaultFromStyle(Typeface.NORMAL));
|
||||
|
||||
mTvTab2.setTextColor(Color.parseColor("#FFC593"));
|
||||
mTvTab2.setTextSize(16);
|
||||
if(WordUtil.isNewZh()) {
|
||||
mTvTab2.setTextSize(16);
|
||||
}else{
|
||||
mTvTab2.setTextSize(14.5f);
|
||||
}
|
||||
mTvTab2.setTypeface(Typeface.defaultFromStyle(Typeface.BOLD));
|
||||
mViewPager.setCurrentItem(1,false);
|
||||
});
|
||||
|
@ -77,7 +77,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tab_layout"
|
||||
android:layout_width="205dp"
|
||||
android:layout_width="240dp"
|
||||
android:layout_height="36dp"
|
||||
android:layout_marginTop="13dp"
|
||||
android:background="@mipmap/icon_gift_wall_main_switch_main"
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 48 KiB |
Loading…
Reference in New Issue
Block a user