1
0
mirror of https://github.com/sismics/docs.git synced 2026-01-07 13:59:31 +00:00

Android: tags in drawer

This commit is contained in:
jendib
2014-11-23 19:55:08 +01:00
parent 1773998ca0
commit 6a9a166670
12 changed files with 219 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

View File

@@ -3,7 +3,6 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="12dp"
android:clickable="true"
android:focusable="true"

View File

@@ -6,6 +6,7 @@
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/detailLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="12dp"
@@ -81,7 +82,7 @@
<com.sismics.docs.ui.view.FileViewPager
android:id="@+id/fileViewPager"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="match_parent"/>
<ProgressBar
android:id="@+id/progressBar"
@@ -89,7 +90,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:indeterminate="true" />
android:indeterminate="true"/>
</RelativeLayout>

View File

@@ -10,13 +10,13 @@
android:layout_height="15dip"
android:id="@+id/fileProgressBar"
android:indeterminate="false"
android:layout_centerInParent="true" />
android:layout_centerInParent="true"/>
<it.sephiroth.android.library.imagezoom.ImageViewTouch
android:id="@+id/fileImageView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:scaleType="matrix"
android:src="@drawable/ic_launcher" />
android:src="@drawable/ic_launcher"/>
</RelativeLayout>

View File

@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="12dp"
android:background="?android:attr/selectableItemBackground">
<ImageView
android:id="@+id/labelImageView"
android:layout_centerVertical="true"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_marginRight="12dp"
android:layout_marginEnd="12dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_label_white_24dp"/>
<TextView
android:id="@+id/tagTextView"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/labelImageView"
android:layout_toEndOf="@+id/labelImageView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:textColor="#212121"
android:text="Appartement"
android:textSize="14sp"/>
<TextView
android:id="@+id/tagCountTextView"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:fontFamily="sans-serif"
android:textColor="#888"
android:text="5"
android:textSize="14sp"/>
</RelativeLayout>