aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/adapter_table_block.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-12-26 15:57:02 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-12-26 15:57:02 +0000
commit5bf1d342f6f30699f02a985cc8b16b6da90d4688 (patch)
treef707abcdee123e12db7a004b709ab1ae1db8d660 /app/src/main/res/layout/adapter_table_block.xml
parentf7baba9412c53b0abd54e36d74657433efb6e58e (diff)
downloadinfinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar.gz
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar.bz2
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar.lz
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar.xz
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.tar.zst
infinity-for-reddit-5bf1d342f6f30699f02a985cc8b16b6da90d4688.zip
Markdown table support.
Diffstat (limited to 'app/src/main/res/layout/adapter_table_block.xml')
-rw-r--r--app/src/main/res/layout/adapter_table_block.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/src/main/res/layout/adapter_table_block.xml b/app/src/main/res/layout/adapter_table_block.xml
new file mode 100644
index 00000000..b3b63a27
--- /dev/null
+++ b/app/src/main/res/layout/adapter_table_block.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<HorizontalScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:clipChildren="false"
+ android:clipToPadding="false"
+ android:paddingLeft="16dp"
+ android:paddingTop="8dp"
+ android:paddingRight="16dp"
+ android:paddingBottom="8dp"
+ android:scrollbarStyle="outsideInset">
+
+ <TableLayout
+ android:id="@+id/table_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:stretchColumns="*" />
+
+</HorizontalScrollView> \ No newline at end of file