Does AndroidX still allow RelativeLayout? - layout

I searched for this string and got zero hits
"androidx" -android RelativeLayout
But I searched for "androidx" -android
and got plenty. Kind of looks like they killed it.
Anybody know of a workaround?

Related

OutputCache exclude Layout in Mvc 4

Could anyone help figure out how exactly to exclude the Layout from OutputCaching of the whole page.
Currently I am working on an existing project. In the home/index, I am going to use Output Cache but in its index.cshtml there is a Layout="~/Views/Shared/_Layout.cshtml". In this _layout.cshtml, it handles member information. My question is, how to only disable cache of this _layout.cshtml. I have done lots of research about Donut, childaction, ..., but still confused. Please help. Many thanks.
Donut Caching and Donut Hole does similar thing, just try this example http://www.dotnet-tricks.com/Tutorial/mvc/ODJa210113-Donut-Caching-and-Donut-Hole-Caching-with-Asp.Net-MVC-4.html

XNA cannot create an AudioEngine

Referencing this Question/Answer (and many others like it): XNA 4.0 cannot create an AudioEngine
I cannot seem to get this to work. Any help would be super appreciated as the solution linked is NOT working for me and I've googled a lot about this and everything seems to reference the same solution. I know how to add references and have done them successfully in the past, and I additionally have the correct using statements at the top so I'm not really sure what is going wrong, but AudioEngine will not show up for me. If anyone can help I would really appreciate it, thanks!
(I don't have enough reputation to post images yet, so here is the link: http://i.stack.imgur.com/qJeul.png)
This is all that shows up when I start to type "Audio..." http://i.stack.imgur.com/KTnQ9.png
As far as I can tell, this is happening because I'm trying to make a Windows 4.0 game. I tried making an Xbox 4.0 game and adding the Microsoft.Xna.Framework.Xact.dll reference and AudioEngine shows up just fine.
Does AudioEngine/Xact not work with Windows 4.0 games or is there something I'm missing?

Mono4Android Can't Find axml Resource

I'm trying to do the very basic tutorial on setting up multiple views on the Mono4Android Documentation.
I've had this error for about 3 hours now, and can't seem to figure it out.
I've looked through all the build settings ect but nothing...
Mono keeps coming up with the error : ".Resource.Layout Does not contain a definition for 'Second'"
I have even copied an pasted the whole tutorial, and yet I'm still idle from this pathetic error.
I can dam right tell Mono that there is a definition of Second in the layout resource Folder!
Why doesn't anything want to play ball?
Make sure the build action on the file is set to AndroidResource.

Screen capture on failure (Mac OS using Cucumber/Capybara/Selenium-webdriver for Android & iOS)

There seems to be a lot of information on screen capture on failure when using Selenium-webdriver however a lot of it differs and all (of what i've tried) does not work. I am testing on iOS and android using Capybara/web-driver. I understand that when using Capybara it has the capabilities of screen capture by accessing the underlying selenium-driver for example page.driver.browser.save_screenshot('file.png').
An example of my code:
After do |scenario|
if(scenario.failed?)
page.driver.browser_save_screenshot("html-report/#{scenario._id_}.png")
embed("#{scenario._id_}.png", "image/png", "SCREENSHOT")
end
end
The above correctly creates the HTML report however the screenshot is missing. From doing a bit of research it seems like it may be because I am using a scenario outline and its not supported? At least thats what ive found with Watir-webdriver.
Has anyone actually managed to get this working? Any help appreciated, thanks.
I have similar code working with a Scenario and am about to refactor to a Scenario Outline (so I haven't tried a solution I found here). HTH.

ReSharper - Is there any way to save code quality recommendations to a file?

I'm probably using the wrong terminology but basically I would like to dump the findings from the panel to the right of the scrollbar to a file for later review. See the screenshot below for what I mean. It's the part of the screen with the orange and green lines on. Does anyone know if this is possible?
If anyone is interested I have filed a feature request for this with JetBrains here.
As far as I know it's not possible, at least with the built in features. Maybe it's possible by writing a plugin.
The only thing which I know to get something like this:
Goto the 'Code Issues' Inspector: Resharper->Code Issues in Current Solution or any other of these options
On the window which shows the issues is a 'Export' button. With that button you can export the issues of the project/solution/file.
The report format is pretty simple list of issues as text. Like this:
5 issues found
Common Practices and Code Improvements (1 issue)
<DemoApp>\Program.cs (1 issue)
Property 'Title' can be made private
Potential Code Quality Issues (4 issues)
<DemoApp>\Program.cs (4 issues)
Auto-implemented property accessor is never used
Auto-implemented property accessor is never used
Class 'Comment' is never instantiated
Class 'Program' is never instantiated
It's now possible to use Resharper's Command Line to produce a xml with the issues on a given solution.
It's not exactly the 'export' functionality you wanted, but it might be useful still.
You just have to run the tool and pass the file where it will save the issues. For example:
inspectcode /o="D:\Resharper\MyIssues.xml" [PathToSolutionFile]
I've noticed this produces more issues than the plugin inside Visual Studio does, for some reason. I really think the Resharper's team should concentrate on using the same code to analyze the files instead of different implementations like it seems to be now.

Resources