Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

draw triangle in android studio xml

<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
    <item>
        <rotate
            android:fromDegrees="45"
            android:toDegrees="45"
            android:pivotX="-40%"
            android:pivotY="87%" >
            <shape
                android:shape="rectangle" >
                <stroke android:color="@color/transparent" android:width="10dp"/>
                <solid
                    android:color="@color/your_color_here" />
            </shape>
        </rotate>
    </item>
</layer-list>
Comment

PREVIOUS NEXT
Code Example
Java :: java creare costante 
Java :: list of strings java 
Java :: split on . in java 
Java :: Implementing the Stack Class in java list 
Java :: getresources in adapter android 
Java :: java local function 
Java :: current port used by the Java application 
Java :: Explain try & catch finally block in Java 
Java :: react-native force light mode 
Java :: change brightness of image in java 
Java :: java.lang.NoClassDefFoundError 
Java :: split string to textview in android 
Java :: the diameter of a binary tree 
Java :: what is object in java 
Java :: can the method local inner class object access method local variables 
Java :: double if statement java 
Java :: scaletype android dynamic 
Java :: merge without extra space 
Java :: polymorphism in java 
Java :: how to get filename without extension in java 
Java :: check if short int or long java 
Java :: observer design pattern 
Java :: access array elements java 
Java :: search in rotated sorted array leetcode 
Java :: java binary exponentiation 
Java :: navigation bottom android 
Java :: find minimum element in a sorted and rotated array 
Java :: spring mvc 
Java :: generics Interface in java 
Java :: what is deserialization in java 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =