This repository has been archived by the owner on Aug 17, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathactivity_secend.xml
53 lines (41 loc) · 2.28 KB
/
activity_secend.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
<?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:id="@+id/backgroundLayout"
tools:context="com.github.sshadkany.android_neumorphic_test_app.SecendActivity">
<!-- <com.github.sshadkany.shapes.PolygonView-->
<!-- android:id="@+id/my_polygon"-->
<!-- android:layout_width="0dp"-->
<!-- android:layout_height="0dp"-->
<!-- android:layout_margin="5dp"-->
<!-- app:layout_constraintBottom_toBottomOf="parent"-->
<!-- app:layout_constraintEnd_toEndOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent"-->
<!-- app:shape_polygon_backgroundColor="#ECF0F3"-->
<!-- app:shape_polygon_shadow_type="drop_shadow"-->
<!-- app:shape_polygon_side="3">-->
<!-- </com.github.sshadkany.shapes.PolygonView>-->
<!--Dark mode Example -->
<com.github.sshadkany.shapes.RoundRectView
android:id="@+id/roundRectView"
android:layout_width="300dp"
android:layout_height="300dp"
android:layout_margin="5dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:shape_roundRect_backgroundColor="#303234"
app:shape_roundRect_light_color="#66494949"
app:shape_roundRect_dark_color="#66000000"
app:shape_roundRect_bottomLeftRadius="12dp"
app:shape_roundRect_bottomRightRadius="12dp"
app:shape_roundRect_topLeftRadius="12dp"
app:shape_roundRect_topRightRadius="12dp"
app:shape_roundRect_shadow_type="drop_shadow">
</com.github.sshadkany.shapes.RoundRectView>
</androidx.constraintlayout.widget.ConstraintLayout>