mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-11 18:54:21 +00:00
92 lines
4.5 KiB
XML
92 lines
4.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:context="org.thoughtcrime.securesms.giph.ui.GiphyActivity">
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal"
|
|
tools:layout_height="80dp"
|
|
tools:theme="@style/Theme.TextSecure.DayNight.NoActionBar">
|
|
|
|
<ImageView android:id="@+id/action_icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_baseline_search_24" />
|
|
|
|
<LinearLayout android:id="@+id/toggle_container"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<EditText android:id="@+id/search_view"
|
|
android:layout_height="wrap_content"
|
|
android:layout_width="0px"
|
|
android:layout_weight="1"
|
|
android:layout_marginStart="6dp"
|
|
android:hint="@string/giphy_activity_toolbar__search_gifs_and_stickers"
|
|
android:textColor="?android:textColorPrimary"
|
|
android:textColorHint="?android:textColorTertiary"
|
|
android:textCursorDrawable="@drawable/session_edit_text_cursor"
|
|
android:maxLines="1"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:imeOptions="actionSearch"
|
|
android:background="@android:color/transparent"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"/>
|
|
|
|
<ImageView android:id="@+id/search_clear"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:visibility="invisible"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_baseline_clear_24" />
|
|
|
|
<org.thoughtcrime.securesms.components.AnimatingToggle
|
|
android:id="@+id/button_toggle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:paddingStart="10dp"
|
|
android:paddingEnd="10dp"
|
|
android:gravity="center">
|
|
|
|
<ImageView android:id="@+id/view_grid"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:visibility="visible"
|
|
android:focusable="true"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_baseline_dashboard_24" />
|
|
|
|
<ImageView android:id="@+id/view_stream"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:visibility="gone"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_baseline_view_stream_24" />
|
|
|
|
</org.thoughtcrime.securesms.components.AnimatingToggle>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</merge>
|