ANDROID Linear Layout

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 xmlns:tools="http://schemas.android.com/tools"
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:orientation="horizontal"
 tools:context="com.example.adsoyad.MainActivity" >
 <TextView
   android:text="@string/Red"
   android:background="#aa0000"
   android:layout_width="wrap_content"
   android:layout_height="match_parent"
   android:layout_weight=".33" />
 <TextView
   android:text="@string/Green"
   android:background="#00aa00"
   android:layout_width="wrap_content"
   android:layout_height="match_parent"
   android:layout_weight=".33" />
 <TextView
   android:text="@string/Blue"
   android:background="#0000aa"
   android:layout_width="wrap_content"
   android:layout_height="match_parent"
   android:layout_weight=".33" />
</LinearLayout>


Comments

Popular posts from this blog

Solution for "Can not obtain Oracle client information from registry"

Solution for the fault: "System.Diagnostics.Process.Start is not working on IIS, but working on ASP.NET Development Server"

Getting Umbraco Content - IPublishedContent vs IContent vs Node vs Document