Exemple #1
0
 /// <summary>Specify an intent to use to launch an activity as the tab content.</summary>
 /// <remarks>Specify an intent to use to launch an activity as the tab content.</remarks>
 public virtual android.widget.TabHost.TabSpec setContent(android.content.Intent intent
                                                          )
 {
     this.mContentStrategy = new android.widget.TabHost.IntentContentStrategy(this._enclosing
                                                                              , this.mTag, intent);
     return(this);
 }
Exemple #2
0
 /// <summary>
 /// Specify a
 /// <see cref="TabContentFactory">TabContentFactory</see>
 /// to use to
 /// create the content of the tab.
 /// </summary>
 public virtual android.widget.TabHost.TabSpec setContent(android.widget.TabHost.TabContentFactory
                                                          contentFactory)
 {
     this.mContentStrategy = new android.widget.TabHost.FactoryContentStrategy(this._enclosing
                                                                               , java.lang.CharSequenceProxy.Wrap(this.mTag), contentFactory);
     return(this);
 }
Exemple #3
0
 /// <summary>
 /// Specify the id of the view that should be used as the content
 /// of the tab.
 /// </summary>
 /// <remarks>
 /// Specify the id of the view that should be used as the content
 /// of the tab.
 /// </remarks>
 public virtual android.widget.TabHost.TabSpec setContent(int viewId)
 {
     this.mContentStrategy = new android.widget.TabHost.ViewIdContentStrategy(this._enclosing
                                                                              , viewId);
     return(this);
 }
Exemple #4
0
			/// <summary>Specify an intent to use to launch an activity as the tab content.</summary>
			/// <remarks>Specify an intent to use to launch an activity as the tab content.</remarks>
			public virtual android.widget.TabHost.TabSpec setContent(android.content.Intent intent
				)
			{
				this.mContentStrategy = new android.widget.TabHost.IntentContentStrategy(this._enclosing
					, this.mTag, intent);
				return this;
			}
Exemple #5
0
			/// <summary>
			/// Specify a
			/// <see cref="TabContentFactory">TabContentFactory</see>
			/// to use to
			/// create the content of the tab.
			/// </summary>
			public virtual android.widget.TabHost.TabSpec setContent(android.widget.TabHost.TabContentFactory
				 contentFactory)
			{
				this.mContentStrategy = new android.widget.TabHost.FactoryContentStrategy(this._enclosing
					, java.lang.CharSequenceProxy.Wrap(this.mTag), contentFactory);
				return this;
			}
Exemple #6
0
			/// <summary>
			/// Specify the id of the view that should be used as the content
			/// of the tab.
			/// </summary>
			/// <remarks>
			/// Specify the id of the view that should be used as the content
			/// of the tab.
			/// </remarks>
			public virtual android.widget.TabHost.TabSpec setContent(int viewId)
			{
				this.mContentStrategy = new android.widget.TabHost.ViewIdContentStrategy(this._enclosing
					, viewId);
				return this;
			}