Skip to content

Instantly share code, notes, and snippets.

@ishaangarg
Created January 24, 2018 12:30
Show Gist options
  • Save ishaangarg/63c81cc9feb680262681325af5e8c415 to your computer and use it in GitHub Desktop.
Save ishaangarg/63c81cc9feb680262681325af5e8c415 to your computer and use it in GitHub Desktop.
ProSwipeBtnIssue
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/relativeLayout6"
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:background="@android:color/white"
android:elevation="5dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:weightSum="4">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/textview_title_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="16sp"
android:layout_marginTop="16sp"
android:text="LOCAL DE PARTIDA"
android:textColor="@android:color/black"
android:textSize="14sp"
android:textStyle="bold" />
<TextView
android:id="@+id/textview_address"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:text="Rua dom jose lopes 604 - boa viagem"
android:textColor="@android:color/black"
android:textSize="24sp" />
</LinearLayout>
<View
android:id="@+id/divider"
android:layout_width="2dp"
android:layout_height="match_parent"
android:layout_marginBottom="16dp"
android:layout_marginTop="16dp"
android:layout_toLeftOf="@+id/imageview_maps"
android:textColor="@android:color/black">
</View>
<LinearLayout
android:id="@+id/linearlayout_navigation"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="3"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/imageview_maps"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_check_circle_36dp" />
<TextView
android:id="@+id/textview_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
android:text="4 min"
android:textStyle="bold" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@+id/trip_map"
android:layout_gravity=""
android:gravity="center"
android:text="NAVEGAR" />
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<View
android:id="@+id/trip_map"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/button_local"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:layout_below="@+id/relativeLayout6"
tools:context="com.marydrivedriver.home.HomeActivity" />
<!--<include
android:id="@+id/news_title"
layout="@layout/modal_rider"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/button_local" />-->
<!-- -->
<in.shadowfax.proswipebutton.ProSwipeButton
android:id="@+id/button_local"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
app:bg_color="@color/proswipebtn_red"
app:btn_text="Estou no local"
app:text_size="16sp" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment