android:theme="@style/AppTheme.AppBarOverlay"
tools:context=".ui.activity.MainActivity">
- <android.support.v7.widget.Toolbar
+ <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay" />
- <android.support.v4.widget.DrawerLayout
+ <androidx.drawerlayout.widget.DrawerLayout
android:id="@+id/drawer_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:openDrawer="start">
- <android.support.constraint.ConstraintLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
- <android.support.constraint.ConstraintLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/pager_layout"
android:layout_width="match_parent"
android:layout_height="match_parent">
- <android.support.design.widget.FloatingActionButton
+ <com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/btn_add_transaction"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
</LinearLayout>
- <android.support.v4.view.ViewPager
+ <androidx.viewpager.widget.ViewPager
android:id="@+id/root_frame"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/main_header">
- </android.support.v4.view.ViewPager>
+ </androidx.viewpager.widget.ViewPager>
<View
android:layout_width="0dp"
app:layout_constraintTop_toBottomOf="@id/main_header" />
- </android.support.constraint.ConstraintLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
<include layout="@layout/no_profiles" />
- </android.support.constraint.ConstraintLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- <android.support.design.widget.NavigationView
+ <com.google.android.material.navigation.NavigationView
android:id="@+id/nav_view"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:theme="@style/ThemeOverlay.AppCompat.Light">
- <android.support.constraint.ConstraintLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="0dp"
android:id="@+id/nav_upper"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:divider="@drawable/list_divider_inside_out"
android:orientation="vertical"
+ android:showDividers="beginning"
app:layout_constraintBottom_toTopOf="@+id/nav_fixed_items"
app:layout_constraintTop_toBottomOf="@+id/nav_header">
</LinearLayout>
</ScrollView>
- </android.support.constraint.ConstraintLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
- </android.support.design.widget.NavigationView>
+ </com.google.android.material.navigation.NavigationView>
- </android.support.v4.widget.DrawerLayout>
+ </androidx.drawerlayout.widget.DrawerLayout>
</LinearLayout>