first commit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<!-- Карта на весь экран -->
|
||||
<org.osmdroid.views.MapView
|
||||
android:id="@+id/map_picker"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<!-- Панель поиска сверху -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:padding="8dp"
|
||||
android:background="#AAFFFFFF"> <!-- Полупрозрачный белый фон -->
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etSearchAddress"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:hint="Введите адрес..."
|
||||
android:background="@android:drawable/editbox_background"/>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btnSearch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@android:drawable/ic_menu_search"
|
||||
android:contentDescription="Поиск" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- Кнопка подтверждения снизу (как была) -->
|
||||
<Button
|
||||
android:id="@+id/btnConfirmLocation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="30dp"
|
||||
android:text="Подтвердить выбор"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
Reference in New Issue
Block a user