fix [修复]
This commit is contained in:
@@ -114,6 +114,7 @@ public class CommunityDetailsActivity extends AbsActivity {
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
setTitle(getResources().getString(com.yunbao.main.R.string.comm_details));
|
||||
liveStatus = findViewById(R.id.liveStatus);
|
||||
videoLayout = findViewById(R.id.videoLayout);
|
||||
send = findViewById(R.id.send);
|
||||
|
||||
@@ -69,6 +69,7 @@ import com.yunbao.common.utils.RouteUtil;
|
||||
import com.yunbao.common.utils.StringUtil;
|
||||
import com.yunbao.common.utils.ToastUtil;
|
||||
import com.yunbao.common.utils.WordUtil;
|
||||
import com.yunbao.common.views.GradientDrawable;
|
||||
import com.yunbao.common.views.UserHomeImgsViewHolder;
|
||||
import com.yunbao.live.activity.LiveRyAnchorActivity;
|
||||
import com.yunbao.live.dialog.GiftWallDialog;
|
||||
@@ -163,6 +164,7 @@ public class UserHomeActivity extends AbsActivity {
|
||||
private Map<String, String> gotoRoomKey = new HashMap<>();
|
||||
private TextView authorNum;
|
||||
private TextView levelNum;
|
||||
private View top_bg;
|
||||
|
||||
@Override
|
||||
protected int getLayoutId() {
|
||||
@@ -358,7 +360,7 @@ public class UserHomeActivity extends AbsActivity {
|
||||
myFlowTag.setTagCheckedMode(FlowTagLayout.FLOW_TAG_CHECKED_NONE);
|
||||
myAdapter.setData(tagList);
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
if (userInfo.getUserHomeTopInfo().getCn_label().size() > 0) {
|
||||
for (int i = 0; i < userInfo.getUserHomeTopInfo().getEn_label().size(); i++) {
|
||||
if (!StringUtil.isEmpty(userInfo.getUserHomeTopInfo().getEn_label().get(i))) {
|
||||
@@ -496,6 +498,9 @@ public class UserHomeActivity extends AbsActivity {
|
||||
}
|
||||
|
||||
private void initView() {
|
||||
top_bg = findViewById(R.id.top_bg);
|
||||
GradientDrawable gradientDrawable = new GradientDrawable(Color.TRANSPARENT, Color.GRAY);
|
||||
top_bg.setBackground(gradientDrawable);
|
||||
authorNum = findViewById(R.id.authorlNum);
|
||||
levelNum = findViewById(R.id.levelNum);
|
||||
fanName = findViewById(R.id.fanName);
|
||||
|
||||
@@ -63,10 +63,10 @@ public abstract class AbsMainHomeParentComViewHolder extends AbsMainViewHolder {
|
||||
for (int i = 0; i < simplePagerTitleViewList.size(); i++) {
|
||||
if (index == i) {
|
||||
simplePagerTitleViewList.get(i).setVisibility(View.VISIBLE);
|
||||
textViewList.get(i).setTextSize(20);
|
||||
textViewList.get(i).setTextSize(22);
|
||||
} else {
|
||||
simplePagerTitleViewList.get(i).setVisibility(View.INVISIBLE);
|
||||
textViewList.get(i).setTextSize(18);
|
||||
textViewList.get(i).setTextSize(16);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -168,7 +168,7 @@ public abstract class AbsMainHomeParentComViewHolder extends AbsMainViewHolder {
|
||||
if (index == 3) {
|
||||
return;
|
||||
}
|
||||
titleText.setTextSize(20);
|
||||
titleText.setTextSize(22);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -176,7 +176,7 @@ public abstract class AbsMainHomeParentComViewHolder extends AbsMainViewHolder {
|
||||
if (index == 3) {
|
||||
return;
|
||||
}
|
||||
titleText.setTextSize(18);
|
||||
titleText.setTextSize(16);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
android:id="@+id/mainSlideMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/white"
|
||||
android:background="#F7F7F7"
|
||||
app:contentAlpha="0.5"
|
||||
app:contentToggle="true"
|
||||
app:slideMode="left"
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
<com.yunbao.common.custom.MyViewPager
|
||||
android:id="@+id/viewPager"
|
||||
android:background="@mipmap/bg_main_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:canScroll="false" />
|
||||
@@ -47,7 +48,7 @@
|
||||
android:layout_weight="1"
|
||||
app:tbn_checked="true"
|
||||
app:tbn_icon_array_id="@array/main_tab_home"
|
||||
app:tbn_icon_size="28dp"
|
||||
app:tbn_icon_size="25dp"
|
||||
app:tbn_text_color_checked="@color/colorMainTab"
|
||||
app:tbn_text_color_unchecked="@color/gray1"
|
||||
app:tbn_text_size="11sp"
|
||||
@@ -59,7 +60,7 @@
|
||||
android:layout_marginRight="60dp"
|
||||
android:layout_weight="1"
|
||||
app:tbn_icon_array_id="@array/main_tab_video"
|
||||
app:tbn_icon_size="28dp"
|
||||
app:tbn_icon_size="25dp"
|
||||
app:tbn_text_color_checked="@color/colorMainTab"
|
||||
app:tbn_text_color_unchecked="@color/gray1"
|
||||
app:tbn_text_size="11sp"
|
||||
@@ -70,7 +71,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
app:tbn_icon_array_id="@array/main_tab_list"
|
||||
app:tbn_icon_size="28dp"
|
||||
app:tbn_icon_size="25dp"
|
||||
app:tbn_text_color_checked="@color/colorMainTab"
|
||||
app:tbn_text_color_unchecked="@color/gray1"
|
||||
app:tbn_text_size="11sp"
|
||||
@@ -81,7 +82,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
app:tbn_icon_array_id="@array/main_tab_chat"
|
||||
app:tbn_icon_size="28dp"
|
||||
app:tbn_icon_size="25dp"
|
||||
app:tbn_text_color_checked="@color/colorMainTab"
|
||||
app:tbn_text_color_unchecked="@color/gray1"
|
||||
app:tbn_text_size="11sp"
|
||||
|
||||
@@ -43,13 +43,13 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_toRightOf="@+id/indicator"
|
||||
android:gravity="center"
|
||||
android:paddingTop="1dp"
|
||||
android:text="@string/main_type_theater"
|
||||
android:textColor="@color/black1"
|
||||
android:textSize="18dp"
|
||||
android:textSize="16dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
Reference in New Issue
Block a user