English 中文(简体)
• 如何改变在甲型六氯环己烷和甲型六氯环己烷中筛选的偏好布局
原标题:how do i change the layout of preferences screen in android

i have a preferences screen , and i want to add a button, imageview etc all in a relative layout within the preferences screen.How do i do it? The preferences screen has 3 checkboxpreferences.

事先感谢你。

问题回答

最好的想法是扩大优惠等级,并在建筑商上使用植被资源,以支付其相关费用。 植被面积是所有权和摘要左侧的面积。 如果你想要改变整个偏好,你需要使用固定资源。 在这种情况下,有一些限制:

This layout should contain a ViewGroup with ID widget_frame to be the parent of the specific widget for this Preference. It should similarly contain title and summary.

资料来源:)





相关问题
Default value of Android preference

How do you get the default value of an Android preference defined in XML? I don t want to repeat the definition of the default value in both the code and the preferences XML.

Get preferences in AppWidget Provider

I seem to be having trouble reading preferences from my AppWidgetProvider class. My code works in an Activity, but it does not in an AppWidgetProvider. Here is the code I am using to read back a ...

android: using ListPreference and retrieving key string

I have a settings menu that pops up and in it is a ListPreference type menu. It is associated with a settings.xml file where there are array-strings within it. It all works good but I don t know how ...

ListPreference with a max number of selectable options

I want to have an element in my preference menu that does the following: Show a list of options. Many are selectable Maximum amount of options to be chosen 2. Possibilities I thought of: Doing a ...

热门标签