Proyectos de Subversion Android Microlearning

Rev

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

Rev Autor Línea Nro. Línea
1 efrain 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
    tools:openDrawer="start">
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
 
24
 
25
        <androidx.constraintlayout.widget.ConstraintLayout
3 gabriel 26
            android:layout_width="fill_parent"
27
            android:layout_height="fill_parent"
28
            android:orientation="vertical">
1 efrain 29
 
30
            <FrameLayout
31
                android:id="@+id/fragment_container"
3 gabriel 32
                android:layout_width="fill_parent"
33
                android:layout_height="fill_parent"
1 efrain 34
                app:layout_constraintBottom_toBottomOf="parent"
35
                app:layout_constraintEnd_toEndOf="parent"
36
                app:layout_constraintStart_toStartOf="parent"
3 gabriel 37
                app:layout_constraintTop_toTopOf="parent" />
1 efrain 38
 
39
            <ProgressBar
40
                android:id="@+id/progressBar"
41
                style="?android:attr/progressBarStyleLarge"
42
                android:layout_width="wrap_content"
43
                android:layout_height="wrap_content"
3 gabriel 44
                android:max="100"
45
                android:progress="0"
46
                android:visibility="invisible"
1 efrain 47
                app:layout_constraintBottom_toBottomOf="parent"
48
                app:layout_constraintLeft_toLeftOf="parent"
49
                app:layout_constraintRight_toRightOf="parent"
3 gabriel 50
                app:layout_constraintTop_toTopOf="parent" />
1 efrain 51
 
52
            <TextView
53
                android:id="@+id/main_activity_text_view_message_not_connection"
54
                android:layout_width="match_parent"
55
                android:layout_height="wrap_content"
3 gabriel 56
                android:background="@drawable/message_not_connection"
1 efrain 57
                android:text="@string/error_need_active_data_connection"
3 gabriel 58
                android:textColor="@color/white"
1 efrain 59
                android:textSize="18dp"
60
                android:visibility="invisible"
61
                app:layout_constraintBottom_toBottomOf="parent"
62
                app:layout_constraintLeft_toLeftOf="parent"
3 gabriel 63
                app:layout_constraintRight_toRightOf="parent" />
1 efrain 64
 
65
 
66
        </androidx.constraintlayout.widget.ConstraintLayout>
67
 
68
 
69
    </LinearLayout>
70
 
71
        <!--
72
    <LinearLayout
73
        android:id="@+id/home_content"
74
        android:layout_width="match_parent"
75
        android:layout_height="match_parent"
76
        android:orientation="vertical">
77
 
78
        <com.google.android.material.appbar.MaterialToolbar
79
            android:id="@+id/toolbar"
80
            android:layout_width="match_parent"
81
            android:layout_height="?attr/actionBarSize" />
82
 
83
        <FrameLayout
84
            android:id="@+id/fragment_container"
85
            android:layout_width="match_parent"
86
            android:layout_height="match_parent" />
87
 
88
        <TextView
89
            android:layout_width="match_parent"
90
            android:layout_height="wrap_content"
91
            android:text="No hay conexión" />
92
 
93
    </LinearLayout>
94
-->
95
 
96
 
97
    <com.google.android.material.navigation.NavigationView
98
        android:id="@+id/navigation_view"
99
        android:layout_width="wrap_content"
100
        android:layout_height="match_parent"
101
        android:layout_gravity="start"
102
        android:fitsSystemWindows="true"
103
        app:headerLayout="@layout/nav_header"
104
        app:itemBackground="@drawable/drawer_background_selector"
105
        app:itemIconTint="@drawable/drawer_selector"
106
        app:itemTextColor="@drawable/drawer_selector"
107
        app:menu="@menu/activity_main_drawer" />
108
 
109
    <!--
110
         "
111
    -->
112
 
113
 
114
 
115
</androidx.drawerlayout.widget.DrawerLayout>