[Solved] WPF How can i make a button in “L” form

This can be done by overwriting the Control Template. Here is a very rough example to get you started. EDIT Updated Path to be L shape <Button > <Button.Template> <ControlTemplate> <Border> <Grid> <Polygon Points=”300,200 200,200 200,300 250,300 250,250 300,250″ Fill=”Purple” /> </Grid> </Border> </ControlTemplate> </Button.Template> </Button> 1 solved WPF How can i make a button … Read more

[Solved] How to change Android button style temporarily after click?

I had a similar issue a few days back, so feel free to use my code. Button myButton; //as a “global” variable so that it is also recognized in the onClick event. myButton = (Button) findViewById(R.id.b) myButton.setBackgroundColor(Color.BLACK); //set the color to black myButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { myButton.setBackgroundColor(Color.RED); //set the color … Read more