2020-10-20 16:55:08 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-01-18 11:07:12 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-12-24 09:55:18 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2020-10-20 16:55:08 +02:00
|
|
|
android:layout_height="wrap_content"
|
2021-02-15 21:26:33 +01:00
|
|
|
android:paddingEnd="0dp"
|
|
|
|
android:paddingStart="0dp"
|
2020-10-20 16:55:08 +02:00
|
|
|
android:paddingBottom="0dp"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-12-24 09:55:18 +01:00
|
|
|
<LinearLayout
|
2021-01-18 11:07:12 +01:00
|
|
|
android:id="@+id/pHintListener"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:layout_width="match_parent"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:layout_height="62dp"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:background="@xml/gx_side_item_suggestions"
|
|
|
|
android:onClick="onSuggestionInvoked"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
tools:ignore="UselessParent">
|
|
|
|
|
2021-01-18 11:07:12 +01:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-12-24 09:55:18 +01:00
|
|
|
android:layout_width="0dp"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:layout_height="match_parent"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:layout_weight="1"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:paddingTop="11dp"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:paddingBottom="10dp">
|
2020-10-20 16:55:08 +02:00
|
|
|
|
2021-01-18 11:07:12 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/pHindTypeIcon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="12dp"
|
|
|
|
android:alpha="0.6"
|
|
|
|
android:contentDescription="@string/GENERAL_TODO"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:srcCompat="@xml/ic_baseline_search"
|
|
|
|
app:tint="@color/c_navigation_tint" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/pHintWebIcon"
|
2021-03-23 12:52:22 +01:00
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_marginStart="12dp"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:layout_marginBottom="3dp"
|
2021-03-09 07:36:59 +01:00
|
|
|
android:background="@xml/hox_round_outline"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:contentDescription="@string/GENERAL_TODO"
|
2021-03-09 07:36:59 +01:00
|
|
|
android:src="@xml/ic_baseline_browser"
|
2021-03-14 18:59:37 +01:00
|
|
|
app:tint="@color/c_text_v6"
|
2021-01-18 11:07:12 +01:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/pHindTypeIcon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2021-03-09 07:36:59 +01:00
|
|
|
app:layout_constraintVertical_bias="0.578" />
|
2021-01-18 11:07:12 +01:00
|
|
|
|
2020-12-24 09:55:18 +01:00
|
|
|
<TextView
|
2021-01-18 11:07:12 +01:00
|
|
|
android:id="@+id/pHeader"
|
2020-10-20 16:55:08 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:clickable="false"
|
|
|
|
android:ellipsize="end"
|
2021-02-15 21:26:33 +01:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2020-10-20 16:55:08 +02:00
|
|
|
android:singleLine="true"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:text="@string/GENERAL_DEFAULT_HINT_SUGGESTION"
|
|
|
|
android:textColor="@color/c_text_v1"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:textSize="14sp"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/pHintWebIcon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/pHeaderSingle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="55dp"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:clickable="false"
|
|
|
|
android:ellipsize="end"
|
2021-02-15 21:26:33 +01:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/GENERAL_DEFAULT_HINT_SUGGESTION"
|
|
|
|
android:textColor="@color/c_text_v1"
|
|
|
|
android:textSize="16sp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/pHintWebIcon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-10-20 16:55:08 +02:00
|
|
|
|
2020-12-24 09:55:18 +01:00
|
|
|
<TextView
|
2021-01-18 11:07:12 +01:00
|
|
|
android:id="@+id/pURL"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:layout_marginTop="20dp"
|
2020-10-20 16:55:08 +02:00
|
|
|
android:clickable="false"
|
|
|
|
android:ellipsize="end"
|
2021-02-15 21:26:33 +01:00
|
|
|
android:paddingStart="10dp"
|
|
|
|
android:paddingEnd="10dp"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:singleLine="true"
|
|
|
|
android:text="@string/GENERAL_DEFAULT_HINT_SUGGESTION"
|
|
|
|
android:textColor="@color/c_text_v6"
|
2021-01-18 11:07:12 +01:00
|
|
|
android:textSize="12.5sp"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/pHintWebIcon"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
2020-12-24 09:55:18 +01:00
|
|
|
|
2021-01-18 11:07:12 +01:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-12-24 09:55:18 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/pMoveURL"
|
|
|
|
android:layout_width="55dp"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:layout_height="55dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
2021-02-15 21:26:33 +01:00
|
|
|
android:src="@xml/ic_arrow_right_tilted"
|
2020-12-24 09:55:18 +01:00
|
|
|
android:tag="@string/GENERAL_TODO"
|
|
|
|
android:onClick="onSuggestionMove"
|
|
|
|
android:layout_margin="2dp"
|
|
|
|
android:background="@xml/gx_ripple_default_round"
|
|
|
|
android:tint="@color/c_navigation_tint"
|
|
|
|
android:rotation="225"
|
|
|
|
android:contentDescription="@string/GENERAL_TODO" />
|
|
|
|
|
2020-10-20 16:55:08 +02:00
|
|
|
|
2020-12-24 09:55:18 +01:00
|
|
|
</LinearLayout>
|
2020-10-20 16:55:08 +02:00
|
|
|
|
2019-07-13 18:20:04 +02:00
|
|
|
</LinearLayout>
|