mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
105 lines
3.6 KiB
XML
105 lines
3.6 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
||
|
<LinearLayout
|
||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/tooltip_arrow_start"
|
||
|
android:layout_width="8dp"
|
||
|
android:layout_height="16dp"
|
||
|
android:visibility="gone"
|
||
|
android:tint="?tooltip_default_color"
|
||
|
android:scaleType="fitXY"
|
||
|
android:elevation="6dp"
|
||
|
app:srcCompat="@drawable/ic_triangle_left"
|
||
|
tools:visibility="visible"
|
||
|
tools:tint="@color/core_blue"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/tooltip_arrow_top"
|
||
|
android:layout_width="16dp"
|
||
|
android:layout_height="8dp"
|
||
|
android:visibility="gone"
|
||
|
android:tint="?tooltip_default_color"
|
||
|
android:scaleType="fitXY"
|
||
|
android:elevation="6dp"
|
||
|
app:srcCompat="@drawable/ic_triangle_up"
|
||
|
tools:visibility="visible"
|
||
|
tools:tint="@color/core_blue"/>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/tooltip_bubble"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal"
|
||
|
android:paddingTop="6dp"
|
||
|
android:paddingBottom="6dp"
|
||
|
android:paddingStart="12dp"
|
||
|
android:paddingEnd="12dp"
|
||
|
android:background="@drawable/tooltip_background"
|
||
|
android:gravity="center_vertical"
|
||
|
android:elevation="6dp"
|
||
|
android:clipChildren="false"
|
||
|
android:clipToPadding="false">
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/tooltip_icon"
|
||
|
android:layout_width="20dp"
|
||
|
android:layout_height="20dp"
|
||
|
android:layout_marginEnd="2dp"
|
||
|
android:visibility="gone"
|
||
|
tools:src="@drawable/ic_person_white_24dp"
|
||
|
tools:tint="@color/core_blue"
|
||
|
tools:visibility="visible"/>
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/tooltip_text"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
style="@style/Signal.Text.Body"
|
||
|
tools:text="It is my gift. It is my curse." />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/tooltip_arrow_bottom"
|
||
|
android:layout_width="16dp"
|
||
|
android:layout_height="8dp"
|
||
|
android:visibility="gone"
|
||
|
android:tint="?tooltip_default_color"
|
||
|
android:scaleType="fitXY"
|
||
|
android:elevation="6dp"
|
||
|
app:srcCompat="@drawable/ic_triangle_down"
|
||
|
tools:visibility="visible"
|
||
|
tools:tint="@color/core_blue"/>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<ImageView
|
||
|
android:id="@+id/tooltip_arrow_end"
|
||
|
android:layout_width="8dp"
|
||
|
android:layout_height="16dp"
|
||
|
android:visibility="gone"
|
||
|
android:tint="?tooltip_default_color"
|
||
|
android:scaleType="fitXY"
|
||
|
android:elevation="6dp"
|
||
|
app:srcCompat="@drawable/ic_triangle_right"
|
||
|
tools:visibility="visible"
|
||
|
tools:tint="@color/core_blue"/>
|
||
|
|
||
|
</LinearLayout>
|