-
Notifications
You must be signed in to change notification settings - Fork 0
/
activity_main.xml
36 lines (32 loc) · 1.15 KB
/
activity_main.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:orientation="vertical"
tools:context=".MainActivity">
<Button
android:id="@+id/button"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_margin="30dp"
android:layout_gravity="center"
android:text="Button" />
<Button
android:id="@+id/button2"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_marginStart="50dp"
android:gravity="start|center_vertical"
android:backgroundTint="#2196F3"
android:textColor="@color/black"
android:text="Button" />
<Button
android:id="@+id/button3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="50dp"
android:text="Button" />
</LinearLayout>