2020-02-04 06:41:52 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-06-11 09:48:12 +00:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-02-04 06:41:52 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="6dp"
|
|
|
|
android:layout_marginBottom="6dp">
|
|
|
|
|
2020-06-11 09:48:12 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingStart="?android:attr/listPreferredItemPaddingStart"
|
|
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/details"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:textColor="?primaryText"
|
|
|
|
android:textColorLink="?aboutLink"
|
2020-06-11 09:48:12 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
2020-02-04 06:41:52 +00:00
|
|
|
tools:text="@tools:sample/lorem/random" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/author_label"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
android:text="@string/mozac_feature_addons_authors"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/author_text"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/details" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/author_text"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentEnd="true"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="20dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/author_label"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/details"
|
2020-02-04 06:41:52 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/author_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:background="?android:attr/listDivider"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:importantForAccessibility="no"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/author_text"
|
|
|
|
tools:layout_editor_absoluteX="16dp" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/version_label"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/mozac_feature_addons_version"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/version_text"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/author_divider"
|
|
|
|
tools:layout_editor_absoluteY="52dp" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/version_text"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/version_label"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/author_divider"
|
2020-02-04 06:41:52 +00:00
|
|
|
tools:text="1.2.3" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/version_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:layout_marginBottom="10dp"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:background="?android:attr/listDivider"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:importantForAccessibility="no"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/version_text" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_updated_label"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/mozac_feature_addons_last_updated"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/last_updated_text"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/version_divider" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/last_updated_text"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/last_updated_label"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/version_divider"
|
2020-02-04 06:41:52 +00:00
|
|
|
tools:text="Oct 16, 2019" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/last_updated_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:background="?android:attr/listDivider"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:importantForAccessibility="no"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/last_updated_text" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/home_page_label"
|
2020-06-11 09:48:12 +00:00
|
|
|
style="@style/AboutHeaderContentText"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
android:text="@string/mozac_feature_addons_home_page"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:textColor="?aboutLink"
|
2020-06-11 09:48:12 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/last_updated_divider" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/home_page_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginTop="10dp"
|
2020-03-26 17:16:42 +00:00
|
|
|
android:background="?android:attr/listDivider"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:importantForAccessibility="no"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/home_page_label" />
|
2020-02-04 06:41:52 +00:00
|
|
|
|
2020-04-15 17:51:55 +00:00
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
android:layout_width="match_parent"
|
2020-02-04 06:41:52 +00:00
|
|
|
android:layout_height="wrap_content"
|
2020-06-11 09:48:12 +00:00
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/home_page_divider">
|
2020-04-15 17:51:55 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/rating_label"
|
|
|
|
style="@style/AboutHeaderContentText"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/mozac_feature_addons_rating"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<RatingBar
|
|
|
|
android:id="@+id/rating_view"
|
|
|
|
style="@style/Widget.AppCompat.RatingBar.Small"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginStart="@dimen/addon_details_rating_view_margin_start"
|
|
|
|
android:layout_marginEnd="@dimen/addon_details_rating_view_margin_end"
|
|
|
|
android:isIndicator="true"
|
|
|
|
android:numStars="5"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toStartOf="@+id/users_count"
|
|
|
|
app:layout_constraintHorizontal_bias="1"
|
|
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/rating_label"
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/users_count"
|
|
|
|
style="@style/AboutHeaderContentText"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toEndOf="@+id/rating_view"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
app:layout_constraintWidth_default="wrap"
|
|
|
|
tools:text="591,642" />
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-02-04 06:41:52 +00:00
|
|
|
|
2020-06-11 09:48:12 +00:00
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
2020-02-04 06:41:52 +00:00
|
|
|
</ScrollView>
|