summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/item_create_sheet.xml
blob: 7849519a87f321efd2a9a6d3b77d3374c67788b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
  ~ SPDX-License-Identifier: GPL-3.0-only
  -->

<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <com.google.android.material.button.MaterialButton
        android:id="@+id/create_folder"
        style="@style/Widget.MaterialComponents.Button.TextButton"
        android:layout_width="match_parent"
        android:layout_height="@dimen/bottom_sheet_item_height"
        android:layout_margin="@dimen/normal_margin"
        android:text="@string/bottom_sheet_create_new_folder"
        android:textAlignment="viewStart"
        android:textColor="?attr/colorOnSurface"
        app:icon="@drawable/ic_action_new_folder"
        app:iconPadding="@dimen/normal_margin"
        app:iconTint="?attr/colorSecondary"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent"
        app:rippleColor="?attr/colorSecondary" />

    <com.google.android.material.button.MaterialButton
        android:id="@+id/create_password"
        style="@style/Widget.MaterialComponents.Button.TextButton"
        android:layout_width="match_parent"
        android:layout_height="@dimen/bottom_sheet_item_height"
        android:layout_margin="@dimen/normal_margin"
        android:text="@string/bottom_sheet_create_new_password"
        android:textAlignment="viewStart"
        android:textColor="?attr/colorOnSurface"
        app:icon="@drawable/ic_action_new_password"
        app:iconPadding="@dimen/normal_margin"
        app:iconTint="?attr/colorSecondary"
        app:layout_constraintTop_toBottomOf="@id/create_folder"
        app:rippleColor="?attr/colorSecondary" />

</androidx.constraintlayout.widget.ConstraintLayout>