在 Android Jellybean Andoid 4.2 中使用三个按钮进行警报对话

问题描述 投票:0回答:1

如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框 ??

设计和编码部分具有单独的文件。 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话框? 如何在 Jellybean Android 4.2 版本的 Android Studio 中使用三个按钮创建警报对话 ??

android
1个回答
0
投票
Design: 
<?xml version="1.0" encoding="utf-8"?> 
<androidx.constraintlayout.widget.ConstraintLayout 
xmlns:android="http://schemas.android.com/apk/res/android" 
    xmlns:app="http://schemas.android.com/apk/res-auto" 
    xmlns:tools="http://schemas.android.com/tools" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent" 
    tools:context=".MainActivity"> 
 
 
    <TextView 
        android:layout_width="wrap_content" 
        android:layout_height="wrap_content" 
        android:text="Hello World!" 
        app:layout_constraintBottom_toBottomOf="parent" 
        app:layout_constraintEnd_toEndOf="parent" 
        app:layout_constraintStart_toStartOf="parent" 
        app:layout_constraintTop_toTopOf="parent" /> 
 
</androidx.constraintlayout.widget.ConstraintLayout>
© www.soinside.com 2019 - 2024. All rights reserved.