Proyectos de Subversion Android Microlearning - Nuevo Interface

Rev

Rev 1 | Rev 8 | Ir a la última revisión | | Comparar con el anterior | 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
    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"
7 gabriel 22
            android:layout_height="?attr/actionBarSize"
23
            android:visibility="visible"
24
            tools:visibility="visible" />
1 gabriel 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="fill_parent"
35
                android:layout_height="fill_parent"
36
                app:layout_constraintBottom_toBottomOf="parent"
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
 
54
            <TextView
55
                android:id="@+id/main_activity_text_view_message_not_connection"
56
                android:layout_width="match_parent"
57
                android:layout_height="wrap_content"
58
                android:background="@drawable/message_not_connection"
59
                android:text="@string/error_need_active_data_connection"
60
                android:textColor="@color/white"
61
                android:textSize="18dp"
62
                android:visibility="invisible"
63
                app:layout_constraintBottom_toBottomOf="parent"
64
                app:layout_constraintLeft_toLeftOf="parent"
65
                app:layout_constraintRight_toRightOf="parent" />
66
 
67
 
68
        </androidx.constraintlayout.widget.ConstraintLayout>
69
 
70
 
71
    </LinearLayout>
72
 
73
        <!--
74
    <LinearLayout
75
        android:id="@+id/home_content"
76
        android:layout_width="match_parent"
77
        android:layout_height="match_parent"
78
        android:orientation="vertical">
79
 
80
        <com.google.android.material.appbar.MaterialToolbar
81
            android:id="@+id/toolbar"
82
            android:layout_width="match_parent"
83
            android:layout_height="?attr/actionBarSize" />
84
 
85
        <FrameLayout
86
            android:id="@+id/fragment_container"
87
            android:layout_width="match_parent"
88
            android:layout_height="match_parent" />
89
 
90
        <TextView
91
            android:layout_width="match_parent"
92
            android:layout_height="wrap_content"
93
            android:text="No hay conexión" />
94
 
95
    </LinearLayout>
96
-->
97
 
98
 
99
    <com.google.android.material.navigation.NavigationView
100
        android:id="@+id/navigation_view"
101
        android:layout_width="wrap_content"
102
        android:layout_height="match_parent"
103
        android:layout_gravity="start"
104
        android:fitsSystemWindows="true"
7 gabriel 105
        android:visibility="gone"
1 gabriel 106
        app:headerLayout="@layout/nav_header"
107
        app:itemBackground="@drawable/drawer_background_selector"
108
        app:itemIconTint="@drawable/drawer_selector"
109
        app:itemTextColor="@drawable/drawer_selector"
7 gabriel 110
        app:menu="@menu/activity_main_drawer"
111
        tools:visibility="gone" />
1 gabriel 112
 
113
    <!--
114
         "
115
    -->
116
 
117
 
118
 
119
</androidx.drawerlayout.widget.DrawerLayout>