This is my first time coding and i am using
http://developer.android.com/training/basics/firstapp/creating-project.html
as my training. But theres 3 pages of code with small errors on them and of
course i have no idea how to tackle them. Any ideas would be awesome
1st page
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
</RelativeLayout>
<?xml version="1.0" encoding="UTF-8"?>
-<LinearLayout android:layout_height="match_parent"
android:layout_width="match_parent" android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android">
-<LinearLayout android:layout_height="wrap_content"
android:layout_width="match_parent" android:orientation="horizontal">
<Button android:layout_height="wrap_content" android:layout_width="0dp"
android:layout_weight="1" android:id="@+id/btnIntend"
android:text="@string/btnIntend"/>
<Button android:layout_height="wrap_content" android:layout_width="0dp"
android:layout_weight="1" android:id="@+id/btnIntendS"
android:text="@string/btnIntendS"/>
<Button android:layout_height="wrap_content" android:layout_width="0dp"
android:layout_weight="1" android:id="@+id/btnIntendV"
android:text="@string/btnIntendV"/>
</LinearLayout>
<ImageView android:layout_height="wrap_content"
android:layout_width="wrap_content" android:id="@+id/imageView1"
android:visibility="visible"/>
<VideoView android:layout_height="wrap_content"
android:layout_width="wrap_content" android:id="@+id/videoView1"
android:visibility="invisible"/>
</LinearLayout>
2nd page
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</manifest>
<?xml version="1.0" encoding="UTF-8"?>
-<manifest android:versionName="1.0" android:versionCode="1"
package="com.example.android.photobyintent"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:targetSdkVersion="12" android:minSdkVersion="4"/>
<uses-feature android:name="android.hardware.camera"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
-<application android:label="@string/app_name" android:icon="@drawable/icon">
-<activity android:name=".PhotoIntentActivity"
android:label="@string/app_name">
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-developers/c4ece6a3-c7d5-4a0e-a074-6d194851576c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.