Skip to content
Snippets Groups Projects
Verified Commit 5626e463 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Decrease size of fast scroller elements, kinda fixes #121

parent b30cb909
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -51,10 +51,8 @@ ...@@ -51,10 +51,8 @@
<com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView <com.simplecityapps.recyclerview_fastscroll.views.FastScrollRecyclerView
android:id="@+id/chatList" android:id="@+id/chatList"
style="@style/Widget.FastScroller"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
app:fastScrollPopupBgColor="?colorAccent"
app:fastScrollPopupTextColor="?colorTextPrimaryInverse"
app:fastScrollThumbColor="?colorAccent"
tools:listitem="@layout/widget_buffer" /> tools:listitem="@layout/widget_buffer" />
</LinearLayout> </LinearLayout>
...@@ -18,16 +18,13 @@ ...@@ -18,16 +18,13 @@
--> -->
<de.kuschku.quasseldroid.util.ui.DrawerRecyclerView xmlns:android="http://schemas.android.com/apk/res/android" <de.kuschku.quasseldroid.util.ui.DrawerRecyclerView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/nickList" android:id="@+id/nickList"
style="@style/Widget.FastScroller"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="?attr/colorBackground" android:background="?attr/colorBackground"
android:clipToPadding="false" android:clipToPadding="false"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
app:fastScrollPopupBgColor="?colorAccent"
app:fastScrollPopupTextColor="?colorTextPrimaryInverse"
app:fastScrollThumbColor="?colorAccent"
tools:listitem="@layout/widget_nick" tools:listitem="@layout/widget_nick"
tools:showIn="@layout/activity_main" /> tools:showIn="@layout/activity_main" />
...@@ -300,6 +300,14 @@ ...@@ -300,6 +300,14 @@
<item name="insetBackground">#4000</item> <item name="insetBackground">#4000</item>
</style> </style>
<style name="Widget.FastScroller" parent="">
<item name="fastScrollPopupBgColor">?colorAccent</item>
<item name="fastScrollPopupTextColor">?colorTextPrimaryInverse</item>
<item name="fastScrollThumbColor">?colorAccent</item>
<item name="fastScrollPopupTextSize">32dp</item>
<item name="fastScrollPopupBackgroundSize">62dp</item>
</style>
<!-- NavigationDrawerLayout --> <!-- NavigationDrawerLayout -->
<declare-styleable name="NavigationDrawerLayout"> <declare-styleable name="NavigationDrawerLayout">
<attr name="insetBackground" /> <attr name="insetBackground" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment