Proyectos de Subversion Android Microlearning - Inconcert

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 gabriel 1
<?xml version="1.0" encoding="utf-8"?>
2
<androidx.drawerlayout.widget.DrawerLayout 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:id="@+id/drawer_layout"
6
    android:layout_width="match_parent"
7
    android:layout_height="match_parent"
8
    android:fitsSystemWindows="true"
9
    android:background="@color/backgroundTopicFooter"
10
   >
11
 
12
 
13
    <LinearLayout
14
        android:id="@+id/home_content"
15
        android:layout_width="match_parent"
16
        android:layout_height="match_parent"
17
        android:orientation="vertical">
18
 
19
        <com.google.android.material.appbar.MaterialToolbar
20
            android:id="@+id/toolbar"
21
            android:layout_width="match_parent"
22
            android:layout_height="?attr/actionBarSize"
23
            android:visibility="visible"
24
            android:background="@color/windowBackgroud"/>
25
 
26
 
27
        <androidx.constraintlayout.widget.ConstraintLayout
28
            android:layout_width="fill_parent"
29
            android:layout_height="fill_parent"
30
            android:orientation="vertical">
31
 
32
            <FrameLayout
33
                android:id="@+id/fragment_container"
34
                android:layout_width="0dp"
35
                android:layout_height="0dp"
36
                app:layout_constraintBottom_toTopOf="@+id/bottomNavigationView"
37
                app:layout_constraintEnd_toEndOf="parent"
38
                app:layout_constraintStart_toStartOf="parent"
39
                app:layout_constraintTop_toTopOf="parent" />
40
 
41
            <ProgressBar
42
                android:id="@+id/progressBar"
43
                style="?android:attr/progressBarStyleLarge"
44
                android:layout_width="wrap_content"
45
                android:layout_height="wrap_content"
46
                android:max="100"
47
                android:progress="0"
48
                android:visibility="invisible"
49
                app:layout_constraintBottom_toBottomOf="parent"
50
                app:layout_constraintLeft_toLeftOf="parent"
51
                app:layout_constraintRight_toRightOf="parent"
52
                app:layout_constraintTop_toTopOf="parent"
53
                tools:visibility="gone" />
54
 
55
            <TextView
56
                android:id="@+id/main_activity_text_view_message_not_connection"
57
                android:layout_width="match_parent"
58
                android:layout_height="wrap_content"
59
                android:background="@drawable/message_not_connection"
60
                android:text="@string/error_need_active_data_connection"
61
                android:textColor="@color/white"
62
                android:textSize="18dp"
63
                android:visibility="invisible"
64
                app:layout_constraintBottom_toBottomOf="parent"
65
                app:layout_constraintLeft_toLeftOf="parent"
66
                app:layout_constraintRight_toRightOf="parent"
67
                tools:visibility="gone" />
68
 
69
            <com.google.android.material.bottomnavigation.BottomNavigationView
70
                android:id="@+id/bottomNavigationView"
71
                android:layout_width="0dp"
72
                android:layout_height="wrap_content"
73
                android:background="@color/windowBackgroud"
74
                app:itemTextColor="@color/buttonNavigationItems"
75
                app:labelVisibilityMode="labeled"
76
                app:layout_constraintBottom_toBottomOf="parent"
77
                app:layout_constraintEnd_toEndOf="parent"
78
                app:layout_constraintStart_toStartOf="parent"
79
                app:menu="@menu/navigation_items" />
80
 
81
 
82
        </androidx.constraintlayout.widget.ConstraintLayout>
83
 
84
 
85
    </LinearLayout>
86
 
87
        <!--
88
    <LinearLayout
89
        android:id="@+id/home_content"
90
        android:layout_width="match_parent"
91
        android:layout_height="match_parent"
92
        android:orientation="vertical">
93
 
94
        <com.google.android.material.appbar.MaterialToolbar
95
            android:id="@+id/toolbar"
96
            android:layout_width="match_parent"
97
            android:layout_height="?attr/actionBarSize" />
98
 
99
        <FrameLayout
100
            android:id="@+id/fragment_container"
101
            android:layout_width="match_parent"
102
            android:layout_height="match_parent" />
103
 
104
        <TextView
105
            android:layout_width="match_parent"
106
            android:layout_height="wrap_content"
107
            android:text="No hay conexión" />
108
 
109
    </LinearLayout>
110
-->
111
 
112
 
113
 
114
 
115
</androidx.drawerlayout.widget.DrawerLayout>