Fix indent and layout

This commit is contained in:
ligi 2016-11-05 19:18:54 +01:00
parent 1cf27c4737
commit 7638a95791
No known key found for this signature in database
GPG key ID: 8E81894010ABF23D

View file

@ -1,21 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
<android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android.support.v7.cardview="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/pass_card"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android.support.v7.cardview:cardMaxElevation="@dimen/card_longclick_elevation_half"
android:orientation="vertical">
android:orientation="vertical"
android.support.v7.cardview:cardMaxElevation="@dimen/card_longclick_elevation_half">
<LinearLayout
android:background="@color/card_view_background"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
>
android:background="@color/card_view_background"
android:orientation="vertical">
<LinearLayout
android:id="@+id/pass_top"
@ -29,8 +27,8 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:padding="8dp"
android:orientation="vertical">
android:orientation="vertical"
android:padding="8dp">
<TextView
android:id="@+id/date"
@ -38,7 +36,7 @@
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorPrimary"
tools:text="12.10.2013 17:00"/>
tools:text="12.10.2013 17:00" />
<TextView
android:id="@+id/passTitle"
@ -48,15 +46,16 @@
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary"
tools:text="Title"/>
tools:text="Title" />
</LinearLayout>
<org.ligi.passandroid.ui.views.CategoryIndicatorViewWithIcon
android:id="@+id/categoryView"
android:layout_width="48dp"
android:layout_height="74dp"
android:layout_gravity="center"
android:layout_margin="8dp"/>
android:layout_margin="8dp" />
</LinearLayout>
@ -65,23 +64,23 @@
android:layout_width="match_parent"
android:layout_height="2dip"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp"
android:layout_marginStart="8dp"
android:background="#dfdfdf"
android:padding="7dp"/>
android:padding="7dp" />
<org.ligi.passandroid.ui.views.TimeAndNavBar
android:id="@+id/timeAndNavBar"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
android:layout_height="wrap_content" />
<LinearLayout
android:id="@+id/passExtrasContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"/>
android:orientation="vertical" />
</LinearLayout>