Elements. Build native projects for any modern development platform, using the language(s) of your choice. Oxygene (Object Pascal), C#, Swift, Java, Go. | RemObjects Software

ActionBar

Language: Silver, Platform: Cooper, Category: Android
https://github.com/remobjects/ElementsSamples/tree/master/Silver/Cooper/Android/ActionBar

SearchActivity.swift

import java.util
import android.app
import android.content
import android.os
import android.util
import android.view
import android.widget

public class SearchActivity : Activity {
	
	public override func onCreate(_ savedInstanceState: Bundle!) {
		
		super.onCreate(savedInstanceState);
		
		let textView = TextView(self);
		textView.TextSize = 40;
		textView.Text = "Search Activity";
		ContentView = textView;
		
		getActionBar().setDisplayHomeAsUpEnabled(true);
	}
}