Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As follow, manifest.xml and the layout used in the Activity with problem:</p> <p>The hierarchy tree in my Project is (in relation with xml files):</p> <ul> <li>res/ <ul> <li>layout/ <ul> <li>loading.xml</li> <li>registeremail.xml</li> </ul></li> <li>drawable/ <ul> <li>hdpi/ <ul> <li>logo.png </li> <li>mulherfeia2012.jpg</li> </ul></li> <li>mdpi/ <ul> <li>nothing</li> </ul></li> <li>ldpi/ <ul> <li>nothing</li> </ul></li> </ul></li> </ul></li> </ul> <p>The <code>res/layout/loading.xml</code>, with i tried to run</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/loading_layout" android:layout_width="fill_parent" android:layout_height="fill_parent"&gt; &lt;ProgressBar android:id="@+id/progressBarLoad" style="?android:attr/progressBarStyleHorizontal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" /&gt; &lt;TextView android:id="@+id/textProgressLoad" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/progressBarLoad" android:layout_centerHorizontal="true" android:text="@string/loading_message" android:textColor="@android:color/white" /&gt; &lt;ImageView android:id="@+id/imageLoad" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/progressBarLoad" android:layout_alignParentLeft="true" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:contentDescription="@string/logo_feia_description" android:src="@drawable/mulherfeia2012" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>And the <code>AndroidManifest.xml</code></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="unicamp.ia.feia" android:versionCode="1" android:versionName="0.1" &gt; &lt;uses-sdk android:minSdkVersion="7" android:targetSdkVersion="7" android:maxSdkVersion="7"/&gt; &lt;application android:icon="@drawable/feia12_logo_low" android:label="@string/app_name" android:testOnly="false" android:debuggable="true"&gt; &lt;activity android:name=".LoadFEIAppActivity" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".RegisterEmail"&gt; &lt;/activity&gt; &lt;/application&gt; &lt;/manifest&gt; </code></pre> <p>Thank very much for help!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload