2017-12-27 22:04:22 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2021-01-17 13:12:43 +01:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2018-01-02 18:49:35 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2019-06-06 00:00:26 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-12-27 22:04:22 +01:00
|
|
|
android:layout_width="match_parent"
|
2019-06-06 00:00:26 +02:00
|
|
|
android:layout_height="match_parent"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:background="?attr/background"
|
|
|
|
android:orientation="vertical"
|
2019-06-06 00:00:26 +02:00
|
|
|
tools:context="com.beemdevelopment.aegis.ui.EditEntryActivity">
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
2018-01-02 18:49:35 +01:00
|
|
|
android:layout_width="match_parent"
|
2018-01-31 18:45:58 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:theme="@style/ThemeOverlay.Aegis.AppBar">
|
|
|
|
<androidx.appcompat.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2018-04-04 22:15:21 +02:00
|
|
|
android:layout_width="match_parent"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:background="?attr/colorAppBar" />
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:descendantFocusability="beforeDescendants"
|
|
|
|
android:focusableInTouchMode="true">
|
2018-04-04 22:15:21 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:background="?attr/background"
|
|
|
|
android:layout_height="250dp">
|
2018-06-06 21:26:09 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
android:id="@+id/profile_drawable"
|
|
|
|
android:layout_width="100dp"
|
|
|
|
android:layout_height="100dp"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true" />
|
2018-06-06 21:26:09 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.avito.android.krop.KropView
|
|
|
|
android:id="@+id/krop_view"
|
2018-06-06 21:57:38 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:visibility="invisible"
|
|
|
|
app:krop_aspectX="1"
|
|
|
|
app:krop_aspectY="1"
|
|
|
|
app:krop_offset="70dp"
|
|
|
|
app:krop_overlayColor="#aadddddd" >
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/iv_saveImage"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|end"
|
|
|
|
android:layout_margin="15dp"
|
|
|
|
android:src="@drawable/ic_check_black_24dp"
|
|
|
|
app:tint="?attr/iconColorPrimary" />
|
|
|
|
</com.avito.android.krop.KropView>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
</RelativeLayout>
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="@color/divider" />
|
|
|
|
<TableLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:stretchColumns="1"
|
|
|
|
android:layout_marginEnd="15dp">
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<ImageView
|
|
|
|
android:layout_column="0"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_person_black_24dp"
|
|
|
|
app:tint="?attr/iconColorPrimary"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_column="1"
|
|
|
|
android:hint="@string/name"
|
2018-12-11 11:44:36 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:layout_weight="1">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/text_name"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="text"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</TableRow>
|
|
|
|
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<LinearLayout android:layout_column="1"
|
2018-12-11 11:44:36 +01:00
|
|
|
android:layout_width="0dp"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:layout_height="wrap_content"
|
2018-12-11 11:44:36 +01:00
|
|
|
android:layout_weight="1"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:hint="@string/issuer"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:layout_weight="1">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/text_issuer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="text"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:hint="@string/group"
|
|
|
|
style="?attr/dropdownStyle">
|
|
|
|
<AutoCompleteTextView
|
|
|
|
android:id="@+id/dropdown_group"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="none"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
|
|
|
android:layout_width="match_parent"
|
2018-04-05 00:07:48 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:id="@+id/accordian_header"
|
|
|
|
android:focusable="true"
|
|
|
|
android:clickable="true">
|
2018-04-05 00:07:48 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/down_btn"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
android:layout_marginStart="14dp"
|
|
|
|
android:src="@drawable/ic_keyboard_arrow_down_black_24dp"
|
|
|
|
app:tint="?attr/iconColorPrimary"/>
|
2018-04-05 00:07:48 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/accordian_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentTop="true"
|
|
|
|
android:layout_toEndOf="@+id/down_btn"
|
|
|
|
android:padding="16dp"
|
|
|
|
android:text="@string/advanced"
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
2018-04-05 00:15:16 +02:00
|
|
|
<RelativeLayout
|
2018-04-05 00:07:48 +02:00
|
|
|
android:id="@+id/expandableLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2018-04-05 17:56:19 +02:00
|
|
|
android:visibility="invisible">
|
2021-01-17 13:12:43 +01:00
|
|
|
<TableLayout
|
2018-04-05 00:07:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:stretchColumns="1"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:layout_marginEnd="15dp">
|
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<ImageView android:layout_column="0"
|
2018-01-31 18:45:58 +01:00
|
|
|
android:layout_width="wrap_content"
|
2017-12-27 22:04:22 +01:00
|
|
|
android:layout_height="wrap_content"
|
2021-01-17 13:12:43 +01:00
|
|
|
android:src="@drawable/ic_info_outline_black_24dp"
|
|
|
|
app:tint="?attr/iconColorPrimary"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<LinearLayout android:layout_column="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
2018-06-06 16:15:31 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="4"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:gravity="start"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:hint="@string/type"
|
|
|
|
style="?attr/dropdownStyle">
|
|
|
|
<AutoCompleteTextView
|
|
|
|
android:id="@+id/dropdown_type"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="none"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="4"
|
|
|
|
android:hint="@string/algorithm_hint"
|
|
|
|
style="?attr/dropdownStyle">
|
|
|
|
<AutoCompleteTextView
|
|
|
|
android:id="@+id/dropdown_algo"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="none" />
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
2018-06-06 16:15:31 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<LinearLayout android:layout_column="1"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:gravity="center_vertical">
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:id="@+id/text_period_counter_layout"
|
|
|
|
android:hint="@string/period_hint"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="4"
|
|
|
|
android:layout_marginEnd="5dp"
|
|
|
|
android:gravity="start"
|
|
|
|
android:layout_gravity="start">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/text_period_counter"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="text"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:hint="@string/digits"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="4">
|
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/text_digits"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:inputType="text"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</TableRow>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<TableRow
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:layout_marginBottom="5dp">
|
|
|
|
<ImageView android:layout_column="0"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_vpn_key_black_24dp"
|
|
|
|
app:tint="?attr/iconColorPrimary"
|
|
|
|
android:layout_marginStart="15dp"
|
|
|
|
android:layout_marginEnd="15dp"
|
|
|
|
android:layout_gravity="center_vertical"/>
|
2018-01-31 18:45:58 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.google.android.material.textfield.TextInputLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
app:passwordToggleTint="#949494"
|
|
|
|
app:passwordToggleEnabled="true">
|
2018-04-10 00:45:48 +02:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
<com.google.android.material.textfield.TextInputEditText
|
|
|
|
android:id="@+id/text_secret"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:hint="@string/secret"
|
|
|
|
android:inputType="textPassword"/>
|
|
|
|
</com.google.android.material.textfield.TextInputLayout>
|
|
|
|
</TableRow>
|
|
|
|
</TableLayout>
|
2018-04-05 00:15:16 +02:00
|
|
|
</RelativeLayout>
|
2017-12-27 22:04:22 +01:00
|
|
|
|
2021-01-17 13:12:43 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|