Browse code

Initial commit (losing old history)

Dario Rodriguez authored on 08/04/2026 17:25:38
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,94 @@
1
+<?xml version="1.0" encoding="utf-8"?><!--
2
+  ~ Copyright (c) 2023 Samson Achiaga
3
+  ~
4
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
5
+  ~ you may not use this file except in compliance with the License.
6
+  ~ You may obtain a copy of the License at
7
+  ~
8
+  ~     http://www.apache.org/licenses/LICENSE-2.0
9
+  ~
10
+  ~ Unless required by applicable law or agreed to in writing, software
11
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
12
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+  ~ See the License for the specific language governing permissions and
14
+  ~ limitations under the License.
15
+  -->
16
+
17
+<layout xmlns:tools="http://schemas.android.com/tools"
18
+    xmlns:app="http://schemas.android.com/apk/res-auto">
19
+
20
+    <data>
21
+
22
+        <variable
23
+            name="sliderItem"
24
+            type="com.certified.audionote.model.SliderItem" />
25
+    </data>
26
+
27
+    <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
28
+        android:layout_width="match_parent"
29
+        android:layout_height="match_parent">
30
+
31
+        <androidx.appcompat.widget.AppCompatImageView
32
+            android:id="@+id/animation_view"
33
+            android:layout_width="0dp"
34
+            app:image="@{sliderItem.image}"
35
+            android:layout_height="0dp"
36
+            app:layout_constraintBottom_toTopOf="@+id/tv_title"
37
+            app:layout_constraintDimensionRatio="1:1"
38
+            app:layout_constraintEnd_toStartOf="@+id/guideline2"
39
+            app:layout_constraintHorizontal_bias="0.5"
40
+            app:layout_constraintStart_toStartOf="@+id/guideline"
41
+            app:layout_constraintTop_toTopOf="parent"
42
+            app:layout_constraintVertical_chainStyle="packed"/>
43
+
44
+        <TextView
45
+            android:id="@+id/tv_title"
46
+            android:fontFamily="@font/open_sans_bold_italic"
47
+            android:textColor="@color/titleText"
48
+            android:layout_width="0dp"
49
+            android:layout_height="wrap_content"
50
+            android:layout_marginTop="@dimen/_16sdp"
51
+            android:textAlignment="center"
52
+            android:text="@{sliderItem.title}"
53
+            android:textSize="@dimen/_18ssp"
54
+            app:layout_constraintBottom_toTopOf="@+id/tv_description"
55
+            app:layout_constraintEnd_toStartOf="@+id/guideline2"
56
+            app:layout_constraintHorizontal_bias="0.5"
57
+            app:layout_constraintStart_toStartOf="@+id/guideline"
58
+            app:layout_constraintTop_toBottomOf="@+id/animation_view"
59
+            tools:text="TextView" />
60
+
61
+        <TextView
62
+            android:id="@+id/tv_description"
63
+            android:textColor="@color/titleText"
64
+            android:fontFamily="@font/open_sans_medium_italic"
65
+            android:layout_width="0dp"
66
+            android:layout_height="wrap_content"
67
+            android:alpha=".7"
68
+            android:layout_marginTop="@dimen/_8sdp"
69
+            android:gravity="center"
70
+            android:text="@{sliderItem.description}"
71
+            android:textSize="@dimen/_12ssp"
72
+            app:layout_constraintBottom_toBottomOf="parent"
73
+            app:layout_constraintEnd_toStartOf="@+id/guideline2"
74
+            app:layout_constraintHorizontal_bias="0.5"
75
+            app:layout_constraintStart_toStartOf="@+id/guideline"
76
+            app:layout_constraintTop_toBottomOf="@+id/tv_title"
77
+            tools:text="TextView" />
78
+
79
+        <androidx.constraintlayout.widget.Guideline
80
+            android:id="@+id/guideline"
81
+            android:layout_width="wrap_content"
82
+            android:layout_height="wrap_content"
83
+            android:orientation="vertical"
84
+            app:layout_constraintGuide_percent="0.1" />
85
+
86
+        <androidx.constraintlayout.widget.Guideline
87
+            android:id="@+id/guideline2"
88
+            android:layout_width="wrap_content"
89
+            android:layout_height="wrap_content"
90
+            android:orientation="vertical"
91
+            app:layout_constraintGuide_percent="0.9" />
92
+
93
+    </androidx.constraintlayout.widget.ConstraintLayout>
94
+</layout>
0 95
\ No newline at end of file