mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
parent
cd6cbe6775
commit
7ba1947bc5
1 changed files with 47 additions and 0 deletions
47
app/src/main/res/layout/library_fast_scroller_layout.xml
Normal file
47
app/src/main/res/layout/library_fast_scroller_layout.xml
Normal file
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<View
|
||||
android:id="@+id/fast_scroller_bar"
|
||||
android:layout_width="7dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:background="@color/transparent"/>
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/fast_scroller_bubble"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="end"
|
||||
android:layout_marginEnd="0dp"
|
||||
android:paddingLeft="16dp"
|
||||
android:paddingRight="16dp"
|
||||
android:layout_toStartOf="@+id/fast_scroller_handle"
|
||||
android:background="@drawable/fast_scroller_bubble"
|
||||
android:gravity="center"
|
||||
android:textColor="?android:attr/textColorPrimaryInverse"
|
||||
android:textSize="38sp"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible"
|
||||
tools:text="A" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/fast_scroller_handle"
|
||||
android:alpha="0.5"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentEnd="true"
|
||||
android:paddingStart="6dp"
|
||||
android:contentDescription="@null"
|
||||
android:src="@drawable/fast_scroller_handle"/>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</merge>
|
Loading…
Reference in a new issue