summaryrefslogtreecommitdiff
path: root/org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-02-11 12:06:37 +0300
committerAndrew Dolgov <[email protected]>2015-02-11 12:06:37 +0300
commit4ed26b8807c5ef83f62d2d08458304999aea0670 (patch)
treef2fba08226d468569e6c30a139f8603458f55508 /org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml
parent68ae4822e2777ef3d065c18b1c3964cc4d01b486 (diff)
Revert "rename main module"
This reverts commit 68ae4822e2777ef3d065c18b1c3964cc4d01b486.
Diffstat (limited to 'org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml')
-rwxr-xr-xorg.fox.ttcomics/src/main/res/layout/comics_grid_row.xml67
1 files changed, 67 insertions, 0 deletions
diff --git a/org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml b/org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml
new file mode 100755
index 0000000..91d27cd
--- /dev/null
+++ b/org.fox.ttcomics/src/main/res/layout/comics_grid_row.xml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<android.support.v7.widget.CardView
+ xmlns:card_view="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/comics_list_row"
+ android:layout_width="160dp"
+ android:layout_height="210dp"
+ android:gravity="center_vertical"
+ card_view:cardUseCompatPadding="true"
+ card_view:cardElevation="2dp"
+ tools:ignore="HardcodedText" >
+
+ <FrameLayout
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_gravity="center_horizontal"
+ android:layout_weight="0"
+ android:padding="0dp" >
+
+ <ImageView
+ android:layout_width="match_parent"
+ android:layout_height="200dp"
+ android:id="@+id/thumbnail"
+ android:scaleType="centerCrop"
+ android:src="@drawable/badimage" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|center_horizontal"
+ android:gravity="center_horizontal|bottom"
+ android:background="@drawable/comic_grid_footer"
+ android:padding="4dp"
+ android:orientation="vertical" >
+
+ <TextView
+ android:id="@+id/file_name"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:ellipsize="middle"
+ android:singleLine="true"
+ android:text="Comic_1980.cbz"
+ android:textColor="@android:color/primary_text_dark"
+ android:textSize="11sp" />
+
+ <ProgressBar
+ android:id="@+id/file_progress_bar"
+ style="?android:attr/progressBarStyleHorizontal"
+ android:layout_width="96dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <TextView
+ android:id="@+id/file_progress_info"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textColor="@android:color/primary_text_dark"
+ android:layout_weight="0"
+ android:gravity="right"
+ android:text="12 of 325"
+ android:textSize="8sp" />
+ </LinearLayout>
+
+ </FrameLayout>
+ </android.support.v7.widget.CardView> \ No newline at end of file