summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layouts')
-rw-r--r--app/src/main/res/layouts/mastodon/layout/activity_search_result_tabs.xml2
-rw-r--r--app/src/main/res/layouts/mastodon/layout/drawer_tag_search.xml13
2 files changed, 13 insertions, 2 deletions
diff --git a/app/src/main/res/layouts/mastodon/layout/activity_search_result_tabs.xml b/app/src/main/res/layouts/mastodon/layout/activity_search_result_tabs.xml
index 065e34763..edc6ae612 100644
--- a/app/src/main/res/layouts/mastodon/layout/activity_search_result_tabs.xml
+++ b/app/src/main/res/layouts/mastodon/layout/activity_search_result_tabs.xml
@@ -26,7 +26,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:tabGravity="fill"
- app:tabMode="scrollable" />
+ app:tabMode="auto" />
<androidx.viewpager.widget.ViewPager
android:id="@+id/search_viewpager"
diff --git a/app/src/main/res/layouts/mastodon/layout/drawer_tag_search.xml b/app/src/main/res/layouts/mastodon/layout/drawer_tag_search.xml
index f7b4be74d..e5bd49efd 100644
--- a/app/src/main/res/layouts/mastodon/layout/drawer_tag_search.xml
+++ b/app/src/main/res/layouts/mastodon/layout/drawer_tag_search.xml
@@ -15,6 +15,7 @@
see <http://www.gnu.org/licenses>
-->
<androidx.appcompat.widget.LinearLayoutCompat xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/tag_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -22,9 +23,19 @@
<TextView
android:id="@+id/tag_name"
- android:layout_width="match_parent"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_margin="5dp"
+ tools:text="@tools:sample/lorem"
+ android:padding="10dp" />
+
+ <TextView
+ android:id="@+id/tag_count"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_margin="5dp"
+ android:layout_marginStart="20dp"
android:padding="10dp" />
</androidx.appcompat.widget.LinearLayoutCompat>