Compare commits
1 Commits
main
...
feature/pa
Author | SHA1 | Date | |
---|---|---|---|
64bea7bc14 |
|
@ -102,6 +102,11 @@ public class ChildLoginActivity extends AppCompatActivity {
|
|||
startActivity(new Intent(this, MainActivity.class));
|
||||
});
|
||||
});
|
||||
|
||||
// 親ログインボタンを押したときの処理
|
||||
findViewById(R.id.toParentLoginButton).setOnClickListener(v -> {
|
||||
finish();
|
||||
});
|
||||
}
|
||||
|
||||
private String getLoginCode() {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintBottom_toTopOf="@+id/toParentLoginButton"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
@ -157,4 +157,21 @@
|
|||
app:layout_constraintTop_toBottomOf="@+id/inputContainer" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/toParentLoginButton"
|
||||
style="@style/Widget.Material3.Button.TextButton"
|
||||
android:layout_width="200dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="12dp"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_weight="1"
|
||||
android:padding="0dp"
|
||||
android:paddingLeft="0dp"
|
||||
android:paddingTop="0dp"
|
||||
android:text="親ログイン"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"/>
|
||||
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in New Issue
Block a user