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

  • SEARCH
  • Home
  • 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 7853995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:53:18+00:00 2026-06-02T19:53:18+00:00

Trying to develop a widget on the Android Platform. I find a lot of

  • 0

Trying to develop a widget on the Android Platform. I find a lot of widgets for the English or Barclays premier league but they are complex. What I would want is just a score of the ongoing match on the android mobile home screen. On tap of that if any goals are scored the details with name of the player who scored and the minute in which he scored on the home screen of the app…Have gone through this Android: Help with widget that shows news…

I have moved ahead on this…..I ve got my layouts and Service working……what now I want is any API for the premier league exposed so that I could integrate into my app..???

  • 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-02T19:53:22+00:00Added an answer on June 2, 2026 at 7:53 pm

    In the tutorial the layout is defined in the

    widget_layout.xml file under the folder “res/layout”.

    To add an image add something like this

    <ImageView
        android:id="@+id/widget_image"
        android:src="@drawable/yourimage"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center"
        android:gravity="center_horizontal|center_vertical" />
    

    where “yourimage” should be replaced with the name of an image in your res/drawable folder.

    Make sure the current TextView isn’t getting in the way of your image. You may want to remove the TextView, or change it’s layout settings. Alternatively, if you want to keep the TextView and just add an image as a background you just add the following to the TextView:

    android:background="@drawable/yourimage"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to develop a widget for Android. I'm using Eclipse but I can't
I'm trying to develop Apps for Android with ECLIPSE, but I have too many
I'm new to Android development. I am trying to develop a widget with a
I am trying to develop a .NET Web Project using NHibernate and Spring.NET, but
I am trying develop an Android app which uses Google maps. So for the
I am trying to develop a multi-screen app for the Google TV platform using
I'm trying to develop a widget with an EditText (only int allowed) and KeyEvent.
I am trying to develop a Windows Desktop widget for Windows 7. Just wondering
Im trying to develop a new FB App, however it seems they have changed
I am trying to develop a custom widget for camera preview. I would like

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.