Proyectos de Subversion Android Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?xml version="1.0" encoding="utf-8"?>
2
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3
    xmlns:app="http://schemas.android.com/apk/res-auto"
4
    xmlns:tools="http://schemas.android.com/tools"
5
    android:layout_width="match_parent"
6
    android:layout_height="wrap_content"
7
    android:minHeight="320dp"
8
    android:layout_marginTop="8dp"
9
    android:layout_marginBottom="8dp"
10
    android:layout_marginLeft="8dp"
11
    android:layout_marginRight="8dp"
12
    android:padding="0dp"
13
    android:background="@drawable/cardview_background_capsule">
14
 
15
        <androidx.constraintlayout.widget.ConstraintLayout
16
            android:layout_width="match_parent"
17
            android:layout_height="match_parent"
18
            android:padding="0dp">
19
 
20
            <androidx.constraintlayout.widget.ConstraintLayout
21
                android:layout_width="match_parent"
22
                android:layout_height="match_parent">
23
 
24
                <TextView
25
                    android:id="@+id/fragment_slide_listitem_name"
26
                    style="@style/textview_capsule_name"
27
                    android:layout_width="0dp"
28
                    android:layout_height="wrap_content"
29
                    android:layout_marginTop="10dp"
30
                    android:text="TextView"
31
                    android:textAlignment="center"
32
                    app:layout_constraintLeft_toLeftOf="parent"
33
                    app:layout_constraintRight_toRightOf="parent"
34
                    app:layout_constraintTop_toTopOf="parent"
35
                    app:layout_constraintWidth_percent="0.9" />
36
 
37
                <!--
38
                <me.biubiubiu.justifytext.library.JustifyTextView
39
                    android:id="@+id/fragment_capsule_listitem_name"
40
                    style="@style/textview_capsule_name"
41
                    android:layout_width="0dp"
42
                    android:layout_height="wrap_content"
43
                    android:layout_marginTop="10dp"
44
                    android:text="TextView"
45
                    android:textAlignment="center"
46
                    app:layout_constraintLeft_toLeftOf="parent"
47
                    app:layout_constraintRight_toRightOf="parent"
48
                    app:layout_constraintTop_toTopOf="parent"
49
                    app:layout_constraintWidth_percent="0.9" />
50
                -->
51
 
52
                <ImageView
53
                    android:id="@+id/fragment_slide_listitem_image"
54
                    android:layout_width="match_parent"
55
                    android:layout_height="wrap_content"
56
                    android:adjustViewBounds="true"
57
                    android:padding="10dp"
58
 
59
                    android:scaleType="fitCenter"
60
                    app:layout_constraintLeft_toLeftOf="parent"
61
                    app:layout_constraintRight_toRightOf="parent"
62
                    app:layout_constraintTop_toBottomOf="@id/fragment_slide_listitem_name"
63
                    tools:srcCompat="@tools:sample/avatars" />
64
 
65
            </androidx.constraintlayout.widget.ConstraintLayout>
66
 
67
 
68
 
69
            <ImageView
70
                android:id="@+id/fragment_slide_listitem_check_ready"
71
                android:layout_width="wrap_content"
72
                android:layout_height="wrap_content"
73
                app:layout_constraintBottom_toBottomOf="parent"
74
                app:layout_constraintHorizontal_bias="0.9"
75
                app:layout_constraintLeft_toLeftOf="parent"
76
                app:layout_constraintRight_toRightOf="parent"
77
                app:layout_constraintTop_toTopOf="parent"
78
                app:layout_constraintVertical_bias="0.2"
79
                app:srcCompat="@drawable/ic_check_circle_black_24dp" />
80
 
81
 
82
        </androidx.constraintlayout.widget.ConstraintLayout>
83
 
84
 
85
 
86
</LinearLayout>