Initial support for third-party dispensers

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-05-21 21:06:49 +05:30
parent 9004aa6df8
commit 453f6f24c2
21 changed files with 434 additions and 31 deletions

View File

@@ -76,11 +76,12 @@
tools:text="Sign in first" />
</RelativeLayout>
<RelativeLayout
<LinearLayout
android:id="@+id/layout_action"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="vertical"
android:padding="@dimen/padding_large"
android:visibility="invisible"
@@ -91,36 +92,29 @@
style="@style/AuroraTextStyle.Line1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@id/btn_google"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/margin_normal"
android:text="@string/account_login_using"
android:textAlignment="center" />
android:text="@string/account_login_using" />
<com.aurora.store.view.custom.layouts.button.StateButton
android:id="@+id/btn_google"
android:layout_width="@dimen/width_button"
android:layout_height="wrap_content"
android:layout_above="@id/btn_anonymous"
android:layout_centerHorizontal="true"
app:btnStateIcon="@drawable/ic_google"
app:btnStateText="@string/account_google" />
<com.aurora.store.view.custom.layouts.button.StateButton
android:id="@+id/btn_anonymous"
android:visibility="gone"
android:layout_width="@dimen/width_button"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:layout_centerHorizontal="true"
app:btnStateIcon="@drawable/ic_anonymous"
app:btnStateText="@string/account_anonymous" />
<com.aurora.store.view.custom.layouts.button.StateButton
android:visibility="gone"
android:id="@+id/btn_anonymous_insecure"
android:layout_width="@dimen/width_button"
android:layout_height="wrap_content"
android:layout_below="@id/btn_anonymous"
android:layout_centerHorizontal="true"
app:btnStateIcon="@drawable/ic_anonymous"
app:btnStateText="@string/account_anonymous_insecure" />
@@ -129,11 +123,9 @@
style="@style/AuroraTextStyle.Line3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/margin_small"
android:textAlignment="center"
tools:text="Version 4.0.1" />
</RelativeLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</LinearLayout>