diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-14 02:04:11 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-14 02:04:11 +0000 |
commit | a5482a6b33155ec01e778006ca7c2ddfb465b8b2 (patch) | |
tree | 1144f2c784d8ec2aaa2312795dae757f8c70abf1 /app/src/main/res | |
parent | ede3221f221c545487d583052d1d0004db260ad8 (diff) | |
download | infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar.gz infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar.bz2 infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar.lz infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar.xz infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.tar.zst infinity-for-reddit-a5482a6b33155ec01e778006ca7c2ddfb465b8b2.zip |
Continue adding Card Layout 3. Settings entry for Card Layout 3.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/fragment_post_layout_bottom_sheet.xml (renamed from app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml) | 16 | ||||
-rw-r--r-- | app/src/main/res/values/arrays.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/strings.xml | 1 |
3 files changed, 21 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_layout_bottom_sheet.xml index e42263a0..5f714e39 100644 --- a/app/src/main/res/layout/fragment_post_layot_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_post_layout_bottom_sheet.xml @@ -45,6 +45,22 @@ android:fontFamily="?attr/font_family" /> <TextView + android:id="@+id/card_layout_3_text_view_post_layout_bottom_sheet_fragment" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?attr/selectableItemBackground" + android:clickable="true" + android:focusable="true" + android:paddingStart="32dp" + android:paddingTop="16dp" + android:paddingEnd="32dp" + android:paddingBottom="16dp" + android:text="@string/post_layout_card_2" + android:textColor="?attr/primaryTextColor" + android:textSize="?attr/font_default" + android:fontFamily="?attr/font_family" /> + + <TextView android:id="@+id/compact_layout_text_view_post_layout_bottom_sheet_fragment" android:layout_width="match_parent" android:layout_height="wrap_content" diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index 79a54712..7d82435d 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -44,6 +44,7 @@ <string-array name="settings_default_post_layout"> <item>@string/post_layout_card</item> <item>@string/post_layout_card_2</item> + <item>@string/post_layout_card_3</item> <item>@string/post_layout_compact</item> <item>@string/post_layout_gallery</item> </string-array> @@ -51,6 +52,7 @@ <string-array name="settings_default_post_layout_values"> <item>0</item> <item>3</item> + <item>4</item> <item>1</item> <item>2</item> </string-array> @@ -59,6 +61,7 @@ <item>@string/link_post_layout_auto</item> <item>@string/post_layout_card</item> <item>@string/post_layout_card_2</item> + <item>@string/post_layout_card_3</item> <item>@string/post_layout_compact</item> <item>@string/post_layout_gallery</item> </string-array> @@ -67,6 +70,7 @@ <item>-1</item> <item>0</item> <item>3</item> + <item>4</item> <item>1</item> <item>2</item> </string-array> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 641a647f..0b5bdac1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -684,6 +684,7 @@ <string name="post_layout_compact">Compact Layout</string> <string name="post_layout_gallery">Gallery Layout</string> <string name="post_layout_card_2">Card Layout 2</string> + <string name="post_layout_card_3">Card Layout 3</string> <string name="elapsed_time_just_now">Just Now</string> <string name="elapsed_time_a_minute_ago">1 Minute</string> |