I have some problems with the XML layouts (android development).



I think I have some problems with a LinearLayout container. I do not know how to fix these problems:


I am a beginner to XML but I think the problem is in the second LinearLayout. I hope someone can help me out.


The code is here below:



<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical">
<TextView
android:layout_height="match_parent"
android:layout_width="match_parent"
/>
**<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
andriod:orientation="horizontal" >
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>
<ImageView
android:layout_width="match_parent"
android:layout_height="wrap_content"
/>

</LinearLayout>**
<Button
android:layout_height="match_parent"
android:layout_width="match_parent"

/>





</LinearLayout>

No comments:

Post a Comment