Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to mark an Icon on the right of a Preference Item in the PreferenceActivity?
    primarykey
    data
    text
    <p>Please click to see the image <a href="http://i1094.photobucket.com/albums/i455/tdounnyy/device.png" rel="nofollow">http://i1094.photobucket.com/albums/i455/tdounnyy/device.png</a></p> <p>At the bottom of this PreferenceActivity, the "Select ringtone" has an icon/button on the right side.</p> <p>And "Vibrate" does not.</p> <p>This Vibrate Preference is one custome Preference extends Preference.</p> <p>I want to put the same Icon in the Vibrate row. One way is to extends ListPreference or RingtonePreference to cheat OS.</p> <p>I don`t like this, wondering if there is a better solution. ^_^</p> <p>preferences.xml Thank @Femi <pre><code> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --&gt; &lt;!-- Layout used by PreferenceScreen. This is inflated inside android.R.layout.preference. --&gt; &lt;ImageView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4dip" android:layout_gravity="center_vertical" android:background="@drawable/btn_circle" android:src="@drawable/ic_btn_round_more" /&gt; </code></pre> <p>I added prefix "android" as:</p> <pre><code>android:background="@android:drawable/btn_circle" android:src="@android:drawable/ic_btn_round_more" /&gt; </code></pre> <p>Now, Eclipse says: Error: Resource is not public. I googled but no luck. Any thought how to break through?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload