mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Unix line endings
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| <shape | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:shape="rectangle"> | ||||
|     <solid android:color="@android:color/transparent"/> | ||||
|     <size | ||||
|         android:width="32dp" | ||||
|         android:height="32dp" /> | ||||
| <shape | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:shape="rectangle"> | ||||
|     <solid android:color="@android:color/transparent"/> | ||||
|     <size | ||||
|         android:width="32dp" | ||||
|         android:height="32dp" /> | ||||
| </shape> | ||||
| @@ -1,9 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="18dp" | ||||
|     android:height="18dp" | ||||
|     android:viewportWidth="24.0" | ||||
|     android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFFFF" | ||||
|         android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/> | ||||
| </vector> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:width="18dp" | ||||
|     android:height="18dp" | ||||
|     android:viewportWidth="24.0" | ||||
|     android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FFFFFFFF" | ||||
|         android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/> | ||||
| </vector> | ||||
|   | ||||
| @@ -1,9 +1,9 @@ | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:width="24dp" | ||||
|         android:height="24dp" | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FF000000" | ||||
|         android:pathData="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10 10,-4.5 10,-10S17.5,2 12,2zM16.2,16.2L11,13L11,7h1.5v5.2l4.5,2.7 -0.8,1.3z"/> | ||||
| </vector> | ||||
| <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|         android:width="24dp" | ||||
|         android:height="24dp" | ||||
|         android:viewportWidth="24.0" | ||||
|         android:viewportHeight="24.0"> | ||||
|     <path | ||||
|         android:fillColor="#FF000000" | ||||
|         android:pathData="M12,2C6.5,2 2,6.5 2,12s4.5,10 10,10 10,-4.5 10,-10S17.5,2 12,2zM16.2,16.2L11,13L11,7h1.5v5.2l4.5,2.7 -0.8,1.3z"/> | ||||
| </vector> | ||||
|   | ||||
| @@ -1,23 +1,23 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="?attr/listPreferredItemHeightSmall" | ||||
|     android:paddingLeft="?attr/listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?attr/listPreferredItemPaddingRight" | ||||
|     android:background="?attr/selectableItemBackground" | ||||
|     android:focusable="true"> | ||||
|  | ||||
|     <CheckBox | ||||
|         android:id="@+id/nav_view_item" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_weight="1" | ||||
|         android:paddingLeft="@dimen/material_component_lists_icon_left_padding" | ||||
|         android:background="@android:color/transparent" | ||||
|         android:gravity="center_vertical|start" | ||||
|         android:maxLines="1" | ||||
|         android:clickable="false" | ||||
|         android:textAppearance="@style/TextAppearance.AppCompat.Body2" /> | ||||
|  | ||||
| </LinearLayout> | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="?attr/listPreferredItemHeightSmall" | ||||
|     android:paddingLeft="?attr/listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?attr/listPreferredItemPaddingRight" | ||||
|     android:background="?attr/selectableItemBackground" | ||||
|     android:focusable="true"> | ||||
|  | ||||
|     <CheckBox | ||||
|         android:id="@+id/nav_view_item" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_weight="1" | ||||
|         android:paddingLeft="@dimen/material_component_lists_icon_left_padding" | ||||
|         android:background="@android:color/transparent" | ||||
|         android:gravity="center_vertical|start" | ||||
|         android:maxLines="1" | ||||
|         android:clickable="false" | ||||
|         android:textAppearance="@style/TextAppearance.AppCompat.Body2" /> | ||||
|  | ||||
| </LinearLayout> | ||||
|   | ||||
| @@ -1,30 +1,30 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="?attr/listPreferredItemHeightSmall" | ||||
|     android:background="?colorPrimary" | ||||
|     android:orientation="horizontal" | ||||
|     android:gravity="center_vertical" | ||||
|     android:paddingLeft="?attr/listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?attr/listPreferredItemPaddingRight" | ||||
|     android:elevation="2dp"> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/title" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_weight="1" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:ellipsize="end" | ||||
|         android:maxLines="1" | ||||
|         android:textAppearance="@style/TextAppearance.AppCompat.Body2" | ||||
|         android:textColor="@color/textColorPrimaryDark" | ||||
|         tools:text="Header"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/expand_icon" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content"/> | ||||
|  | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout | ||||
|     xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:layout_width="match_parent" | ||||
|     android:layout_height="?attr/listPreferredItemHeightSmall" | ||||
|     android:background="?colorPrimary" | ||||
|     android:orientation="horizontal" | ||||
|     android:gravity="center_vertical" | ||||
|     android:paddingLeft="?attr/listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?attr/listPreferredItemPaddingRight" | ||||
|     android:elevation="2dp"> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@+id/title" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_weight="1" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:ellipsize="end" | ||||
|         android:maxLines="1" | ||||
|         android:textAppearance="@style/TextAppearance.AppCompat.Body2" | ||||
|         android:textColor="@color/textColorPrimaryDark" | ||||
|         tools:text="Header"/> | ||||
|  | ||||
|     <ImageView | ||||
|         android:id="@+id/expand_icon" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content"/> | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -1,62 +1,62 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout 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" | ||||
|     android:background="?selectableItemBackground" | ||||
|     android:baselineAligned="false" | ||||
|     android:clipToPadding="false" | ||||
|     android:gravity="center_vertical" | ||||
|     android:minHeight="42dp" | ||||
|     android:paddingLeft="?listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?listPreferredItemPaddingRight" | ||||
|     tools:ignore="RtlHardcoded"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:id="@android:id/widget_frame" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="match_parent" | ||||
|         android:clipToPadding="false" | ||||
|         android:gravity="start|center_vertical" | ||||
|         android:orientation="vertical" | ||||
|         android:paddingLeft="16dp" | ||||
|         android:paddingRight="16dp"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@android:id/title" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_weight="1" | ||||
|         android:ellipsize="marquee" | ||||
|         android:singleLine="true" | ||||
|         android:textAppearance="?textAppearanceListItem"/> | ||||
|  | ||||
|     <!-- Hidden view --> | ||||
|     <TextView | ||||
|         android:id="@android:id/summary" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:visibility="gone" /> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:id="@+id/login_frame" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_marginEnd="-16dp" | ||||
|         android:layout_marginRight="-16dp" | ||||
|         android:clipToPadding="false" | ||||
|         android:gravity="end|center_vertical" | ||||
|         android:orientation="vertical" | ||||
|         android:paddingLeft="16dp" | ||||
|         android:paddingRight="16dp" | ||||
|         android:visibility="gone"> | ||||
|  | ||||
|         <ImageView | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:id="@+id/login" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
|  | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <LinearLayout 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" | ||||
|     android:background="?selectableItemBackground" | ||||
|     android:baselineAligned="false" | ||||
|     android:clipToPadding="false" | ||||
|     android:gravity="center_vertical" | ||||
|     android:minHeight="42dp" | ||||
|     android:paddingLeft="?listPreferredItemPaddingLeft" | ||||
|     android:paddingRight="?listPreferredItemPaddingRight" | ||||
|     tools:ignore="RtlHardcoded"> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:id="@android:id/widget_frame" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="match_parent" | ||||
|         android:clipToPadding="false" | ||||
|         android:gravity="start|center_vertical" | ||||
|         android:orientation="vertical" | ||||
|         android:paddingLeft="16dp" | ||||
|         android:paddingRight="16dp"/> | ||||
|  | ||||
|     <TextView | ||||
|         android:id="@android:id/title" | ||||
|         android:layout_width="0dp" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:layout_weight="1" | ||||
|         android:ellipsize="marquee" | ||||
|         android:singleLine="true" | ||||
|         android:textAppearance="?textAppearanceListItem"/> | ||||
|  | ||||
|     <!-- Hidden view --> | ||||
|     <TextView | ||||
|         android:id="@android:id/summary" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="wrap_content" | ||||
|         android:visibility="gone" /> | ||||
|  | ||||
|     <LinearLayout | ||||
|         android:id="@+id/login_frame" | ||||
|         android:layout_width="wrap_content" | ||||
|         android:layout_height="match_parent" | ||||
|         android:layout_marginEnd="-16dp" | ||||
|         android:layout_marginRight="-16dp" | ||||
|         android:clipToPadding="false" | ||||
|         android:gravity="end|center_vertical" | ||||
|         android:orientation="vertical" | ||||
|         android:paddingLeft="16dp" | ||||
|         android:paddingRight="16dp" | ||||
|         android:visibility="gone"> | ||||
|  | ||||
|         <ImageView | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:id="@+id/login" /> | ||||
|  | ||||
|     </LinearLayout> | ||||
|  | ||||
|  | ||||
| </LinearLayout> | ||||
| @@ -1,191 +1,191 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <android.support.v7.widget.CardView 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:id="@+id/track" | ||||
|     style="@style/Theme.Widget.CardView.Item" | ||||
|     android:padding="0dp"> | ||||
|  | ||||
|     <android.support.constraint.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content"> | ||||
|  | ||||
|         <FrameLayout | ||||
|             android:id="@+id/logo_container" | ||||
|             android:layout_width="48dp" | ||||
|             android:layout_height="0dp" | ||||
|             app:layout_constraintBottom_toBottomOf="parent" | ||||
|             app:layout_constraintLeft_toLeftOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             android:clickable="true" | ||||
|             tools:background="#2E51A2"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/track_logo" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 tools:src="@drawable/mal" /> | ||||
|  | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/title_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/title" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_title" | ||||
|                 style="@style/TextAppearance.Medium.Button" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:ellipsize="middle" | ||||
|                 android:gravity="end" | ||||
|                 android:maxLines="1" | ||||
|                 android:text="@string/action_edit" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider1" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/title_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/status_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider1"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/status" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_status" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="Reading" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider2" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/status_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/chapters_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider2"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/chapters" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_chapters" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="12/24" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider3" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/chapters_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/score_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider3"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/score" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_score" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="10" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|     </android.support.constraint.ConstraintLayout> | ||||
|  | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <android.support.v7.widget.CardView 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:id="@+id/track" | ||||
|     style="@style/Theme.Widget.CardView.Item" | ||||
|     android:padding="0dp"> | ||||
|  | ||||
|     <android.support.constraint.ConstraintLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content"> | ||||
|  | ||||
|         <FrameLayout | ||||
|             android:id="@+id/logo_container" | ||||
|             android:layout_width="48dp" | ||||
|             android:layout_height="0dp" | ||||
|             app:layout_constraintBottom_toBottomOf="parent" | ||||
|             app:layout_constraintLeft_toLeftOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent" | ||||
|             android:clickable="true" | ||||
|             tools:background="#2E51A2"> | ||||
|  | ||||
|             <ImageView | ||||
|                 android:id="@+id/track_logo" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 tools:src="@drawable/mal" /> | ||||
|  | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/title_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toTopOf="parent"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/title" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_title" | ||||
|                 style="@style/TextAppearance.Medium.Button" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:ellipsize="middle" | ||||
|                 android:gravity="end" | ||||
|                 android:maxLines="1" | ||||
|                 android:text="@string/action_edit" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider1" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/title_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/status_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider1"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/status" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_status" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="Reading" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider2" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/status_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/chapters_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider2"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/chapters" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_chapters" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="12/24" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|         <View | ||||
|             android:id="@+id/divider3" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="1dp" | ||||
|             android:layout_marginEnd="16dp" | ||||
|             android:layout_marginLeft="16dp" | ||||
|             android:layout_marginRight="16dp" | ||||
|             android:layout_marginStart="16dp" | ||||
|             android:background="?android:attr/divider" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/chapters_container" /> | ||||
|  | ||||
|         <LinearLayout | ||||
|             android:id="@+id/score_container" | ||||
|             android:layout_width="0dp" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/selectable_list_drawable" | ||||
|             android:clickable="true" | ||||
|             android:padding="16dp" | ||||
|             app:layout_constraintLeft_toRightOf="@+id/logo_container" | ||||
|             app:layout_constraintRight_toRightOf="parent" | ||||
|             app:layout_constraintTop_toBottomOf="@+id/divider3"> | ||||
|  | ||||
|             <TextView | ||||
|                 style="@style/TextAppearance.Regular.Body1" | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:text="@string/score" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:id="@+id/track_score" | ||||
|                 style="@style/TextAppearance.Regular.Body1.Secondary" | ||||
|                 android:layout_width="match_parent" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_marginLeft="4dp" | ||||
|                 android:layout_marginStart="4dp" | ||||
|                 android:gravity="end" | ||||
|                 tools:text="10" /> | ||||
|  | ||||
|         </LinearLayout> | ||||
|  | ||||
|     </android.support.constraint.ConstraintLayout> | ||||
|  | ||||
| </android.support.v7.widget.CardView> | ||||
		Reference in New Issue
	
	Block a user