Files
APKDownloader/app/src/main/res/layout-v21/view_app.xml
Rahul Kumar Patel dfc706b13e Initial v4
2021-02-15 05:37:36 +05:30

58 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Aurora Store
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
~
~ Aurora Store 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 2 of the License, or
~ (at your option) any later version.
~
~ Aurora Store 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 Aurora Store. If not, see <http://www.gnu.org/licenses/>.
~
-->
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/img_icon"
android:layout_width="@dimen/icon_size_cluster"
android:layout_height="@dimen/icon_size_cluster"
android:layout_centerHorizontal="true"
android:layout_marginStart="@dimen/padding_xsmall"
android:layout_marginEnd="@dimen/padding_xsmall" />
<TextView
android:id="@+id/txt_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/img_icon"
android:layout_alignStart="@id/img_icon"
android:layout_alignEnd="@id/img_icon"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/margin_small"
android:maxLines="2"
android:textAppearance="@style/TextAppearance.Aurora.Line2"
android:textColor="?android:textColorPrimary"
tools:text="App Name" />
<TextView
android:id="@+id/txt_size"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/txt_name"
android:layout_alignStart="@id/txt_name"
android:layout_alignEnd="@id/txt_name"
android:layout_centerHorizontal="true"
android:maxLines="1"
android:textAppearance="@style/TextAppearance.Aurora.Line3"
tools:text="53 MB" />
</RelativeLayout>