--- /dev/null
+<!--
+ ~ Copyright Google Inc.
+ ~
+ ~ Licensed under the Apache License, version 2.0 ("the License");
+ ~ you may not use this file except in compliance with the License.
+ ~ You may obtain a copy of the license at:
+ ~
+ ~ https://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distribution under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ ~
+ ~ Modified/adapted by Damyan Ivanov for MoLe
+ -->
+
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:autoMirrored="true"
+ android:tint="?colorPrimary"
+ android:viewportWidth="24"
+ android:viewportHeight="24"
+ >
+ <path
+ android:fillColor="@android:color/white"
+ android:pathData="M11,18h2v-2h-2v2zM12,2C6.48,2 2,6.48 2,12s4.48,10 10,10 10,-4.48 10,-10S17.52,2 12,2zM12,20c-4.41,0 -8,-3.59 -8,-8s3.59,-8 8,-8 8,3.59 8,8 -3.59,8 -8,8zM12,6c-2.21,0 -4,1.79 -4,4h2c0,-1.1 0.9,-2 2,-2s2,0.9 2,2c0,2 -3,1.75 -3,5h2c0,-2.25 3,-2.5 3,-5 0,-2.21 -1.79,-4 -4,-4z"
+ />
+</vector>
android:animateLayoutChanges="true"
android:padding="@dimen/text_margin"
>
+ <ImageButton
+ android:id="@+id/template_details_template_params_help_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@android:color/transparent"
+ android:contentDescription="@string/template_details_template_params_help_description"
+ android:minWidth="@dimen/thumb_row_height"
+ android:src="@drawable/ic_baseline_help_outline_24_primary"
+ app:layout_constraintBottom_toBottomOf="@id/template_details_template_params_label"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintTop_toTopOf="@id/template_details_template_params_label"
+ />
+ <TextView
+ android:id="@+id/template_details_template_params_label"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/text_margin"
+ android:gravity="end"
+ android:text="@string/template_details_template_params_label"
+ android:textAppearance="@android:style/TextAppearance.Material.Medium"
+ app:layout_constraintBottom_toTopOf="@id/pattern_name_layout"
+ app:layout_constraintEnd_toStartOf="@id/template_details_template_params_help_button"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/pattern_name_layout"
android:layout_width="0dp"
app:layout_constraintBottom_toTopOf="@id/pattern_layout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintTop_toBottomOf="@id/template_details_template_params_label"
>
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/template_name"
android:id="@+id/transaction_parameters_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+ android:layout_marginBottom="@dimen/text_margin"
android:gravity="end"
android:text="@string/template_transaction_parameters_label"
- android:textAppearance="?attr/textAppearanceListItem"
+ android:textAppearance="@android:style/TextAppearance.Material.Medium"
app:layout_constraintBottom_toTopOf="@+id/pattern_transaction_date_label"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:layout_height="wrap_content"
android:text="@string/template_details_date_label"
android:textAppearance="?attr/textAppearanceListItem"
+ app:layout_constraintBottom_toTopOf="@id/template_details_year_source_label"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/transaction_parameters_label"
android:layout_height="wrap_content"
android:text="@string/template_details_date_year_source_label"
android:textAlignment="center"
- android:textAppearance="?attr/textAppearanceListItem"
+ android:textAppearance="@android:style/TextAppearance.Material.Body1"
app:layout_constraintBottom_toTopOf="@+id/template_details_year_source"
app:layout_constraintEnd_toStartOf="@id/template_details_month_source_label"
app:layout_constraintStart_toStartOf="parent"
android:layout_height="wrap_content"
android:text="@string/template_details_date_month_source_label"
android:textAlignment="center"
- android:textAppearance="?attr/textAppearanceListItem"
+ android:textAppearance="@android:style/TextAppearance.Material.Body1"
app:layout_constraintBottom_toTopOf="@+id/template_details_month_source"
app:layout_constraintEnd_toStartOf="@id/template_details_day_source_label"
app:layout_constraintStart_toEndOf="@id/template_details_year_source_label"
android:layout_height="wrap_content"
android:text="@string/template_details_date_day_source_label"
android:textAlignment="center"
- android:textAppearance="?attr/textAppearanceListItem"
+ android:textAppearance="@android:style/TextAppearance.Material.Body1"
app:layout_constraintBottom_toTopOf="@+id/template_details_day_source"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@id/template_details_month_source_label"