Make a view with rectangle shape using xml definitions (drawable) in Android


<a href="https://drive.google.com/file/d/0B0vP0ppNf8G3MFdBRmF5WkJEZ3c/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/0B0vP0ppNf8G3MFdBRmF5WkJEZ3c/view?usp=sharing</a>

I want to create shape as above. How do you create this using xml?


<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:right="-100dp"> <rotate android:fromDegrees="-5" android:pivotX="0%" android:pivotY="100%"> <shape android:shape="rectangle"> <solid android:color="#f9c" /> </shape> </rotate> </item> </layer-list>


  • Cythonized function unexpectedly slow
  • How to reshape a 3D numpy array?
  • How to change placeholder text in an autocomplete activity of android google place?
  • Splash Screen will not display
  • Xamarin Android | Layout style
  • How can I include If-None-Match header in HttpRequestMessage
  • Sending cookie value via httpget but not getting the desired response
  • How to convert SOAP response with xsi values to json in WSO2esb
  • How to get current document uri in XSLT?
  • JBoss External Properties Files in Classpath
  • Android - Material Design - NavigationView - How to put vertical scroll?
  • Why Encoding.ASCII != ASCIIEncoding.Default in C#?
  • Xcode 4 NSLog Macro link in Xcode 3
  • Play WS (2.2.1): post/put large request
  • Bad request using file_get_contents for PUT request in PHP
  • Jquery UI tool tip close icon
  • Seeking advice on Jetty HttpClient Hang
  • Encrypt data by using a public key in c# and decrypt data by using a private key in php
  • How to convert from System.Drawing.Color to Excel.ColorFormat in C#? Change comment color
  • SSO with signing and signature validation doesn't work
  • Deserializing XML into class C#
  • Google cloud sdk not working when python points python3
  • Is there a mandatory requirement to switch app.yaml?
  • Comma separated Values
  • How to include full .NET prerequisite for Wix Burn installer
  • Error creating VM instance in Google Compute Engine
  • using HTMLImports.whenReady not working in chrome
  • Hits per day in Google Big Query
  • how does django model after text[] in postgresql [duplicate]
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • Easiest way to encapsulate a HTML5 webpage into an android app?
  • Busy indicator not showing up in wpf window [duplicate]
  • costura.fody for a dll that references another dll
  • Observable and ngFor in Angular 2
  • How to Embed XSL into XML
  • UserPrincipal.Current returns apppool on IIS
  • Android Heatmap on canvas or ImageView
  • Conditional In-Line CSS for IE and Others?
  • java string with new operator and a literal
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize