item_principal.xml
3.42 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView 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="wrap_content"
android:layout_margin="5dp"
app:cardCornerRadius="5dp"
app:cardElevation="10dp"
app:cardPreventCornerOverlap="false">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal|center_vertical"
android:orientation="vertical">
<!-- <androidx.appcompat.widget.AppCompatImageView-->
<!-- android:id="@+id/ivCamara"-->
<!-- android:layout_width="80dp"-->
<!-- android:layout_height="80dp"-->
<!-- android:layout_margin="10dp"-->
<!-- android:layout_marginTop="15dp"-->
<!-- android:background="@drawable/boton_redondo2"-->
<!-- android:clickable="true"-->
<!-- android:contentDescription="@string/ibBusCB"-->
<!-- android:elevation="5dp"-->
<!-- android:focusable="false"-->
<!-- android:scaleType="fitEnd"-->
<!-- -->
<!-- app:layout_constraintBottom_toTopOf="@+id/ivFondo"-->
<!-- app:layout_constraintCircleRadius="40dp"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintTop_toTopOf="parent"-->
<!-- />-->
<TextView
android:id="@+id/tvPrincipalinventario"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_margin="10dp"
android:gravity="center"
android:lines="2"
android:background="@drawable/boton_redondo2"
android:textColor="@android:color/black"
android:textSize="@dimen/TitulosMedios"
android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@+id/ivFondo"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:text="99" />
<TextView
android:id="@+id/tvDescription"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="prueba"
app:layout_constraintBottom_toTopOf="@id/ivFondo"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.046"
app:layout_constraintStart_toEndOf="@id/tvPrincipalinventario"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.607" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/ivFondo"
android:layout_width="0dp"
android:layout_height="10dp"
android:background="@android:drawable/progress_horizontal"
android:elevation="10dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintCircleRadius="5dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
tools:srcCompat="@android:drawable/progress_horizontal" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.cardview.widget.CardView>