Wrox Programmer Forums
|
BOOK: Beginning Android 4 Application Development
This is the forum to discuss the Wrox book Beginning Android 4 Application Development by Wei-Meng Lee; ISBN: 978-1-1181-9954-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android 4 Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 6th, 2014, 03:40 AM
Registered User
 
Join Date: Feb 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to HuangLisen
Default A problem with HelloWorld.apk

I wrote my first application today,I feel exciting.But when I installed this apk to my mobilephone, I found that text was re-posted.

This is my program:

HTML Code:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:paddingBottom="@dimen/activity_vertical_margin"
    android:paddingLeft="@dimen/activity_horizontal_margin"
    android:paddingRight="@dimen/activity_horizontal_margin"
    android:paddingTop="@dimen/activity_vertical_margin"
    tools:context=".MainActivity" >

    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/hello_world" />
    
    <TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="这是我写的第一个安卓软件" />
    
    <Button
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="这是一个按钮" />

</RelativeLayout>
could anyone tell me how to correct?

(pass:Sorry, I come from China and my English is just so so.)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not find Chapter_4_Compass.apk! shekar.mahalingam BOOK: Professional Android 4 Application Development 0 May 20th, 2013 09:10 AM
How Create APK out of Chapter 4 Examples gplomb BOOK: Beginning Flash, Flex, and AIR Development for Mobile Devices 0 November 1st, 2012 11:47 PM
Error trying to export HelloWorld.apk to android device mdax BOOK: Beginning Android Application Development 1 January 12th, 2012 08:04 PM
Chapter 1 - HelloWorld Problem rickyjames BOOK: Beginning Android Application Development 3 May 19th, 2011 09:58 PM
problem in helloworld progarmme in chapt 18 clnbabu BOOK Beginning Linux Programming, 3rd Edition 0 August 25th, 2007 03:54 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.