android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
android:id="@+id/button_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#ff0000"
android:text="Button 1" />
android:id="@+id/button1"
android:layout_width="224dp"
android:layout_height="wrap_content"
android:text="Button" />
package com.example.activitytest;
import android.app.Activity;
import android.os.Bundle;
public class FirstActivity extends Activity{
protected void ocCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState);
//requestWindowFeature(Window.FEATURE_NO_TITLE);
setContentView(R.layout.first_layout);
}
}