aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/password_row_layout.xml88
1 files changed, 49 insertions, 39 deletions
diff --git a/app/src/main/res/layout/password_row_layout.xml b/app/src/main/res/layout/password_row_layout.xml
index 85f8838d..824366e7 100644
--- a/app/src/main/res/layout/password_row_layout.xml
+++ b/app/src/main/res/layout/password_row_layout.xml
@@ -14,46 +14,56 @@
android:paddingRight="16dp"
android:gravity="start">
- <ImageView
- android:layout_width="40dp"
- android:layout_height="32dp"
- android:id="@+id/type_image"
- android:src="@drawable/ic_folder_grey600_24dp"
- android:contentDescription="@string/folder_icon_hint"
- android:alpha="0.5"
- android:layout_centerVertical="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:paddingRight="8dp"
- android:paddingEnd="8dp"
- tools:ignore="RtlSymmetry" />
-
- <TextView
- android:id="@+id/type"
- android:layout_width="wrap_content"
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:ellipsize="start"
- android:text="TYPE"
- android:textSize="14sp"
- android:textColor="@color/grey_500"
- android:layout_alignTop="@+id/type_image"
- android:layout_toRightOf="@+id/type_image"
- android:layout_toEndOf="@+id/type_image"
- android:singleLine="true"
- tools:ignore="HardcodedText" />
-
- <TextView
- android:id="@+id/label"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:text="FILE_NAME"
- android:textColor="@android:color/black"
- android:textSize="18sp"
- android:layout_below="@+id/type"
- android:layout_alignLeft="@+id/type"
- android:layout_alignStart="@+id/type"
- tools:ignore="HardcodedText" />
+ android:orientation="horizontal">
+
+ <ImageView
+ android:id="@+id/type_image"
+ android:layout_width="80dp"
+ android:layout_height="32dp"
+ android:layout_gravity="bottom"
+ android:layout_weight="1"
+ android:alpha="0.5"
+ android:contentDescription="@string/folder_icon_hint"
+ android:paddingEnd="8dp"
+ android:paddingRight="8dp"
+ android:src="@drawable/ic_folder_grey600_24dp"
+ tools:ignore="RtlSymmetry" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_gravity="bottom"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/type"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:ellipsize="start"
+ android:singleLine="true"
+ android:text="TYPE"
+ android:textColor="@color/grey_500"
+ android:textSize="14sp"
+ tools:ignore="HardcodedText" />
+
+ <TextView
+ android:id="@+id/label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom"
+ android:text="FILE_NAME"
+ android:textColor="@android:color/black"
+ android:textSize="18sp"
+ tools:ignore="HardcodedText" />
+
+ </LinearLayout>
+
+ </LinearLayout>
+
</RelativeLayout>
</LinearLayout> \ No newline at end of file