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 7656233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:42:52+00:00 2026-05-31T12:42:52+00:00

The android lockscreen widget that use 2 buttons that we can swipe from right

  • 0

The android lockscreen widget that use 2 buttons that we can swipe from right to left or left to right is really cool!

Unfortunately, that’s not a public one, it his hidden in android.internal stuff…

I really would like to use it and tried to use the same source code than Android: http://www.devdaily.com/java/jwarehouse/android/core/java/com/android/internal/widget/RotarySelector.java.shtml

Unfortunately, a lot of things are related to internal and some variables (mRight) cannot be found and are not declared.

Also I am missing 2 files:
R.styleable.RotarySelector and R.styleable.RotarySelector_orientation

I cannot believe nobody succeed to use this cool stuff!

Any idea or link to follow?

  • 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-05-31T12:42:53+00:00Added an answer on May 31, 2026 at 12:42 pm

    I’m currently porting ICS NumberPicker and it took me a while to realize where mRight, mLeft… where coming from.. they come from View (which is like 3 classes up in the hierarchy).

    To get those values you can use their corresponding public methods:

    • getRight()
    • getLeft()
    • getTop()
    • getBottom()
    • getHeight()
    • getWidth()
    • getContext()

    As for R stuff check the source, you may need values from attr.xml, styles.xml and themes.xml

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

Sidebar

Related Questions

Android comes with lots of system resources ( android.R ) that can be used
Can Android OS that is installed on actual devices be emulated in VMWare or
Android - What is the maximum file size that setMaxFileSize can be set to
I use OpenGL in LockScreen in android 2.2. When the device run in LockScreen,
Android is based on Linux; can native Linux applications be run on Android?
Is Android development restrictive in any way like the iPhone , or can you
When android unbind a service I created (service.MyService), I see the following DeadObjectException. Can
Android applications can specify intent-priority. How does android handle security situation such as following.
Android Market app purchases have a 15-min grace period when a customer can cancel
ANDROID: Wanted to know whether is there any API or workaround to know that

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.