GenAuth DocsDocuments
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Concepts
User Guide
Development Integration
AgentAuth
Metadata
Development Integration
Multi-tenant (beta)
Console Documentation
Multi-tenant Console
Tenant Console
Saas Application Demo
Old version
  • Single Page Web Application

  • Mobile and Client Applications

    • Android

      • Quick Start
      • Hosted Pages
      • Components

        • Tutorial

        • Basic Components

          • App Logo
          • App Name
          • Account Input Box
          • Password Input Box
          • Password Confirmation Input Box
          • Phone Number Input Box
          • Verification Code Input Box
          • Get SMS Code Button
          • Email Input Box
          • Get Email Code Button
          • Login Button
          • Error Text
          • Login Method Tab
          • Login Container
          • Privacy Agreement
          • Register Button
          • Register Method Tab
          • Register Container
          • Go to Register Button
          • Go to Login Button
          • Go to Forgot Password Button
          • Go to Feedback Button
        • Social Components

      • APIs

      • Social Login

      • Typical Scenarios

      • Private Deployment
      • Version History
    • C#

    • Flutter

    • iOS

    • React Native
  • Standard Web Application

  • Framework Integration

  • Others

  1. Development Integration
  2. /
  3. Mobile and Client Applications
  4. /
  5. Android
  6. /
  7. Components
  8. /
  9. Basic Components

  10. /
  11. Password Confirmation Input Box

¶ PasswordConfirmEditText

Update time: 2025-07-23 07:34:21
Edit

此组件此组件为辅助类型控件,和 PasswordEditText 搭配使用,errorEnabled 属性控制是否显示错误信息。

常用场景:注册、重置密码

功能:功能和 PasswordEditText 一致以外,多了校验和密码输入框输入的密码是否一致功能

¶ 示例

drawing

¶ 创建

放置一个 PasswordConfirmEditText

<cn.authing.guard.PasswordConfirmEditText
    android:id="@+id/password_confirm"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/authing_edit_text_layout_background"
    app:clearAllEnabled="false"
    app:errorEnabled="true"
    android:layout_marginStart="24dp"
    android:layout_marginEnd="24dp"
    app:layout_constraintStart_toStartOf="parent"
    app:layout_constraintTop_toBottomOf="@+id/password"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintBottom_toBottomOf="parent"/>

Previous article: Password Input Box Next article: Phone Number Input Box
  • 示例
  • 创建

User identity management

Integrated third-party login
Customized authentication process

Enterprise internal management

Single sign-on
Multi-factor authentication
Permission management

Developer

Development Documentation
GitHub (opens new window)

Company

official@genauth.ai
16th Floor, Building B, Beichen Century Center, Chaoyang District, Beijing (Total)
Room 406, 4th Floor, Block B, No. 200, Tianfu Fifth Street, High-tech Zone, Chengdu (Branch)

© Beijing Steamory Technology Co., Ltd.