mirror of
https://github.com/TeamAmaze/AmazeFileManager.git
synced 2026-10-22 00:17:20 +08:00
9c53a01e80
Lots of changes for the initial release
130 lines
4.9 KiB
XML
130 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Copyright (C) 2014 Arpit Khurana <arpitkh96@gmail.com>, Vishal Nehra <vishalmeham2@gmail.com>
|
|
|
|
This file is part of Amaze File Manager.
|
|
|
|
Amaze File Manager is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
-->
|
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="170dp"
|
|
android:id="@+id/frame"
|
|
android:background="@drawable/item_doc_grid"
|
|
android:foreground="@drawable/item_backgrund">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:paddingBottom="6dp"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:id="@+id/icon_frame"
|
|
android:layout_marginBottom="6dp"
|
|
android:background="#fff"
|
|
android:foreground="@drawable/ic_grid_gradient_bg"
|
|
android:foregroundGravity="fill">
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_mime"
|
|
android:layout_width="65dp"
|
|
android:layout_height="65dp"
|
|
android:layout_gravity="center"
|
|
android:scaleType="centerInside"
|
|
android:contentDescription="@null" />
|
|
|
|
<ImageView
|
|
android:id="@+id/icon_thumb"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:scaleType="centerCrop"
|
|
android:contentDescription="@null" />
|
|
|
|
<TextView
|
|
android:id="@+id/perm"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="right|top"
|
|
android:layout_marginRight="5dp"
|
|
android:singleLine="true"
|
|
android:textColor="#80000000"
|
|
android:ellipsize="end"
|
|
android:textAlignment="viewEnd"
|
|
style="@style/TextAppearance.Small" />
|
|
|
|
</FrameLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/line1"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="false"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:singleLine="true"
|
|
android:ellipsize="middle"
|
|
android:textAlignment="viewStart"
|
|
style="@style/TextAppearance.Medium" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/line2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center_vertical"
|
|
android:orientation="horizontal"
|
|
android:baselineAligned="false"
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
|
|
|
<TextView
|
|
android:id="@+id/date"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textAlignment="viewStart"
|
|
style="@style/TextAppearance.Small" />
|
|
|
|
<TextView
|
|
android:id="@+id/size"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:layout_marginStart="8dp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:textAlignment="viewStart"
|
|
style="@style/TextAppearance.Small" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |