Browse Source
various improvements
various improvements
see the following comment on #814renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
5 changed files with 72 additions and 52 deletions
-
8app/src/main/java/awais/instagrabber/asyncs/FeedPostFetchService.java
-
12app/src/main/java/awais/instagrabber/customviews/PostsRecyclerView.java
-
22app/src/main/java/awais/instagrabber/dialogs/KeywordsFilterDialog.java
-
78app/src/main/res/layout/dialog_keywords_filter.xml
-
4app/src/main/res/layout/item_keyword.xml
@ -1,53 +1,57 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<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_height="wrap_content" |
|||
android:layout_height="match_parent" |
|||
android:padding="16dp"> |
|||
<LinearLayout |
|||
|
|||
<androidx.constraintlayout.widget.ConstraintLayout |
|||
android:id="@+id/root" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="vertical"> |
|||
android:animateLayoutChanges="true" |
|||
android:paddingTop="16dp"> |
|||
|
|||
<LinearLayout |
|||
android:layout_width="match_parent" |
|||
<androidx.appcompat.widget.AppCompatEditText |
|||
android:id="@+id/edit_text" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:orientation="horizontal" |
|||
android:layout_marginTop="8dp" |
|||
android:layout_marginBottom="8dp"> |
|||
android:hint="@string/hint_keyword" |
|||
android:singleLine="true" |
|||
app:layout_constraintEnd_toStartOf="@id/btnAdd" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatEditText |
|||
android:id="@+id/edit_text" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginEnd="60dp" |
|||
android:hint="@string/hint_keyword" /> |
|||
|
|||
<Button |
|||
android:id="@+id/btnAdd" |
|||
android:layout_width="48dp" |
|||
android:layout_height="48dp" |
|||
android:background="@drawable/ic_add" |
|||
android:scaleType="center" |
|||
android:layout_marginStart="-50dp" /> |
|||
</LinearLayout> |
|||
<Button |
|||
android:id="@+id/btnAdd" |
|||
android:layout_width="30dp" |
|||
android:layout_height="30dp" |
|||
android:background="@drawable/ic_add" |
|||
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 |
|||
android:id="@+id/recyclerKeyword" |
|||
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 |
|||
android:id="@+id/btnOK" |
|||
style="@style/Widget.AppCompat.Button.ButtonBar.AlertDialog" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="end" |
|||
android:text="@string/ok" /> |
|||
</FrameLayout> |
|||
<androidx.appcompat.widget.AppCompatButton |
|||
android:id="@+id/btnOK" |
|||
style="@style/Widget.AppCompat.Button.ButtonBar.AlertDialog" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_gravity="end" |
|||
android:text="@string/ok" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/recyclerKeyword" /> |
|||
|
|||
</LinearLayout> |
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
|||
</ScrollView> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue