| Línea 2... |
Línea 2... |
| 2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| 3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
3 |
xmlns:app="http://schemas.android.com/apk/res-auto"
|
| 4 |
xmlns:tools="http://schemas.android.com/tools"
|
4 |
xmlns:tools="http://schemas.android.com/tools"
|
| 5 |
android:layout_width="match_parent"
|
5 |
android:layout_width="match_parent"
|
| 6 |
android:layout_height="wrap_content"
|
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"
|
7 |
android:layout_marginLeft="8dp"
|
| - |
|
8 |
android:layout_marginTop="8dp"
|
| 11 |
android:layout_marginRight="8dp"
|
9 |
android:layout_marginRight="8dp"
|
| 12 |
android:padding="0dp"
|
10 |
android:layout_marginBottom="8dp"
|
| 13 |
android:background="@drawable/cardview_background_capsule">
|
11 |
android:background="@drawable/cardview_background_topic"
|
| - |
|
12 |
android:minHeight="320dp"
|
| - |
|
13 |
android:padding="0dp">
|
| - |
|
14 |
|
| - |
|
15 |
<androidx.constraintlayout.widget.ConstraintLayout
|
| - |
|
16 |
android:layout_width="match_parent"
|
| - |
|
17 |
android:layout_height="match_parent"
|
| - |
|
18 |
android:padding="0dp">
|
| Línea 14... |
Línea 19... |
| 14 |
|
19 |
|
| 15 |
<androidx.constraintlayout.widget.ConstraintLayout
|
20 |
<androidx.constraintlayout.widget.ConstraintLayout
|
| 16 |
android:layout_width="match_parent"
|
21 |
android:layout_width="match_parent"
|
| 17 |
android:layout_height="match_parent"
|
- |
|
| Línea 18... |
Línea -... |
| 18 |
android:padding="0dp">
|
- |
|
| 19 |
|
- |
|
| 20 |
<androidx.constraintlayout.widget.ConstraintLayout
|
- |
|
| 21 |
android:layout_width="match_parent"
|
- |
|
| 22 |
android:layout_height="match_parent">
|
22 |
android:layout_height="match_parent">
|
| 23 |
|
23 |
|
| 24 |
<TextView
|
24 |
<TextView
|
| 25 |
android:id="@+id/fragment_capsule_listitem_name"
|
25 |
android:id="@+id/fragment_capsule_listitem_name"
|
| 26 |
style="@style/textview_capsule_name"
|
26 |
style="@style/textview_capsule_name"
|
| 27 |
android:layout_width="0dp"
|
27 |
android:layout_width="0dp"
|
| 28 |
android:layout_height="wrap_content"
|
28 |
android:layout_height="wrap_content"
|
| 29 |
android:layout_marginTop="10dp"
|
29 |
android:layout_marginTop="10dp"
|
| 30 |
android:text="TextView"
|
30 |
android:text="TextView"
|
| 31 |
android:textAlignment="center"
|
31 |
android:textAlignment="center"
|
| 32 |
app:layout_constraintLeft_toLeftOf="parent"
|
32 |
app:layout_constraintLeft_toLeftOf="parent"
|
| 33 |
app:layout_constraintRight_toRightOf="parent"
|
33 |
app:layout_constraintRight_toRightOf="parent"
|
| Línea 34... |
Línea 34... |
| 34 |
app:layout_constraintTop_toTopOf="parent"
|
34 |
app:layout_constraintTop_toTopOf="parent"
|
| 35 |
app:layout_constraintWidth_percent="0.9" />
|
35 |
app:layout_constraintWidth_percent="0.9" />
|
| 36 |
|
36 |
|
| 37 |
<!--
|
37 |
<!--
|
| 38 |
<me.biubiubiu.justifytext.library.JustifyTextView
|
38 |
<me.biubiubiu.justifytext.library.JustifyTextView
|
| 39 |
android:id="@+id/fragment_capsule_listitem_name"
|
39 |
android:id="@+id/fragment_capsule_listitem_name"
|
| Línea 47... |
Línea 47... |
| 47 |
app:layout_constraintRight_toRightOf="parent"
|
47 |
app:layout_constraintRight_toRightOf="parent"
|
| 48 |
app:layout_constraintTop_toTopOf="parent"
|
48 |
app:layout_constraintTop_toTopOf="parent"
|
| 49 |
app:layout_constraintWidth_percent="0.9" />
|
49 |
app:layout_constraintWidth_percent="0.9" />
|
| 50 |
-->
|
50 |
-->
|
| Línea 51... |
Línea 51... |
| 51 |
|
51 |
|
| 52 |
<ImageView
|
52 |
<ImageView
|
| 53 |
android:id="@+id/fragment_capsule_listitem_image"
|
53 |
android:id="@+id/fragment_capsule_listitem_image"
|
| 54 |
android:layout_width="match_parent"
|
54 |
android:layout_width="match_parent"
|
| 55 |
android:layout_height="wrap_content"
|
55 |
android:layout_height="wrap_content"
|
| 56 |
android:adjustViewBounds="true"
|
56 |
android:adjustViewBounds="true"
|
| Línea 57... |
Línea 57... |
| 57 |
android:padding="10dp"
|
57 |
android:padding="10dp"
|
| 58 |
|
58 |
|
| 59 |
android:scaleType="fitCenter"
|
59 |
android:scaleType="fitCenter"
|
| 60 |
app:layout_constraintLeft_toLeftOf="parent"
|
60 |
app:layout_constraintLeft_toLeftOf="parent"
|
| 61 |
app:layout_constraintRight_toRightOf="parent"
|
61 |
app:layout_constraintRight_toRightOf="parent"
|
| Línea 62... |
Línea 62... |
| 62 |
app:layout_constraintTop_toBottomOf="@id/fragment_capsule_listitem_name"
|
62 |
app:layout_constraintTop_toBottomOf="@id/fragment_capsule_listitem_name"
|
| Línea 63... |
Línea 63... |
| 63 |
tools:srcCompat="@tools:sample/avatars" />
|
63 |
tools:srcCompat="@tools:sample/avatars" />
|
| Línea 64... |
Línea 64... |
| 64 |
|
64 |
|
| 65 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
65 |
</androidx.constraintlayout.widget.ConstraintLayout>
|
| 66 |
|
66 |
|
| 67 |
|
67 |
|
| 68 |
<androidx.constraintlayout.widget.ConstraintLayout
|
68 |
<androidx.constraintlayout.widget.ConstraintLayout
|
| 69 |
|
69 |
|
| Línea 70... |
Línea 70... |
| 70 |
android:layout_width="match_parent"
|
70 |
android:layout_width="match_parent"
|
| 71 |
android:layout_height="wrap_content"
|
71 |
android:layout_height="wrap_content"
|
| 72 |
android:background="@drawable/cardview_footer_capsule"
|
72 |
android:background="@drawable/cardview_footer_capsule"
|
| 73 |
android:minHeight="20dp"
|
73 |
android:minHeight="20dp"
|
| 74 |
app:layout_constraintBottom_toBottomOf="parent"
|
74 |
app:layout_constraintBottom_toBottomOf="parent"
|
| 75 |
app:layout_constraintEnd_toEndOf="parent" >
|
75 |
app:layout_constraintEnd_toEndOf="parent">
|
| 76 |
|
76 |
|
| 77 |
<!--
|
77 |
<!--
|
| 78 |
style="?android:attr/progressBarStyleHorizontal"
|
78 |
style="?android:attr/progressBarStyleHorizontal"
|
| 79 |
-->
|
79 |
-->
|
| 80 |
<ProgressBar
|
80 |
<ProgressBar
|
| 81 |
android:id="@+id/fragment_capsule_listitem_progressbar"
|
81 |
android:id="@+id/fragment_capsule_listitem_progressbar"
|
| 82 |
style="@style/topic_custom_progress_bar_horizontal"
|
82 |
style="@style/topic_custom_progress_bar_horizontal"
|
| 83 |
android:layout_width="0dp"
|
- |
|
| 84 |
android:layout_height="wrap_content"
|
- |
|
| 85 |
android:layout_marginLeft="16dp"
|
- |
|
| 86 |
android:max="100"
|
- |
|
| 87 |
android:progress="50"
|
- |
|
| 88 |
android:progressBackgroundTint="@color/backgroundTopicProgressBar"
|
- |
|
| 89 |
android:progressTint="@color/foregroundTopicProgressBar"
|
- |
|
| 90 |
app:layout_constraintBottom_toBottomOf="parent"
|
- |
|
| 91 |
|
- |
|
| 92 |
app:layout_constraintLeft_toLeftOf="parent"
|
- |
|
| 93 |
app:layout_constraintTop_toTopOf="parent"
|
- |
|
| 94 |
app:layout_constraintWidth_percent="0.5" />
|
- |
|
| 95 |
|
- |
|
| 96 |
<TextView
|
83 |
android:layout_width="0dp"
|
| 97 |
android:id="@+id/fragment_capsule_listitem_progress"
|
- |
|
| 98 |
style="@style/textview_capsule_progress"
|
- |
|
| 99 |
android:layout_width="0dp"
|
- |
|
| 100 |
android:layout_height="wrap_content"
|
- |
|
| 101 |
android:text="50 %"
|
- |
|
| 102 |
android:textAlignment="center"
|
- |
|
| Línea -... |
Línea 84... |
| - |
|
84 |
android:layout_height="wrap_content"
|
| - |
|
85 |
android:layout_marginLeft="16dp"
|
| - |
|
86 |
android:max="100"
|
| - |
|
87 |
android:progress="50"
|
| - |
|
88 |
android:progressBackgroundTint="@color/backgroundTopicProgressBar"
|
| - |
|
89 |
android:progressTint="@color/foregroundTopicProgressBar"
|
| - |
|
90 |
app:layout_constraintBottom_toBottomOf="parent"
|
| - |
|
91 |
|
| - |
|
92 |
app:layout_constraintLeft_toLeftOf="parent"
|
| - |
|
93 |
app:layout_constraintTop_toTopOf="parent"
|
| - |
|
94 |
app:layout_constraintWidth_percent="0.5" />
|
| - |
|
95 |
|
| - |
|
96 |
<TextView
|
| - |
|
97 |
android:id="@+id/fragment_capsule_listitem_progress"
|
| - |
|
98 |
style="@style/textview_capsule_progress"
|
| - |
|
99 |
android:layout_width="0dp"
|
| Línea 103... |
Línea 100... |
| 103 |
app:layout_constraintBottom_toBottomOf="parent"
|
100 |
android:layout_height="wrap_content"
|
| Línea -... |
Línea 101... |
| - |
|
101 |
android:text="50 %"
|
| - |
|
102 |
android:textAlignment="center"
|
| Línea 104... |
Línea 103... |
| 104 |
app:layout_constraintLeft_toRightOf="@id/fragment_capsule_listitem_progressbar"
|
103 |
app:layout_constraintBottom_toBottomOf="parent"
|
| 105 |
app:layout_constraintRight_toRightOf="parent"
|
104 |
app:layout_constraintLeft_toRightOf="@id/fragment_capsule_listitem_progressbar"
|