|
|
@ -1,20 +1,21 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
app:cardBackgroundColor="@color/white" |
|
|
|
app:cardCornerRadius="2dp" |
|
|
|
app:cardElevation="2dp" |
|
|
|
app:cardMaxElevation="1dp" |
|
|
|
app:cardPreventCornerOverlap="true" |
|
|
|
app:cardUseCompatPadding="true"> |
|
|
|
<!--<com.google.android.material.card.MaterialCardView--> |
|
|
|
<!-- xmlns:android="http://schemas.android.com/apk/res/android"--> |
|
|
|
<!-- xmlns:app="http://schemas.android.com/apk/res-auto"--> |
|
|
|
<!-- android:layout_width="match_parent"--> |
|
|
|
<!-- android:layout_height="wrap_content"--> |
|
|
|
<!-- app:cardBackgroundColor="@color/white"--> |
|
|
|
<!-- app:cardCornerRadius="2dp"--> |
|
|
|
<!-- app:cardElevation="2dp"--> |
|
|
|
<!-- app:cardMaxElevation="1dp"--> |
|
|
|
<!-- app:cardPreventCornerOverlap="true"--> |
|
|
|
<!-- app:cardUseCompatPadding="true">--> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:padding="@dimen/margin_1" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
android:padding="@dimen/margin_1" |
|
|
|
android:orientation="horizontal" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:id="@+id/txtLabel" |
|
|
@ -22,14 +23,14 @@ |
|
|
|
android:layout_gravity="center_vertical" |
|
|
|
android:padding="@dimen/margin_2" |
|
|
|
android:layout_weight="0.87" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:textColor="@color/black" |
|
|
|
android:textSize="@dimen/text_size_12"/> |
|
|
|
|
|
|
|
<com.google.android.material.switchmaterial.SwitchMaterial |
|
|
|
android:id="@+id/tvCustomerName" |
|
|
|
android:layout_width="0dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:padding="@dimen/margin_4" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_weight="0.13" |
|
|
@ -37,4 +38,4 @@ |
|
|
|
android:drawablePadding="@dimen/margin_2" /> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</com.google.android.material.card.MaterialCardView> |
|
|
|
<!--</com.google.android.material.card.MaterialCardView>--> |