Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:paddingBottom="@dimen/activity_vertical_margin"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- tools:context="com.example.hp.tmp.MainActivity">
- <Button
- android:id="@+id/angry_btn"
- android:text="Click"
- android:textColor="#000000"
- android:textSize="15sp"
- android:layout_width="95dp"
- android:layout_height="95dp"
- android:background="@drawable/button"
- android:backgroundTint="#ed8181" />
- </RelativeLayout>
- <?xml version="1.0" encoding="utf-8"?>
- <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle" >
- <corners
- android:radius="100dp"
- />
- <padding
- android:left="0dp"
- android:top="0dp"
- android:right="0dp"
- android:bottom="0dp"
- />
- <size
- android:width="100dp"
- android:height="100dp"
- />
- </shape>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement