AppDetails: Fix ActionButton color
This commit is contained in:
committed by
Aayush Gupta
parent
377a45f213
commit
4f46817a54
@@ -21,9 +21,9 @@
|
|||||||
<item>
|
<item>
|
||||||
<shape android:shape="rectangle">
|
<shape android:shape="rectangle">
|
||||||
<corners
|
<corners
|
||||||
android:topLeftRadius="8dp"
|
android:topLeftRadius="14dp"
|
||||||
android:topRightRadius="8dp" />
|
android:topRightRadius="14dp" />
|
||||||
<solid android:color="?colorAccent" />
|
<solid android:color="?colorPrimary" />
|
||||||
</shape>
|
</shape>
|
||||||
</item>
|
</item>
|
||||||
</layer-list>
|
</layer-list>
|
||||||
@@ -49,7 +49,8 @@
|
|||||||
android:layout_marginTop="@dimen/margin_xsmall"
|
android:layout_marginTop="@dimen/margin_xsmall"
|
||||||
android:layout_marginBottom="@dimen/margin_xsmall"
|
android:layout_marginBottom="@dimen/margin_xsmall"
|
||||||
android:text="@string/action_install"
|
android:text="@string/action_install"
|
||||||
app:btnActionText="@string/action_install" />
|
app:btnActionText="@string/action_install"
|
||||||
|
app:btnActionTextColor="?colorOnPrimary" />
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/progress_layout"
|
android:id="@+id/progress_layout"
|
||||||
@@ -69,6 +70,9 @@
|
|||||||
android:layout_toStartOf="@id/img_cancel"
|
android:layout_toStartOf="@id/img_cancel"
|
||||||
android:background="@drawable/bg_rounded_transparent"
|
android:background="@drawable/bg_rounded_transparent"
|
||||||
android:indeterminate="true"
|
android:indeterminate="true"
|
||||||
|
android:indeterminateTint="?colorOnPrimary"
|
||||||
|
app:indicatorColor="?colorControlHighlight"
|
||||||
|
app:trackColor="?colorAccent"
|
||||||
app:trackThickness="@dimen/icon_size_small" />
|
app:trackThickness="@dimen/icon_size_small" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -90,7 +94,7 @@
|
|||||||
android:text="0%"
|
android:text="0%"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textAppearance="@style/TextAppearance.Aurora.Title"
|
android:textAppearance="@style/TextAppearance.Aurora.Title"
|
||||||
android:textColor="@color/colorWhite"
|
android:textColor="?colorOnPrimary"
|
||||||
android:textSize="32sp" />
|
android:textSize="32sp" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@@ -106,7 +110,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/download_speed_estimating"
|
android:text="@string/download_speed_estimating"
|
||||||
android:textColor="@color/colorWhite" />
|
android:textColor="?colorOnPrimary" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/txt_eta"
|
android:id="@+id/txt_eta"
|
||||||
@@ -114,7 +118,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="@string/download_eta_calculating"
|
android:text="@string/download_eta_calculating"
|
||||||
android:textColor="@color/colorWhite" />
|
android:textColor="?colorOnPrimary" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
@@ -149,7 +153,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:alpha=".75"
|
android:alpha=".75"
|
||||||
android:text="@string/purchase_failed"
|
android:text="@string/purchase_failed"
|
||||||
android:textAlignment="center" />
|
android:textAlignment="center"
|
||||||
|
android:textColor="?colorOnPrimary" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
android:id="@+id/txt_purchase_error"
|
android:id="@+id/txt_purchase_error"
|
||||||
@@ -157,7 +162,7 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAlignment="center"
|
android:textAlignment="center"
|
||||||
android:textColor="@color/colorWhite"
|
android:textColor="?colorOnPrimary"
|
||||||
tools:text="@string/purchase_invalid" />
|
tools:text="@string/purchase_invalid" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -45,7 +45,6 @@
|
|||||||
android:textAllCaps="true"
|
android:textAllCaps="true"
|
||||||
android:textAppearance="@style/TextAppearance.Aurora.SubTitle"
|
android:textAppearance="@style/TextAppearance.Aurora.SubTitle"
|
||||||
app:iconPadding="@dimen/padding_large"
|
app:iconPadding="@dimen/padding_large"
|
||||||
app:iconTint="@color/colorWhite"
|
|
||||||
tools:text="Install" />
|
tools:text="Install" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -18,13 +18,6 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
<declare-styleable name="AuroraTheme">
|
|
||||||
<attr name="scrim" format="color" />
|
|
||||||
<attr name="scrimAccent" format="color" />
|
|
||||||
<attr name="scrimAlt" format="color" />
|
|
||||||
<attr name="scrimBlack" format="color" />
|
|
||||||
</declare-styleable>
|
|
||||||
|
|
||||||
<declare-styleable name="ActionHeaderLayout">
|
<declare-styleable name="ActionHeaderLayout">
|
||||||
<attr name="headerTitle" format="string" />
|
<attr name="headerTitle" format="string" />
|
||||||
<attr name="headerSubtitle" format="string" />
|
<attr name="headerSubtitle" format="string" />
|
||||||
|
|||||||
Reference in New Issue
Block a user