mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 21:45:20 +00:00
5fe1a28954
Increased tap area of action button too Closes #3855
98 lines
4.9 KiB
XML
98 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout android:layout_gravity="center"
|
|
android:layout_height="fill_parent"
|
|
android:layout_width="fill_parent"
|
|
android:orientation="vertical"
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
android:id="@+id/toolbar"
|
|
android:layout_height="?attr/actionBarSize"
|
|
android:layout_width="match_parent"
|
|
android:minHeight="?attr/actionBarSize"
|
|
android:background="?attr/colorPrimary"
|
|
android:theme="@style/TextSecure.LightActionBar">
|
|
|
|
<LinearLayout android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<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_search_white_24dp" />
|
|
|
|
<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_marginLeft="5dp"
|
|
android:hint="@string/contact_selection_activity__enter_name_or_number"
|
|
android:inputType="textPersonName"
|
|
style="@style/TextSecure.TitleTextStyle"
|
|
android:background="@android:color/transparent"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"/>
|
|
|
|
<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:gravity="center">
|
|
|
|
<ImageView android:id="@+id/search_dialpad"
|
|
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_dialpad_white_24dp" />
|
|
|
|
<ImageView android:id="@+id/search_keyboard"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:gravity="center_vertical"
|
|
android:clickable="true"
|
|
android:visibility="gone"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_keyboard_white_24dp" />
|
|
|
|
<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:visibility="gone"
|
|
android:background="@drawable/circle_touch_highlight_background"
|
|
android:src="@drawable/ic_clear_white_24dp" />
|
|
|
|
</org.thoughtcrime.securesms.components.AnimatingToggle>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</android.support.v7.widget.Toolbar>
|
|
|
|
<fragment
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:id="@+id/contact_selection_list_fragment"
|
|
android:name="org.thoughtcrime.securesms.ContactSelectionListFragment">
|
|
</fragment>
|
|
|
|
</LinearLayout> |