AppDetails: Fix user review + minor cleanup
This commit is contained in:
@@ -29,13 +29,13 @@
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/img_icon_layout"
|
||||
android:layout_width="@dimen/icon_size_medium"
|
||||
android:layout_height="@dimen/icon_size_medium">
|
||||
android:layout_width="@dimen/icon_size_large"
|
||||
android:layout_height="@dimen/icon_size_large">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
android:id="@+id/img_icon"
|
||||
android:layout_width="@dimen/icon_size"
|
||||
android:layout_height="@dimen/icon_size"
|
||||
android:layout_width="@dimen/icon_size_large"
|
||||
android:layout_height="@dimen/icon_size_large"
|
||||
tools:src="@drawable/bg_placeholder" />
|
||||
|
||||
<com.google.android.material.progressindicator.CircularProgressIndicator
|
||||
@@ -44,7 +44,7 @@
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerInParent="true"
|
||||
android:visibility="gone"
|
||||
app:indicatorSize="@dimen/icon_size_medium"
|
||||
app:indicatorSize="@dimen/icon_size_large"
|
||||
app:trackThickness="3dp"
|
||||
tools:progress="40" />
|
||||
</RelativeLayout>
|
||||
@@ -120,6 +120,7 @@
|
||||
android:backgroundTint="?colorError"
|
||||
android:textColor="?colorOnError"
|
||||
android:visibility="gone"
|
||||
app:cornerRadius="@dimen/radius_small"
|
||||
tools:text="@string/action_cancel"
|
||||
tools:visibility="visible" />
|
||||
|
||||
@@ -129,6 +130,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/margin_small"
|
||||
android:layout_weight="1"
|
||||
app:cornerRadius="@dimen/radius_small"
|
||||
tools:text="@string/action_install" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -22,9 +22,11 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:divider="@drawable/divider"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="@dimen/padding_small"
|
||||
android:paddingEnd="@dimen/padding_small"
|
||||
android:showDividers="middle"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
@@ -40,7 +42,6 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/margin_small"
|
||||
android:orientation="vertical">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
@@ -61,11 +62,9 @@
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btn_beta_Action"
|
||||
android:layout_width="wrap_content"
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:insetTop="@dimen/margin_xsmall"
|
||||
android:insetBottom="@dimen/margin_xsmall"
|
||||
android:minWidth="128dp"
|
||||
android:text="@string/action_join"
|
||||
app:cornerRadius="@dimen/radius_small" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
~
|
||||
-->
|
||||
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/exodus_card"
|
||||
android:layout_width="match_parent"
|
||||
@@ -41,20 +41,14 @@
|
||||
android:id="@+id/txt_status"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/header_privacy"
|
||||
android:text="@string/exodus_progress"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line1" />
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
style="@style/Widget.Material3.Button.TonalButton"
|
||||
android:id="@+id/btn_request_analysis"
|
||||
style="@style/Widget.Material3.Button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@id/txt_status"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:insetTop="@dimen/padding_small"
|
||||
android:insetBottom="@dimen/padding_xsmall"
|
||||
android:text="@string/action_request_analysis"
|
||||
app:cornerRadius="@dimen/margin_small" />
|
||||
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
@@ -38,8 +38,9 @@
|
||||
android:id="@+id/layout_user_review"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<RatingBar
|
||||
android:id="@+id/user_stars"
|
||||
@@ -55,38 +56,39 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="@dimen/margin_normal"
|
||||
android:divider="@drawable/divider"
|
||||
android:orientation="vertical"
|
||||
android:showDividers="middle">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/input_title"
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:background="@drawable/bg_changelog"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:hint="@string/details_ratings_title_hint"
|
||||
android:imeOptions="flagNoExtractUi|actionDone"
|
||||
android:inputType="text"
|
||||
android:paddingStart="@dimen/padding_large"
|
||||
android:paddingEnd="@dimen/padding_normal"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line2" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/input_review"
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/input_title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:hint="@string/details_ratings_title_hint"
|
||||
android:inputType="text"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line2" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
style="@style/Widget.Material3.TextInputLayout.OutlinedBox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="42dp"
|
||||
android:background="@drawable/bg_changelog"
|
||||
android:gravity="center_vertical|center_horizontal"
|
||||
android:hint="@string/details_think_this_app"
|
||||
android:imeOptions="flagNoExtractUi|actionDone"
|
||||
android:inputType="text"
|
||||
android:paddingStart="@dimen/padding_large"
|
||||
android:paddingEnd="@dimen/padding_normal"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line2" />
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.google.android.material.textfield.TextInputEditText
|
||||
android:id="@+id/input_review"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:focusable="true"
|
||||
android:hint="@string/details_think_this_app"
|
||||
android:inputType="textMultiLine"
|
||||
android:textAppearance="@style/TextAppearance.Aurora.Line2" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.button.MaterialButton
|
||||
android:id="@+id/btn_post_review"
|
||||
@@ -94,7 +96,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="@string/action_post"
|
||||
app:cornerRadius="@dimen/margin_small" />
|
||||
app:cornerRadius="@dimen/radius_small" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user