默认头像修改,隐藏第三方登录
This commit is contained in:
@@ -101,8 +101,10 @@ public abstract class BaseLoginAct extends BaseActivity {
|
||||
public void accept(LoginTipsInfo loginTipsInfo, Throwable throwable) throws Exception {
|
||||
if (throwable == null) {
|
||||
showTvDesc(loginTipsInfo.getTips());
|
||||
showTvLoginTip(loginTipsInfo.isShowWechat() || loginTipsInfo.isShowQq());
|
||||
showThirdPartLogin(loginTipsInfo.isShowWechat(), loginTipsInfo.isShowQq(), loginTipsInfo.isShowOneClick());
|
||||
showTvLoginTip(false);
|
||||
showThirdPartLogin(false, false, true);
|
||||
//showTvLoginTip(loginTipsInfo.isShowWechat() || loginTipsInfo.isShowQq());
|
||||
//showThirdPartLogin(loginTipsInfo.isShowWechat(), loginTipsInfo.isShowQq(), loginTipsInfo.isShowOneClick());
|
||||
} else {
|
||||
showTvLoginTip(false);
|
||||
showThirdPartLogin(false, false, false);
|
||||
|
@@ -52,7 +52,7 @@ public class AddUserInfoFragment extends BaseFragment
|
||||
private int gender = -1;
|
||||
private XRadioGroup rgGender;
|
||||
private RadioButton rbMale;
|
||||
private String avatarUrl = "https://image.lecheng163.com/yinyou_default_avatar.png";
|
||||
private String avatarUrl = "https://image.nnbc123.cn/default_avatar.png";
|
||||
|
||||
public static String INVITE_USER_CODE = "";
|
||||
|
||||
|
@@ -383,7 +383,8 @@
|
||||
android:layout_height="50dp"
|
||||
android:clickable="true"
|
||||
android:focusable="true"
|
||||
android:onClick="@{click}">
|
||||
android:onClick="@{click}"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
|
@@ -41,7 +41,7 @@
|
||||
android:paddingBottom="@dimen/dp_10"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<com.nnbc123.library.widget.DrawableCenterTextView
|
||||
<TextView
|
||||
android:id="@+id/tv_search"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="32dp"
|
||||
@@ -52,8 +52,9 @@
|
||||
android:background="@drawable/shape_room_temp"
|
||||
android:drawableStart="@mipmap/ic_search_main"
|
||||
android:drawablePadding="6dp"
|
||||
android:gravity="center"
|
||||
android:gravity="center_vertical"
|
||||
android:onClick="@{click}"
|
||||
android:paddingStart="13dp"
|
||||
android:text="搜索房间/昵称/ID"
|
||||
android:textColor="#9EB5C5"
|
||||
android:textSize="12sp" />
|
||||
|
Reference in New Issue
Block a user