forked from sshadkany/Android_neumorphic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathactivity_style.xml
86 lines (77 loc) · 3.33 KB
/
activity_style.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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="#ECF0F3"
tools:context=".ActivityStyle">
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="drop shadow"
android:textSize="24sp"
app:layout_constraintBottom_toBottomOf="@+id/btn35"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btn35"
app:layout_constraintTop_toTopOf="@+id/btn35" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="small inner shadow"
android:textSize="24sp"
app:layout_constraintBottom_toBottomOf="@+id/btn36"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btn36"
app:layout_constraintTop_toTopOf="@+id/btn36" />
<TextView
android:id="@+id/textView4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="big inner shadow"
android:textSize="24sp"
app:layout_constraintBottom_toBottomOf="@+id/btn37"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btn37"
app:layout_constraintTop_toTopOf="@+id/btn37" />
<TextView
android:id="@+id/header"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:lines="2"
android:text="shape_circle_shadow_type="
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.github.sshadkany.shapes.CircleView
android:id="@+id/btn35"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_margin="5dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/header"
app:shape_circle_backgroundColor="#ECF0F3"
app:shape_circle_shadow_type="drop_shadow" />
<com.github.sshadkany.shapes.CircleView
android:id="@+id/btn36"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_margin="5dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btn35"
app:shape_circle_backgroundColor="#ECF0F3"
app:shape_circle_shadow_type="small_inner_shadow" />
<com.github.sshadkany.shapes.CircleView
android:id="@+id/btn37"
android:layout_width="200dp"
android:layout_height="200dp"
android:layout_margin="5dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btn36"
app:shape_circle_backgroundColor="#ECF0F3"
app:shape_circle_shadow_type="big_inner_shadow" />
</androidx.constraintlayout.widget.ConstraintLayout>