Bug 38561 - Not able to wrap text of text view when setting width and height parameters from code behind
Summary: Not able to wrap text of text view when setting width and height parameters f...
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Jonathan Pryor
URL:
Depends on:
Blocks:
 
Reported: 2016-02-09 05:20 UTC by Dharmendar
Modified: 2017-08-23 20:54 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Contains sample where i have loaded a TextView and set width and height to it from both code behind and in .axml file. Uncomment the required code to test both the cases. (12.90 KB, application/x-zip-compressed)
2016-02-09 05:20 UTC, Dharmendar
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Dharmendar 2016-02-09 05:20:21 UTC
Created attachment 14953 [details]
Contains sample where i have loaded a TextView and set width and height to it from both code behind and in .axml file. Uncomment the required code to test both the cases.

I want to wrap the text of a TextView that is placed inside a FrameLayout. When I set a text,width and height value to the TextView in the .axml file my requirement is achieved. If am doing the same from the code behind I see that the text is not wrapping.Please find the sample in the attachment where code is included for both the scenarios. kindly uncomment the required code to test both the cases. Waiting to hear from your side.
Comment 1 Prashant [MSFT] 2017-06-28 03:58:19 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it is an issue with the implementation

Did you get around this issue? So you still any assistance?
Comment 2 Cody Beyer (MSFT) 2017-08-23 20:54:53 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!