|
@ -1,44 +1,47 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
|
|
|
android:layout_height="match_parent" |
|
|
android:padding="16dp"> |
|
|
android:padding="16dp"> |
|
|
<LinearLayout |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
android:orientation="vertical"> |
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout |
|
|
|
|
|
android:id="@+id/root" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:orientation="horizontal" |
|
|
|
|
|
android:layout_marginTop="8dp" |
|
|
|
|
|
android:layout_marginBottom="8dp"> |
|
|
|
|
|
|
|
|
android:animateLayoutChanges="true" |
|
|
|
|
|
android:paddingTop="16dp"> |
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatEditText |
|
|
<androidx.appcompat.widget.AppCompatEditText |
|
|
android:id="@+id/edit_text" |
|
|
android:id="@+id/edit_text" |
|
|
android:layout_width="match_parent" |
|
|
|
|
|
|
|
|
android:layout_width="0dp" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_marginEnd="60dp" |
|
|
|
|
|
android:hint="@string/hint_keyword" /> |
|
|
|
|
|
|
|
|
android:hint="@string/hint_keyword" |
|
|
|
|
|
android:singleLine="true" |
|
|
|
|
|
app:layout_constraintEnd_toStartOf="@id/btnAdd" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" /> |
|
|
|
|
|
|
|
|
<Button |
|
|
<Button |
|
|
android:id="@+id/btnAdd" |
|
|
android:id="@+id/btnAdd" |
|
|
android:layout_width="48dp" |
|
|
|
|
|
android:layout_height="48dp" |
|
|
|
|
|
|
|
|
android:layout_width="30dp" |
|
|
|
|
|
android:layout_height="30dp" |
|
|
android:background="@drawable/ic_add" |
|
|
android:background="@drawable/ic_add" |
|
|
android:scaleType="center" |
|
|
|
|
|
android:layout_marginStart="-50dp" /> |
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintStart_toEndOf="@id/edit_text" |
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" |
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="@id/edit_text" /> |
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
<androidx.recyclerview.widget.RecyclerView |
|
|
android:id="@+id/recyclerKeyword" |
|
|
android:id="@+id/recyclerKeyword" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_width="match_parent" |
|
|
android:layout_height="wrap_content" /> |
|
|
|
|
|
|
|
|
|
|
|
<FrameLayout |
|
|
|
|
|
android:layout_width="match_parent" |
|
|
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
|
android:layout_height="wrap_content" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnAdd" |
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
tools:layout_editor_absoluteX="16dp" |
|
|
|
|
|
tools:listitem="@layout/item_keyword" /> |
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatButton |
|
|
<androidx.appcompat.widget.AppCompatButton |
|
|
android:id="@+id/btnOK" |
|
|
android:id="@+id/btnOK" |
|
@ -46,8 +49,9 @@ |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_width="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_height="wrap_content" |
|
|
android:layout_gravity="end" |
|
|
android:layout_gravity="end" |
|
|
android:text="@string/ok" /> |
|
|
|
|
|
</FrameLayout> |
|
|
|
|
|
|
|
|
android:text="@string/ok" |
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent" |
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/recyclerKeyword" /> |
|
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |
|
|
</ScrollView> |
|
|
</ScrollView> |