I have the Try to declare your prefernce like this MySwitchPreference after creating your custom SwitchPreference element in preference.xml. There is a huge text in it that I want it to break, so it can come in different lines, if I am known as the hidden text behind the search, I would first have to go to
& lt; Br / & gt; and
\ n but they are not working.
& lt; Switch Prasrens Android: key = "TestKey" Android: title = "Share activity on Facebook \ n" />
& Lt; Com.yourpackage.MySwitchPreference Android: key = "testKey" Android: title = "Share activity on Facebook \ n" />
MySwitchPreference :
switch speed to create a public class SwitchPreference {public MySwitchPreference extension (reference references, AttributeSet attrs) {super (references, attrs); } Protected void onBindView (see view) {super.onBindView (see); AdjustViews (see); } Secure Zero Adjusted View (see View) {If View View of ViewGroup} {ViewGroup Group = ViewGroup}; (Int Index = 0; Index & lt; Group.GetBillConnect (); Index ++) for AdViewions (Grapplty Jacket Childt (Index)); } And if (see examples of TextView) {// Adjust your text here View textView t = (TextView) here; T.setSingleLine (wrong); T.setEllipsize (zero); }}}
No comments:
Post a Comment