Sha256: a444f96d8cc70e075ecddbbf46091dd1b9ad8d99adf820ea4332a9c575c2d3ad

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

Contents

package com.android.basicui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.*;

//import android.app.AlertDialog;
//import android.app.Dialog;

// this is literally a copy of BasicUI, cause i know it works ... trying to launch it as another view ...
public class AnotherView extends Activity implements OnClickListener {
	//private static final int ACTIVITY_EDIT=1;
	protected static TextView txt; 

	@Override
		public void onCreate(Bundle savedInstanceState) {
			super.onCreate(savedInstanceState);
			setContentView(R.layout.main);

			txt = (TextView) findViewById(R.id.txt);
			txt.setText("I AM ANOTHER VIEW updated!!!!");

			Button click_me = (Button) findViewById(R.id.my_button);
			click_me.setOnClickListener(this);
		}

	public void onClick(View v) {
		txt.setText("I AM ANOTHER VIEW clicked! ... trying to goto another view ...");
		// startActivityForResult(new Intent( this, UiResult.class ), ACTIVITY_EDIT);
	}

	protected void onActivityResult(int requestCode, int resultCode, Intent intent) {
		//
	}

}

Version data entries

10 entries across 1 versions & 1 rubygems

Version Path
remi-andrake-0.1.0 examples/android/BasicUI/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_4/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_1/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_1/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_3/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_5/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_2/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_8/app/activities/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_6/src/com/android/basicui/AnotherView.java
remi-andrake-0.1.0 examples/different_states_of_andrakeness/BasicUI_7/src/com/android/basicui/AnotherView.java