Skip to content

Instantly share code, notes, and snippets.

@PauloCeami
Created September 21, 2017 01:13
Show Gist options
  • Save PauloCeami/a15ce805f7935c9ae72c455c0fe271f8 to your computer and use it in GitHub Desktop.
Save PauloCeami/a15ce805f7935c9ae72c455c0fe271f8 to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<android.support.v7.widget.CardView
android:id="@+id/card_view"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_margin="@dimen/card_margin"
android:elevation="@dimen/elevation"
card_view:cardBackgroundColor="@android:color/white"
card_view:cardCornerRadius="@dimen/card_album_radius"
card_view:cardElevation="2dp"
card_view:cardMaxElevation="2dp"
card_view:cardUseCompatPadding="true"
card_view:contentPadding="10dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/prd_codigorow"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Código.:" />
<TextView
android:id="@+id/prd_codigo"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="4"
android:text="Codigo"
android:textSize="12sp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/prd_descricao1231"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="Descri.:" />
<TextView
android:id="@+id/prd_descricao"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="4"
android:text="Descricao"
android:textSize="12sp"
android:textStyle="bold" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView
android:id="@+id/prd_precovenda5448"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="4"
android:gravity="right"
android:text="Preço Venda.: R$"
android:textColor="@color/verde_destaq" />
<TextView
android:id="@+id/prd_precovenda"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="7dp"
android:layout_weight="1"
android:text="Preco"
android:textColor="@color/verde_destaq"
android:textSize="13sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
</android.support.v7.widget.CardView>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment