Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Relativelayout problems in WVGA 800 emulator

Relativelayout problems in WVGA 800 emulator

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Relativelayout problems in WVGA 800 emulator

Postby ameetnsharma » Thu Jan 21, 2010 7:08 am

This should display as two rows of 3 buttons each, with a textview in the center... it works fine everywhere except on the WVGA 800 virtual device... on that virtual device everything appears in the top row... appreciate any help with fixing this. Thanks.

Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1.  
  2. <?xml version="1.0" encoding="utf-8"?>
  3.  
  4. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  5.  
  6.    
  7.  
  8.    android:layout_width="fill_parent"
  9.  
  10.    android:layout_height="fill_parent"
  11.  
  12.    android:id="@+id/main">
  13.  
  14.  
  15.  
  16. <Button android:id="@+id/PauseButton"
  17.  
  18. android:layout_width="wrap_content"
  19.  
  20.            android:layout_height="wrap_content"
  21.  
  22.            android:layout_alignParentTop="true"
  23.  
  24.                         android:layout_alignParentRight="true"
  25.  
  26.            android:text="Pause"
  27.  
  28.           />
  29.  
  30.            
  31.  
  32.            <Button android:id="@+id/MenuButton"
  33.  
  34. android:layout_width="wrap_content"
  35.  
  36.            android:layout_height="wrap_content"
  37.  
  38.            android:layout_alignParentTop="true"
  39.  
  40.                         android:layout_alignParentLeft="true"
  41.  
  42.            android:text="Menu"
  43.  
  44.           />
  45.  
  46.            
  47.  
  48.             <Button android:id="@+id/ResetButton"
  49.  
  50. android:layout_width="wrap_content"
  51.  
  52.            android:layout_height="wrap_content"
  53.  
  54.            android:layout_alignParentTop="true"
  55.  
  56.            android:layout_centerHorizontal="true"
  57.  
  58.            android:text="Reset"
  59.  
  60.           />
  61.  
  62.            
  63.  
  64.            <Button android:id="@+id/PreviousLevel"
  65.  
  66. android:layout_width="wrap_content"
  67.  
  68.            android:layout_height="wrap_content"
  69.  
  70.            android:layout_centerVertical="true"
  71.  
  72.            android:layout_alignParentLeft="true"
  73.  
  74.            android:text="Previous Level"
  75.  
  76.           />
  77.  
  78.            
  79.  
  80.            
  81.  
  82.            <TextView  
  83.  
  84.           android:id="@+id/levelNumber"
  85.  
  86.        android:layout_width="wrap_content"  
  87.  
  88.        android:layout_height="wrap_content"
  89.  
  90.        android:layout_centerVertical="true"
  91.  
  92.            android:layout_centerHorizontal="true"
  93.  
  94.        android:text="Please enter your login"  
  95.  
  96.        />  
  97.  
  98.            
  99.  
  100.            
  101.  
  102.            <Button android:id="@+id/NextLevel"
  103.  
  104. android:layout_width="wrap_content"
  105.  
  106.            android:layout_height="wrap_content"
  107.  
  108.            android:layout_centerVertical="true"
  109.  
  110.            android:layout_alignParentRight="true"
  111.  
  112.            android:text="Next Level"
  113.  
  114.           />
  115.  
  116.            
  117.  
  118.            <Button android:id="@+id/PlayButton"
  119.  
  120. android:layout_width="wrap_content"
  121.  
  122.            android:layout_height="wrap_content"
  123.  
  124.            android:layout_centerInParent="true"
  125.  
  126.            android:text="Play"
  127.  
  128.           />
  129.  
  130.  
  131.  
  132.  
  133.  
  134. </RelativeLayout>
  135.  
  136.  
Parsed in 0.003 seconds, using GeSHi 1.0.8.4
ameetnsharma
Developer
Developer
 
Posts: 30
Joined: Tue Dec 08, 2009 10:55 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests