Skip to content

Instantly share code, notes, and snippets.

@NurseyitTursunkulov
Created November 11, 2020 14:59
Show Gist options
  • Save NurseyitTursunkulov/eb49e200e13f0027b9872175f8b5a117 to your computer and use it in GitHub Desktop.
Save NurseyitTursunkulov/eb49e200e13f0027b9872175f8b5a117 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
xmlns:app="http://schemas.android.com/apk/res-auto">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<io.aikosoft.alaketclient.android.views.OutlineTextView
android:id="@+id/tv_display_pickup"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/outline"
android:drawableStart="@drawable/ic_point_a"
android:drawablePadding="8dp"
android:gravity="center_vertical"
android:hint="@string/main_et_hint_pickup_address"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:text="Профсоюзная,74 / 5"
android:textSize="18sp" />
<io.aikosoft.alaketclient.android.views.OutlineTextView
android:id="@+id/tv_display_destination"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:layout_marginStart="@dimen/activity_horizontal_margin"
android:layout_marginTop="@dimen/small_vertical_margin"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:clickable="true"
android:background="@drawable/outline"
android:drawableStart="@drawable/ic_point_b"
android:drawablePadding="8dp"
android:gravity="center_vertical"
android:hint="@string/main_et_hint_destination_address"
android:paddingStart="16dp"
android:paddingEnd="16dp"
tools:text="Чуйкова,128"
android:textSize="18sp"
android:focusable="true" />
<Button
android:id="@+id/btn_done"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/activity_horizontal_margin"
android:layout_marginTop="@dimen/small_vertical_margin"
android:layout_marginEnd="@dimen/activity_horizontal_margin"
android:layout_marginBottom="@dimen/activity_vertical_margin"
android:background="@color/colorAccent"
android:text="@string/main_btn_done"
android:focusable="true" />
</LinearLayout>
</androidx.cardview.widget.CardView>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment