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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:05:31+00:00 2026-05-13T16:05:31+00:00

I want to create the following layout which should be 100% in landscape form

  • 0

I want to create the following layout which should be 100% in landscape form as displaying in portrait form.

alt text http://www.freeimagehosting.net/uploads/b12bb68569.png

here is my code which i tried but not working

<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" android:stretchColumns="0">

<TableRow>
    <TableLayout android:layout_width="wrap_content"
        android:layout_height="wrap_content">
        <TableRow>
            <TableLayout android:layout_width="wrap_content"
                android:layout_height="wrap_content" android:orientation="horizontal">
                <TableRow>
                    <TextView android:id="@+id/reviewItemEntityName"
                        android:layout_height="wrap_content" android:text="12345"
                        android:textColor="@color/maroon" />

                    <ImageView android:id="@+id/reviewItemStarRating"
                        android:layout_width="wrap_content" android:layout_height="wrap_content"
                        android:src="@drawable/title_1_star" />
                </TableRow>
            </TableLayout>



        </TableRow>

        <TableRow>

            <TextView android:id="@+id/reviewItemDescription"
                android:layout_width="0dip" android:layout_height="wrap_content"
                android:text="Description comes here" android:textSize="12sp" />
        </TableRow>

    </TableLayout>
    <ImageView android:layout_width="wrap_content"
        android:layout_height="wrap_content" android:src="@drawable/arrow_nxt"
        android:layout_gravity="center_vertical"
        android:layout_alignParentRight="true" />
    </TableRow>
</TableLayout>
  • 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-13T16:05:32+00:00Added an answer on May 13, 2026 at 4:05 pm

    i think this is what your looking for, remember to play with the “android:layout_weight” value, it will basically tell the widgets how much they should expand (use the available free space).

    have fun.

    <TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" 
        >
    
    <TableRow android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="1">
        <TableLayout android:layout_width="fill_parent"
            android:layout_height="fill_parent" 
            android:layout_weight="1">      
            <TableRow>
                <TextView android:text="TextView Up Left" 
                    android:id="@+id/TextView01" 
                    android:layout_width="wrap_content" 
                    android:layout_height="wrap_content"
                    android:gravity="left"
                    android:layout_weight="1">
                </TextView>
                <ImageView android:id="@+id/ImageView01" 
                    android:layout_width="wrap_content" 
                    android:layout_height="wrap_content"
                    android:src="@android:drawable/btn_plus"
                    android:gravity="right">
                </ImageView>
            </TableRow>
            <TableRow>
            <TextView android:text="Text view with padding" 
                android:id="@+id/TextView02" 
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" 
                android:paddingBottom="20.0dp" 
                android:paddingLeft="20.0dp" 
                android:paddingRight="20.0dp" 
                android:paddingTop="20.0dp"
                android:layout_weight="1">
            </TextView>
            </TableRow>
        </TableLayout>
        <TableLayout android:id="@+id/TableLayout01" 
            android:layout_width="fill_parent" 
            android:layout_height="fill_parent"
            android:layout_weight="0">
            <TableRow android:layout_width="fill_parent" 
                android:layout_height="fill_parent"
                android:layout_weight="1">
            <ImageView android:id="@+id/ImageView02" 
                android:layout_width="wrap_content" 
                android:layout_height="wrap_content"
                android:src="@android:drawable/btn_minus"
                android:layout_gravity="center"
                >
            </ImageView>
            </TableRow>
        </TableLayout>
    </TableRow>
    </TableLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i am following this tutorial http://www.vogella.de/articles/AndroidGestures/article.html i want to create an application in
I want to create URL re-write rules for following URL in htaccess. http://example.com/vedios/category/fun/ ->
I want to create an XSD which can generate the following XML. <note> <email:to>abc@def.com</email:to>
I want to create a layout which contains TextView , Button and ListView here
I want to create a following kind of layout in android , rite now
I want to create the following T-SQL statement: SELECT SUM (sa.Amount) as 'SumAmount', SUM(sa.Cost)
I want to create a view from the following two tables: Entry: entry_id entry_date
I want to create a C++ class with the following type: It can be
I want to create a calendar with the following features in picture I want
I want to create a strongly typed multidimensional array or collection containing the following

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.