app_bar_password.xml 1.55 KB
Newer Older
samer's avatar
samer committed
1
<?xml version="1.0" encoding="utf-8"?>
2
<com.google.android.material.appbar.AppBarLayout xmlns:android="http://schemas.android.com/apk/res/android"
samer's avatar
samer committed
3 4 5 6 7 8 9
    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:background="@color/colorPrimary"
    android:theme="@style/Theme.AppCompat.Light.NoActionBar">

10
    <androidx.appcompat.widget.Toolbar
samer's avatar
samer committed
11 12 13 14 15 16 17
        android:id="@+id/toolbar"
        android:layout_width="match_parent"
        android:layout_height="?attr/actionBarSize"
        app:layout_scrollFlags="scroll|enterAlways"
        app:navigationIcon="?android:attr/homeAsUpIndicator"
        app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
        app:theme="@style/ActionModeStyle">
Hussein El Feky's avatar
Hussein El Feky committed
18

samer's avatar
samer committed
19 20 21
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
Hussein El Feky's avatar
Hussein El Feky committed
22

samer's avatar
samer committed
23 24 25 26 27 28 29
            <TextView
                android:id="@+id/text_change_password"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentStart="true"
                android:ellipsize="end"
                android:maxLines="1"
30
                android:textColor="@color/colorWhite"
samer's avatar
samer committed
31 32
                android:textSize="18sp"
                android:textStyle="bold"
33
                tools:text="@string/title_change_password" />
samer's avatar
samer committed
34
        </RelativeLayout>
35
    </androidx.appcompat.widget.Toolbar>
samer's avatar
samer committed
36

37
</com.google.android.material.appbar.AppBarLayout>