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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:58:41+00:00 2026-06-06T14:58:41+00:00

I am trying to expand on a basic hello world application for the google

  • 0

I am trying to expand on a basic hello world application for the google tv. I have created a LinearLayout with a EditText and Button within it and put that under a very large ‘Hello world’ TextView (78sp).
When I launch the application on the google tv box (adb), I get my ‘Hello World’ but only the very top of the EditText and Button.

Looking at the application within Eclipse Android Layout manager, its all fine and visible.

Any ideas on how to fix this?

I believe I must be missing some configuration element in all of this.

Any help appreciated. Thanks

code, my main.xml:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:orientation="vertical" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="475dp"
        android:gravity="center"
        android:text="@string/hello"
        android:textSize="78sp" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content" >

        <EditText
            android:id="@+id/edit_message"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:ems="10"
            android:hint="@string/edit_message" >

            <requestFocus />
        </EditText>

        <Button
            android:id="@+id/button_send"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"

            android:text="@string/button_send" />

    </LinearLayout>

</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-06-06T14:58:42+00:00Added an answer on June 6, 2026 at 2:58 pm

    Probably because your first text view is 475dp high. You can see here that a TV is only 540dp high (remember that an actual pixel and a display independent pixel [dp] are not the same unless the screen is mdpi which no Google TV is)

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

Sidebar

Related Questions

I am trying to expand the relationships within my Django Models. I have a
I'm currently trying to expand my basic news feature so that comments can be
I am trying to expand from php. Here is a basic problem I have
I have a table column I’m trying to expand and hide. jQuery seems to
I'm trying to automate menu picks using Microsoft UI Automation. The application that I'm
I'm trying to add some basic rake tasks to the orientdb gem that will
I am writing some UI persistence methods for an application. I'm trying to expand
I've been trying to expand on the hello_chat application. I wanted to replace the
I'm currently trying to expand my PHP driven intranet site for my company. It
I'm trying to expand my sons interest from Warcraft 3 programming into C++ to

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.