d
This commit is contained in:
@@ -7,6 +7,9 @@ import android.widget.ImageView;
|
|||||||
import android.widget.RelativeLayout;
|
import android.widget.RelativeLayout;
|
||||||
|
|
||||||
import com.cutil.ScreenUtils;
|
import com.cutil.ScreenUtils;
|
||||||
|
import com.sl.house_property.f2.FeeActivity;
|
||||||
|
|
||||||
|
import tools.Config;
|
||||||
|
|
||||||
|
|
||||||
public class LogoActivity extends Activity{
|
public class LogoActivity extends Activity{
|
||||||
@@ -29,7 +32,13 @@ public class LogoActivity extends Activity{
|
|||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
finish();
|
finish();
|
||||||
|
if( (Config.getInstance(LogoActivity.this).getUser()==null)){
|
||||||
|
Intent intent =new Intent(LogoActivity.this,LoginActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
|
}else {
|
||||||
startActivity( new Intent(LogoActivity.this, MainTabActivity.class));
|
startActivity( new Intent(LogoActivity.this, MainTabActivity.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},delaytime);
|
},delaytime);
|
||||||
|
|||||||
@@ -126,6 +126,12 @@ public class Main4Fragment extends BaseFragment<FragmentMain4Binding> implements
|
|||||||
WebActivitytwo.runActivity(getActivity(), "", "https://wy.dou1.net/articlemobile/index/detail?article_id=19");
|
WebActivitytwo.runActivity(getActivity(), "", "https://wy.dou1.net/articlemobile/index/detail?article_id=19");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
mDataBinding.ll6.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View view) {
|
||||||
|
WebActivitytwo.runActivity(getActivity(), "", "https://wy.dou1.net/articlemobile/index/detail?article_id=1");
|
||||||
|
}
|
||||||
|
});
|
||||||
//mDataBinding.myRecyView;
|
//mDataBinding.myRecyView;
|
||||||
mDataBinding.userImage.setOnClickListener(new View.OnClickListener() {
|
mDataBinding.userImage.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -77,8 +77,9 @@ public class SettingActivity extends BaseActivity<ActivitySettingBinding> implem
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
break;
|
break;
|
||||||
case R.id.id3:
|
case R.id.id3:
|
||||||
intent = new Intent(SettingActivity.this, AboutusActivity.class);
|
// intent = new Intent(SettingActivity.this, AboutusActivity.class);
|
||||||
startActivity(intent);
|
// startActivity(intent);
|
||||||
|
WebActivitytwo.runActivity(SettingActivity.this, "关于我们", "https://wy.dou1.net/articlemobile/index/detail?article_id=3");
|
||||||
break;
|
break;
|
||||||
case R.id.id2:
|
case R.id.id2:
|
||||||
intent = new Intent(SettingActivity.this, AdeviseActivity.class);
|
intent = new Intent(SettingActivity.this, AdeviseActivity.class);
|
||||||
|
|||||||
@@ -159,7 +159,7 @@
|
|||||||
android:id="@+id/agreewhitemeg"
|
android:id="@+id/agreewhitemeg"
|
||||||
android:button="@drawable/checkbox_style"
|
android:button="@drawable/checkbox_style"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:checked="true"
|
android:checked="false"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
android:id="@+id/agreewhitemegy"
|
android:id="@+id/agreewhitemegy"
|
||||||
android:button="@drawable/checkbox_style"
|
android:button="@drawable/checkbox_style"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:checked="true"
|
android:checked="false"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
<TextView
|
<TextView
|
||||||
android:layout_marginStart="10dp"
|
android:layout_marginStart="10dp"
|
||||||
|
|||||||
@@ -291,6 +291,47 @@
|
|||||||
android:layout_height="1dp"
|
android:layout_height="1dp"
|
||||||
|
|
||||||
|
|
||||||
|
android:background="@color/light" />
|
||||||
|
<LinearLayout
|
||||||
|
android:id="@+id/ll_6"
|
||||||
|
android:background="@color/white"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:layout_height="50dp">
|
||||||
|
<ImageView
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:src="@mipmap/fangchan"
|
||||||
|
/>
|
||||||
|
<TextView
|
||||||
|
|
||||||
|
android:layout_marginLeft="16dp"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center_vertical"
|
||||||
|
android:textSize="16sp"
|
||||||
|
android:textColor="#000"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:text="用户协议"
|
||||||
|
|
||||||
|
/>
|
||||||
|
<ImageView
|
||||||
|
android:layout_marginRight="16dp"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
|
android:layout_width="15dp"
|
||||||
|
android:layout_height="15dp"
|
||||||
|
android:src="@mipmap/returnme"
|
||||||
|
|
||||||
|
/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dp"
|
||||||
|
|
||||||
|
|
||||||
android:background="@color/light" />
|
android:background="@color/light" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
|||||||
Reference in New Issue
Block a user