Top "Shape" questions

Questions related to drawing or defining shapes.

PySpark 2.0 The size or shape of a DataFrame

I am trying to find out the size/shape of a DataFrame in PySpark. I do not see a single …

dataframe size pyspark shape
How to change shape color dynamically?

I have <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:…

android android-layout xamarin.android shape
Set android shape color programmatically

I am editing to make the question simpler, hoping that helps towards an accurate answer. Say I have the following …

android android-layout shape
what does numpy ndarray shape do?

I have a simple question about the .shape function, which confused me a lot. a = np.array([1, 2, 3]) # Create a rank 1 …

arrays numpy multidimensional-array shape numpy-ndarray
How to get round shape in Android

How would I achieve a round shape in Android, like below, through an Android shape drawable:

android drawable shape
Shape drawable as background, a line at the bottom

I am using a drawable as a background of a TextView just to have a divider line below the text. …

android drawable shape
Android: Using linear gradient as background looks banded

I'm trying to apply a linear gradient to my ListView. This is the content of my drawable xml: <?xml …

android gradient shape
How to set a shape's background in xml?

I just created a red circle using android shapes: <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://…

android colors background shape android-drawable
How set alpha/opacity value to color on xml drawable?

I need to set a value of opacity to a color in xml drawable. But when i try to add …

android xml opacity shape
create shape xml file in drawable folder in android studio

I am using Android studio 1.2.2 and need to know how to create a new shape file in drawable folder. I …

android drawable shape