diff options
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/more_content_list_footer.xml | 36 | ||||
-rw-r--r-- | app/src/main/res/layout/popup_bubble_view.xml | 41 |
2 files changed, 77 insertions, 0 deletions
diff --git a/app/src/main/res/layout/more_content_list_footer.xml b/app/src/main/res/layout/more_content_list_footer.xml new file mode 100644 index 000000000..a3fcd5489 --- /dev/null +++ b/app/src/main/res/layout/more_content_list_footer.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:id="@+id/more_content_list_footer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:foreground="?attr/selectableItemBackground" + android:background="?android:attr/colorBackground" + android:gravity="center" + android:padding="8dp"> + + <ImageView + android:id="@+id/imgExpand" + android:layout_width="16dp" + android:layout_height="16dp" + android:layout_gravity="center" + android:contentDescription="@string/load_next_page_label" + app:srcCompat="@drawable/ic_load_more" /> + + <ProgressBar + android:id="@+id/progBar" + android:layout_width="16dp" + android:layout_height="16dp" + android:indeterminateOnly="true" + android:visibility="gone" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/load_next_page_label" + android:textColor="?android:attr/textColorPrimary" + android:layout_marginLeft="8dp" + android:layout_marginRight="8dp" /> + +</LinearLayout> diff --git a/app/src/main/res/layout/popup_bubble_view.xml b/app/src/main/res/layout/popup_bubble_view.xml new file mode 100644 index 000000000..7dee08eb5 --- /dev/null +++ b/app/src/main/res/layout/popup_bubble_view.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:padding="16dp"> + + <TextView + android:id="@+id/balloon_message" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textColor="?attr/colorOnSecondary" + android:lines="3" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="horizontal" + android:layout_marginTop="4dp" + android:gravity="end"> + + <Button + android:id="@+id/balloon_button_negative" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="?attr/colorOnSecondary" + android:text="@string/no" + style="@style/Widget.MaterialComponents.Button.TextButton" /> + + <Button + android:id="@+id/balloon_button_positive" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:textColor="?attr/colorOnSecondary" + android:text="@string/yes" + style="@style/Widget.MaterialComponents.Button.TextButton" /> + + </LinearLayout> + +</LinearLayout> |