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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:30:58+00:00 2026-05-27T21:30:58+00:00

this XML works different on 2.3 and 4.0. one of that shows table row

  • 0

this XML works different on 2.3 and 4.0. one of that shows table row elemens left fitted but other centered.

thanks for your help

    <LinearLayout android:id="@+id/Scorelistic"  android:layout_marginLeft="70dp" android:layout_marginTop="30dp" android:layout_gravity="center" android:background="@drawable/bestscore" android:layout_height="267dp" android:layout_width="432dp" android:orientation="vertical" android:weightSum="1">

            <TableLayout android:layout_height="fill_parent" android:weightSum="1" android:layout_marginTop="50dp" android:id="@+id/tableLayout1" android:layout_gravity="center" android:layout_width="fill_parent">
                <TableRow android:layout_height="85dp" android:layout_width="wrap_content" android:id="@+id/tableRow1">
                    <FrameLayout android:layout_width="349dp" android:layout_height="74dp" android:id="@+id/frameLayout5">
                        <ImageView android:layout_height="74dp" android:id="@+id/score1" android:layout_marginLeft="80dp" android:layout_width="349dp" android:background="@drawable/birincibg" android:visibility="visible"></ImageView>
                        <TextView android:id="@+id/birinci" android:textSize="16sp" android:layout_marginLeft="80dp" android:gravity="center" android:layout_width="fill_parent" android:layout_height="fill_parent" android:textColor="#000000"></TextView>
                    </FrameLayout>
                </TableRow>         
              </TableLayout>
        </LinearLayout> 
    </RelativeLayout>
</LinearLayout> 
  • 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-27T21:30:59+00:00Added an answer on May 27, 2026 at 9:30 pm

    This can be because you’re specifying device points and so the whole layout becomes dependent on your device screen size. And so if your two devices have different screen sizes you see the difference. It’s generally not recommended to use device points in layouts you may want to use gravity, alignments and weights instead. Especially in TableLayouts you don’t really need device points or so it seems

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

Sidebar

Related Questions

This code works well for displaying separate xml items in my main.xml. But is
I'm requesting stuff from the web using web services that return XML. This works
I have this script to generate an XML file for an RSS feed. Works
This code:: xslProcessor = new XSLTProcessor(); xslProcessor.importStylesheet(xsl); result = xslProcessor.transformToFragment(xml, document); works fine in
I have one piece of Cocoa code I wrote that takes in an XML
I'm writing out some xml from C# using the .net framework's XmlTextWriter. This works
I'm having an issue getting a LINQ query to work. I have this XML:
I have this below code and it work fine header (content-type: text/xml); $xml =
I have this data from a xml file: <?xml version=1.0 encoding=utf-8 ?> <words> <id>...</id>
With this XML file - <Instructions> <Admin> <Instruction> Steps must be completed in order.&lt;/br&gt;

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.