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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:35:39+00:00 2026-05-30T07:35:39+00:00

How to do that? I have AnalogClock on my xml. And I want drawable

  • 0

How to do that?

I have AnalogClock on my xml. And I want drawable for the android:dial to change programatically.

I tried

remoteviews.setImageViewResource(R.id.AnalogClock, R.drawable.w0);

or

remoteviews.setInt(R.id.AnalogClock, "setDialResource", R.drawable.w0);

Both can not accomplish it.
Anyone manage to do this?

  • 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-30T07:35:40+00:00Added an answer on May 30, 2026 at 7:35 am

    Finally make it works.
    I put transparent image on AnalogClock android:dial
    Then use FrameLayout to overlay ImageView and AnalogClock.

    Then use

    remoteviews.setInt(R.id.ImageView, “setBackgroundResource”,
    R.drawable.w0);

    to change the ImageView image.
    It is feasible solution at the moment.

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

Sidebar

Related Questions

I have multiple images that have the same class attribute and I want to
I have an object that contains a one-to-one mapping. Customer.hbm.xml: <class name=com.asi.shared.Customer table=Customer> <id
I have an XML that does not have a consistent structure. I need to
I have elements that I want to choose from, and I want to choose
I have a project that I want to build using automake. The project consists
I have two functions that have different enough logic but pretty much the same
I have a page that have fileupload control, on the submission of the form,
I have 2 machines that have the Express version of C# on them. On
I have this webserver that have an IP address xxx.xxx.xx.x, I also have a
I have this class that have a function to load other classes and create

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.