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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:10:38+00:00 2026-06-12T16:10:38+00:00

I had a hard to debug problem where I wanted to have a layout

  • 0

I had a hard to debug problem where I wanted to have a layout file with buttons that were completely styled from the Activity code. Because android:layout_width and android:layout_height can’t be set by themes and need be set by specific style="@style/myButton" in the layout files, everything went spaghetti.

Bottom line is I can’t use themes to completely control styles from the Activity code. But completely generating layouts in the Activity code is painful because you don’t get the Graphical Layout View to easily preview changes.

  • 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-12T16:10:39+00:00Added an answer on June 12, 2026 at 4:10 pm

    From this wonderful blog post I found a few days too late.

    1. Widget’s inline attributes, which override the …
    2. Styles in the styles.xml file, which override the …
    3. Default styles of the widget, which override the …
    4. Theme specified styles
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this simple problem but I had a hard time of finding a
I recently had a hard drive crashed and lost all of my source code.
I'm using the jQuery plugin for TinyMCE and have had a hard time trying
I have a malformed page to scrape, and have had a hard time getting
I'm new to C# coming from a python background. I've had a hard time
The hard drive on one of my PCs crashed that had the installers for
Sorry about the confusing title, I had a hard time describing the problem. I
I just had a long debug session that was caused by a stale interface
I had a hard time framing that question. I hope it gets the gist
I'm working with an old app that had hard coded columns for different locations,

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.