Allow parsing dev profile URLs

This commit is contained in:
Rahul Kumar Patel
2021-02-20 01:47:56 +05:30
parent 489783e612
commit db59843c58
18 changed files with 289 additions and 19 deletions

View File

@@ -0,0 +1,77 @@
<?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/>.
~
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@drawable/divider"
android:orientation="vertical"
android:showDividers="middle">
<include
android:id="@+id/layout_toolbar_action"
layout="@layout/view_toolbar_action" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/padding_normal">
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/img_icon"
android:layout_width="@dimen/icon_size"
android:layout_height="@dimen/icon_size"
app:srcCompat="@drawable/bg_placeholder" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_dev_name"
style="@style/AuroraTextStyle.Subtitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_small"
android:layout_toEndOf="@id/img_icon"
tools:text="Developer Name" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/txt_dev_description"
style="@style/AuroraTextStyle.Line2"
android:layout_width="match_parent"
android:maxLines="6"
android:layout_height="wrap_content"
android:layout_below="@id/txt_dev_name"
android:layout_alignStart="@id/txt_dev_name"
android:layout_alignEnd="@id/txt_dev_name"
android:layout_marginTop="@dimen/margin_small"
tools:text="Developer Name" />
</RelativeLayout>
<com.airbnb.epoxy.EpoxyRecyclerView
android:id="@+id/recycler"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/layout_toolbar_action"
android:clipToPadding="true"
android:paddingBottom="@dimen/height_bottom_adj"
app:itemSpacing="@dimen/margin_normal"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
app:stackFromEnd="false" />
</LinearLayout>

View File

@@ -133,6 +133,7 @@
<string name="details_dev_address">"Address"</string>
<string name="details_dev_details">"Developer contact"</string>
<string name="details_dev_email">"Email"</string>
<string name="details_dev_profile">"Developer profile"</string>
<string name="details_dev_reply">"Developer\'s reply"</string>
<string name="details_dev_website">"Website"</string>
<string name="details_files">"Files"</string>