Descriptions and Summaries are now selectable (closes #290)
This commit is contained in:
		
							parent
							
								
									15cf724074
								
							
						
					
					
						commit
						93326a90d1
					
				@ -390,6 +390,7 @@ public class AppDetails extends ListActivity {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        tv = (TextView) infoView.findViewById(R.id.description);
 | 
					        tv = (TextView) infoView.findViewById(R.id.description);
 | 
				
			||||||
        tv.setMovementMethod(LinkMovementMethod.getInstance());
 | 
					        tv.setMovementMethod(LinkMovementMethod.getInstance());
 | 
				
			||||||
 | 
					        tv.setTextIsSelectable(true);
 | 
				
			||||||
        // Need this to add the unimplemented support for ordered and unordered
 | 
					        // Need this to add the unimplemented support for ordered and unordered
 | 
				
			||||||
        // lists to Html.fromHtml().
 | 
					        // lists to Html.fromHtml().
 | 
				
			||||||
        class HtmlTagHandler implements TagHandler {
 | 
					        class HtmlTagHandler implements TagHandler {
 | 
				
			||||||
@ -422,6 +423,7 @@ public class AppDetails extends ListActivity {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        tv = (TextView) infoView.findViewById(R.id.summary);
 | 
					        tv = (TextView) infoView.findViewById(R.id.summary);
 | 
				
			||||||
        tv.setText(app.summary);
 | 
					        tv.setText(app.summary);
 | 
				
			||||||
 | 
					        tv.setTextIsSelectable(true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        tv = (TextView) infoView.findViewById(R.id.appid);
 | 
					        tv = (TextView) infoView.findViewById(R.id.appid);
 | 
				
			||||||
        if (pref_expert) {
 | 
					        if (pref_expert) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user