Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8181969
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T00:42:05+00:00 2026-06-07T00:42:05+00:00

I want to create a layout for an Android app that has a numeric

  • 0

I want to create a layout for an Android app that has a numeric keypad and takes four digits to determine if it matches a preset passcode value.

I have seen a few applications use this, so I would have thought that it was a high level widget of some description.

The only thing I can find that’s remotely close to what I want is this:

<EditText
    android:id="@+id/editText1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:ems="10"
    android:inputType="numberPassword" >

    <requestFocus />
</EditText>

But this isn’t really what I’m looking for.

Any input would be awesome and thanks in advance.

EDIT: Here’s an image of the iOS dropbox app start screen that I’d like:

Dropbox iOS passcode screen

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T00:42:07+00:00Added an answer on June 7, 2026 at 12:42 am

    In the end I created multiple custom widgets.

    There is a Keypad widget. It inherits from TableLayout and has four rows of three buttons. Each button modifies a String – either adding digits or removing them.

    Another widget I added was called PINEntry. It takes a single int to specify how many digits have been entered and displays that information accordingly.

    I use these two widgets together in another View to recreate the passcode screen.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am totally green in android. And I want to create App that gets
I want to create a layout in such a way that on top edittext
I want to create a multicolumn layout in html that will run from left
I have a free android app that I want to now distribute as free
I'm making Android app that has this database in it: public void onCreate(SQLiteDatabase db)
Ok so I have a simple Android app that I want it to go
Okay, so i am making an android app that has tabs, now my problem
I am trying to create an app that has a scroll view filled with
I want to create a Button otherthan creating it from xml layout.i want to
I've got a problem with my page's layout. I want to create 3 table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.