Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 66 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
2 gabriel 1
<?xml version="1.0" encoding="utf-8"?>
8 gabriel 2
 
3
 
2 gabriel 4
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
5
    xmlns:app="http://schemas.android.com/apk/res-auto"
6
    xmlns:tools="http://schemas.android.com/tools"
7
    android:id="@+id/frameLayout"
8
    android:layout_width="match_parent"
9
    android:layout_height="match_parent"
10
    android:background="@color/white"
8 gabriel 11
    android:animateLayoutChanges="true"
71 efrain 12
    tools:context=".fragment.MyCapsulesFragment">
2 gabriel 13
 
14
 
8 gabriel 15
 
2 gabriel 16
    <TextView
71 efrain 17
        android:id="@+id/fragment_my_capsules_textview_hello_username"
2 gabriel 18
        android:layout_width="wrap_content"
19
        android:layout_height="wrap_content"
4 gabriel 20
        android:fontFamily="@font/roboto"
71 efrain 21
        android:text="@string/my_capsules_hello_username"
2 gabriel 22
        android:textAlignment="textStart"
23
        android:textColor="@color/black"
24
        android:textSize="30sp"
25
        android:textStyle="bold"
26
        app:layout_constraintBottom_toBottomOf="parent"
27
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 28
        app:layout_constraintHorizontal_bias="0.072"
2 gabriel 29
        app:layout_constraintStart_toStartOf="parent"
30
        app:layout_constraintTop_toTopOf="parent"
8 gabriel 31
        app:layout_constraintVertical_bias="0.004" />
2 gabriel 32
 
33
    <TextView
71 efrain 34
        android:id="@+id/fragment_my_capsules_textview_welcome"
2 gabriel 35
        android:layout_width="wrap_content"
36
        android:layout_height="wrap_content"
8 gabriel 37
        android:layout_marginTop="12dp"
4 gabriel 38
        android:fontFamily="@font/roboto"
71 efrain 39
        android:text="@string/my_capsules_text_welcome"
2 gabriel 40
        android:textColor="@color/black"
41
        android:textSize="20sp"
42
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 43
        app:layout_constraintHorizontal_bias="0.085"
2 gabriel 44
        app:layout_constraintStart_toStartOf="parent"
71 efrain 45
        app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_hello_username" />
2 gabriel 46
 
9 gabriel 47
    <include
71 efrain 48
        android:id="@+id/fragment_my_capsules_include_cardview"
49
        layout="@layout/fragment_my_capsules_cardview"
9 gabriel 50
        android:layout_width="0dp"
51
        android:layout_height="wrap_content"
52
        app:layout_constraintEnd_toEndOf="parent"
53
        app:layout_constraintStart_toStartOf="parent"
71 efrain 54
        app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_textview_welcome" />
9 gabriel 55
 
71 efrain 56
    <!--
2 gabriel 57
    <androidx.recyclerview.widget.RecyclerView
71 efrain 58
        android:id="@+id/fragment_my_capsules_listing_capsules"
2 gabriel 59
        android:layout_width="0dp"
60
        android:layout_height="wrap_content"
9 gabriel 61
        android:visibility="gone"
2 gabriel 62
        app:layout_constraintEnd_toEndOf="parent"
63
        app:layout_constraintHorizontal_bias="0.0"
64
        app:layout_constraintStart_toStartOf="parent"
9 gabriel 65
        app:layout_constraintTop_toBottomOf="@+id/textView15"
66
        tools:visibility="gone">
2 gabriel 67
 
71 efrain 68
 
2 gabriel 69
    </androidx.recyclerview.widget.RecyclerView>
71 efrain 70
    -->
2 gabriel 71
 
4 gabriel 72
    <com.google.android.material.tabs.TabLayout
71 efrain 73
        android:id="@+id/fragment_my_capsules_tabLayout"
4 gabriel 74
        android:layout_width="0dp"
75
        android:layout_height="wrap_content"
2 gabriel 76
        app:layout_constraintEnd_toEndOf="parent"
4 gabriel 77
        app:layout_constraintHorizontal_bias="1.0"
2 gabriel 78
        app:layout_constraintStart_toStartOf="parent"
71 efrain 79
        app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_include_cardview"
8 gabriel 80
        app:tabIndicatorColor="@color/buttonIntroBackground">
2 gabriel 81
 
4 gabriel 82
        <com.google.android.material.tabs.TabItem
8 gabriel 83
            android:id="@+id/tabItem"
4 gabriel 84
            android:layout_width="wrap_content"
85
            android:layout_height="wrap_content"
71 efrain 86
            android:text="@string/my_capsules_tab_pending" />
4 gabriel 87
 
88
        <com.google.android.material.tabs.TabItem
89
            android:layout_width="wrap_content"
90
            android:layout_height="wrap_content"
71 efrain 91
            android:text="@string/my_capsules_tab_in_progress" />
4 gabriel 92
 
93
        <com.google.android.material.tabs.TabItem
94
            android:layout_width="wrap_content"
95
            android:layout_height="wrap_content"
71 efrain 96
            android:text="@string/my_capsules_tab_completed" />
4 gabriel 97
    </com.google.android.material.tabs.TabLayout>
98
 
8 gabriel 99
    <LinearLayout
100
        android:id="@+id/linearLayout"
2 gabriel 101
        android:layout_width="0dp"
8 gabriel 102
        android:layout_height="wrap_content"
103
        android:background="@color/colorNudeNew"
104
        android:gravity="center"
105
        android:orientation="horizontal"
34 gabriel 106
        android:focusable="true"
107
        android:focusableInTouchMode="true"
2 gabriel 108
        app:layout_constraintEnd_toEndOf="parent"
109
        app:layout_constraintStart_toStartOf="parent"
71 efrain 110
        app:layout_constraintTop_toBottomOf="@+id/fragment_my_capsules_tabLayout">
2 gabriel 111
 
8 gabriel 112
        <EditText
71 efrain 113
            android:id="@+id/fragment_my_capsules_edit_text_search"
8 gabriel 114
            android:layout_width="match_parent"
115
            android:layout_height="35dp"
116
            android:layout_margin="15dp"
117
            android:background="@drawable/edit_rounded_search"
118
            android:drawableEnd="@drawable/search"
119
            android:ems="10"
71 efrain 120
            android:hint="@string/my_capsules_place_holder_search"
8 gabriel 121
            android:inputType="textPersonName"
122
            android:paddingStart="10dp"
123
            android:paddingEnd="10dp"
124
            android:textColor="@color/colorTextColor"
125
            android:textSize="14sp"
126
            tools:visibility="visible" />
127
 
128
    </LinearLayout>
129
 
130
    <androidx.recyclerview.widget.RecyclerView
71 efrain 131
        android:id="@+id/fragment_my_capsules_listing_capsules"
2 gabriel 132
        android:layout_width="0dp"
8 gabriel 133
        android:layout_height="0dp"
2 gabriel 134
        app:layout_constraintBottom_toBottomOf="parent"
135
        app:layout_constraintEnd_toEndOf="parent"
8 gabriel 136
        app:layout_constraintHorizontal_bias="0.0"
2 gabriel 137
        app:layout_constraintStart_toStartOf="parent"
8 gabriel 138
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
9 gabriel 139
        app:layout_constraintVertical_bias="0.0"
71 efrain 140
         />
141
    <!--
142
    tools:visibility="gone"
143
    -->
2 gabriel 144
 
66 gabriel 145
    <TextView
71 efrain 146
        android:id="@+id/fragment_my_capsules_textview_listing_empty"
66 gabriel 147
        android:layout_width="wrap_content"
148
        android:layout_height="wrap_content"
71 efrain 149
        android:text="@string/my_capsules_listing_empty"
66 gabriel 150
        android:textColor="@color/colorTextColor"
151
        app:layout_constraintBottom_toBottomOf="parent"
152
        app:layout_constraintEnd_toEndOf="parent"
153
        app:layout_constraintStart_toStartOf="parent"
154
        app:layout_constraintTop_toBottomOf="@+id/linearLayout"
71 efrain 155
         />
66 gabriel 156
 
71 efrain 157
    <!--
158
    tools:visibility="gone"
159
    -->
160
 
66 gabriel 161
</androidx.constraintlayout.widget.ConstraintLayout>