aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-08-27 08:46:46 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-08-27 08:46:46 +0000
commit3b0eb15646cc9ac60a7661cf25d5a1a528bae404 (patch)
tree51061820cd68d27e7024061a71aed026d141f3ac /app/src/main/res/layout
parentfe82b5686e271183771bb801e99f24f88c872fbe (diff)
downloadinfinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.gz
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.bz2
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.lz
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.xz
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.tar.zst
infinity-for-reddit-3b0eb15646cc9ac60a7661cf25d5a1a528bae404.zip
This app now has an icon (finally)git statusgit statusgit status Add a credits page in settings. Use another error view and no comment placeholder.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_acknowledgement.xml5
-rw-r--r--app/src/main/res/layout/item_load_comments_failed_placeholder.xml2
-rw-r--r--app/src/main/res/layout/item_no_comment_placeholder.xml2
-rw-r--r--app/src/main/res/layout/item_post.xml1
-rw-r--r--app/src/main/res/layout/item_post_detail.xml1
5 files changed, 8 insertions, 3 deletions
diff --git a/app/src/main/res/layout/item_acknowledgement.xml b/app/src/main/res/layout/item_acknowledgement.xml
index 543c6829..6ad6deb8 100644
--- a/app/src/main/res/layout/item_acknowledgement.xml
+++ b/app/src/main/res/layout/item_acknowledgement.xml
@@ -2,7 +2,10 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:padding="16dp"
+ android:paddingTop="16dp"
+ android:paddingBottom="16dp"
+ android:paddingStart="72dp"
+ android:paddingEnd="16dp"
android:clickable="true"
android:focusable="true"
android:background="?attr/selectableItemBackground">
diff --git a/app/src/main/res/layout/item_load_comments_failed_placeholder.xml b/app/src/main/res/layout/item_load_comments_failed_placeholder.xml
index 9d8f9f7d..094d58bc 100644
--- a/app/src/main/res/layout/item_load_comments_failed_placeholder.xml
+++ b/app/src/main/res/layout/item_load_comments_failed_placeholder.xml
@@ -9,7 +9,7 @@
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
- android:src="@drawable/load_post_error_indicator" />
+ android:src="@drawable/error_image" />
<TextView
android:layout_width="wrap_content"
diff --git a/app/src/main/res/layout/item_no_comment_placeholder.xml b/app/src/main/res/layout/item_no_comment_placeholder.xml
index a4d85501..402f797c 100644
--- a/app/src/main/res/layout/item_no_comment_placeholder.xml
+++ b/app/src/main/res/layout/item_no_comment_placeholder.xml
@@ -9,7 +9,7 @@
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_gravity="center_horizontal"
- android:src="@drawable/no_comment_placeholder" />
+ android:src="@drawable/error_image" />
<TextView
android:layout_width="wrap_content"
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 10a9fbdd..c4f8e944 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -101,6 +101,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
+ android:src="@drawable/gold"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/type_text_view_item_post"
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index 32a0f3b1..918165e1 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -100,6 +100,7 @@
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="16dp"
+ android:src="@drawable/gold"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/type_text_view_item_post_detail"