Samples
Samples
TabbedApp
Language: Oxygene, Platform: Cooper, Category: Android
https://github.com/remobjects/ElementsSamples/tree/master/Oxygene/Cooper/Android/TabbedApp
-
org.me.tabbedapp
-
References
- android
- Source Files
-
Other Files
- res\values\strings.android-xml
- res\layout\main.layout-xml
- Properties\AndroidManifest.android-xml
- res\drawable-hdpi\icon.png
- res\drawable-mdpi\icon.png
- res\drawable-ldpi\icon.png
- res\drawable\ic_tab_one_grey.png
- res\drawable\ic_tab_one_white.png
- res\drawable\ic_tab_one.android-xml
- res\drawable\ic_tab_three.android-xml
- res\drawable\ic_tab_three_grey.png
- res\drawable\ic_tab_three_white.png
- res\drawable\ic_tab_two.android-xml
- res\drawable\ic_tab_two_grey.png
- res\drawable\ic_tab_two_white.png
-
References
TabOneActivity.pas
namespace org.me.tabbedapp;
interface
uses
java.util,
android.os,
android.app,
android.util,
android.view,
android.widget;
type
TabOneActivity = public class(Activity)
private
protected
public
method onCreate(savedInstanceState: Bundle); override;
end;
implementation
method TabOneActivity.onCreate(savedInstanceState: Bundle);
begin
inherited;
//This activity is just representative of a real activity. Its UI is so trivial
//(one textview) that it is created dynamically rather than via a layout file
var textView := new TextView(self);
textView.Text := "This is tab one";
ContentView := textView
end;
end.
