整体的完善
This commit is contained in:
parent
a5197bffd2
commit
ab72f6a242
|
@ -23,6 +23,7 @@ public class Abouterweima extends AppCompatActivity {
|
|||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Abouterweima.this, Shouye.class);
|
||||
intent.putExtra("id",2);
|
||||
intent.putExtra("isLogin",true);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -30,7 +30,7 @@ public class BoxEditText extends AppCompatEditText {
|
|||
paint.setColor(Color.GRAY); // 分隔线颜色
|
||||
paint.setStyle(Paint.Style.FILL);
|
||||
boxSize = getResources().getDimensionPixelSize(R.dimen.box_size); // 格子大小
|
||||
gridSize = 6; // 假设我们需要6个格子
|
||||
gridSize = 6; //格子个数
|
||||
currentTextLength = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -24,6 +24,7 @@ public class BuySuscuss extends AppCompatActivity {
|
|||
public void onClick(View v) {
|
||||
Intent intent = new Intent(BuySuscuss.this, Shouye.class);
|
||||
intent.putExtra("id",3);
|
||||
intent.putExtra("isLogin",true);
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
|
@ -35,6 +36,7 @@ public class BuySuscuss extends AppCompatActivity {
|
|||
public void onClick(View v) {
|
||||
Intent intent = new Intent(BuySuscuss.this, Shouye.class);
|
||||
intent.putExtra("id",3);
|
||||
intent.putExtra("isLogin",true);
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
|
|
|
@ -80,6 +80,7 @@ public class ChooseLine extends AppCompatActivity {
|
|||
filterStationList("");
|
||||
}
|
||||
});
|
||||
//搜索框
|
||||
searchEditText.addTextChangedListener(new TextWatcher() {
|
||||
@Override
|
||||
public void beforeTextChanged(CharSequence s, int start, int count, int after) {
|
||||
|
|
|
@ -11,9 +11,6 @@ public class MainActivity extends AppCompatActivity {
|
|||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
Intent intent = new Intent(MainActivity.this, Shouye.class);
|
||||
// Intent intent = new Intent(MainActivity.this,FinacialLife.class);
|
||||
// Intent intent = new Intent(MainActivity.this,Hudong.class);
|
||||
// Intent intent = new Intent(MainActivity.this,TakeSubway.class);
|
||||
startActivity(intent);
|
||||
setContentView(R.layout.activity_main);
|
||||
}
|
||||
|
|
|
@ -78,6 +78,7 @@ public class Password_enter extends AppCompatActivity {
|
|||
public void onClick(View v) {
|
||||
Intent intent = new Intent(Password_enter.this, Shouye.class);
|
||||
intent.putExtra("id",1);
|
||||
intent.putExtra("isLogin",false);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -80,6 +80,7 @@ public class SetActivity extends AppCompatActivity {
|
|||
public void onClick(View v) {
|
||||
Intent intent = new Intent(SetActivity.this, Shouye.class);
|
||||
intent.putExtra("id",1);
|
||||
intent.putExtra("isLogin",false);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
|
|
@ -265,6 +265,7 @@
|
|||
android:visibility="gone"
|
||||
app:layout_constraintTop_toBottomOf="@+id/textView65"
|
||||
app:layout_constraintBottom_toBottomOf="parent" />
|
||||
|
||||
<androidx.cardview.widget.CardView
|
||||
android:id="@+id/queding"
|
||||
android:layout_width="match_parent"
|
||||
|
|
Loading…
Reference in New Issue