Android.Preferences.Preference.LayoutResource Property
Gets the layout resource that will be shown as the Android.Views.View for this Preference.

Syntax

[get: Android.Runtime.Register("getLayoutResource", "()I", "GetGetLayoutResourceHandler")]
[set: Android.Runtime.Register("setLayoutResource", "(I)V", "GetSetLayoutResource_IHandler")]
public virtual int LayoutResource { get; set; }

See Also

Preference.WidgetLayoutResource

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Gets the layout resource that will be shown as the Android.Views.View for this Preference.

Set method documentation [Android Documentation]

Sets the layout resource that is inflated as the Android.Views.View to be shown for this Preference. In most cases, the default layout is sufficient for custom Preference objects and only the widget layout needs to be changed. This layout should contain a Android.Views.ViewGroup with ID NoType:android/R$id;Href=../../../reference/android/R.id.html#widget_frame to be the parent of the specific widget for this Preference. It should similarly contain NoType:android/R$id;Href=../../../reference/android/R.id.html#title and NoType:android/R$id;Href=../../../reference/android/R.id.html#summary.

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1