mirror of https://github.com/Corewala/Buran
Less padding in toolbar
This commit is contained in:
parent
9913d58dd1
commit
597f192995
|
@ -33,59 +33,58 @@
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/default_margin">
|
android:layout_marginTop="0dp">
|
||||||
|
|
||||||
<RelativeLayout android:id="@+id/address_bar"
|
<RelativeLayout android:id="@+id/address_bar"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingBottom="@dimen/default_margin">
|
android:paddingBottom="@dimen/default_margin">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
android:id="@+id/home"
|
android:id="@+id/home"
|
||||||
android:layout_width="@dimen/button_size"
|
android:layout_width="@dimen/button_size"
|
||||||
android:layout_height="@dimen/button_size"
|
android:layout_height="@dimen/button_size"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_margin="@dimen/button_margin"
|
android:layout_margin="@dimen/button_margin"
|
||||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
android:src="@drawable/vector_home" />
|
android:src="@drawable/vector_home"/>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_centerVertical="true"
|
|
||||||
android:layout_toEndOf="@+id/home"
|
|
||||||
android:layout_toStartOf="@+id/more">
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatEditText
|
|
||||||
android:id="@+id/address_edit"
|
|
||||||
android:background="@drawable/drawable_filled_rounded_rect"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingTop="12dp"
|
android:layout_centerVertical="true"
|
||||||
android:paddingBottom="12dp"
|
android:layout_toEndOf="@+id/home"
|
||||||
android:paddingLeft="12dp"
|
android:layout_toStartOf="@+id/more">
|
||||||
android:paddingRight="12dp"
|
|
||||||
android:drawablePadding="4dp"
|
<androidx.appcompat.widget.AppCompatEditText
|
||||||
android:inputType="textNoSuggestions|textUri"
|
android:id="@+id/address_edit"
|
||||||
android:singleLine="true"
|
android:background="@drawable/drawable_filled_rounded_rect"
|
||||||
android:textSize="12sp"
|
android:layout_width="match_parent"
|
||||||
android:imeOptions="actionGo"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/main_input_hint" />
|
android:paddingTop="12dp"
|
||||||
|
android:paddingBottom="12dp"
|
||||||
|
android:paddingLeft="12dp"
|
||||||
|
android:paddingRight="12dp"
|
||||||
|
android:drawablePadding="4dp"
|
||||||
|
android:inputType="textNoSuggestions|textUri"
|
||||||
|
android:singleLine="true"
|
||||||
|
android:textSize="12sp"
|
||||||
|
android:imeOptions="actionGo"
|
||||||
|
android:hint="@string/main_input_hint"/>
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageButton
|
<androidx.appcompat.widget.AppCompatImageButton
|
||||||
android:id="@+id/more"
|
android:id="@+id/more"
|
||||||
android:layout_width="@dimen/button_size"
|
android:layout_width="@dimen/button_size"
|
||||||
android:layout_height="@dimen/button_size"
|
android:layout_height="@dimen/button_size"
|
||||||
android:layout_alignParentRight="true"
|
android:layout_alignParentRight="true"
|
||||||
android:layout_centerVertical="true"
|
android:layout_centerVertical="true"
|
||||||
android:layout_margin="@dimen/button_margin"
|
android:layout_margin="@dimen/button_margin"
|
||||||
android:background="?android:attr/selectableItemBackgroundBorderless"
|
android:background="?android:attr/selectableItemBackgroundBorderless"
|
||||||
android:src="@drawable/vector_overflow" />
|
android:src="@drawable/vector_overflow"/>
|
||||||
|
|
||||||
|
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
Loading…
Reference in New Issue