I have a problem with TextSwitcher In my app I have a linear rhythm with 3 Textswitcher ramps (width and height) is!
Each text scripture has been declared with these and out animation. My problem: When the text is switched for the first time, I have a space between the elements! Such as: 1.23 45 678 but with it: 1.2345678 without spaces
When the text transmits the second or 3rd. Time has gone to the place I can imagine why are the vacancies ?? There is no other element, no padding, no margins, no margins.
The reason for the mbeiba is Vidhytra: Viewfactors for Middle Part Switches:
Make Public View () {TextView T = New TextView (SmartTraderFxTrading.this); T.setTextColor (Color.BLACK); T.setTypeface (faucet, typeface.BOLD); T.setTextSize (26f); Return T; }
From the center part to the left and right for the switcher:
Make public view () {TextView t = New text view (this); T.setTextColor (Color.DKGRAY); T.setTextSize (20f); Return T; }
But I can change everything, the spaces are always always after the first switch, and after the second,
Is this a bug? help please!
Edit: The problem is resolved! The problem is that according to the text there are more points! Then there is a large width of the TextSwitcher and it taps the TS after the red color of the activation.
Comments
Post a Comment