forked from ankidroid/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Logo edit of AnkiWeb, logo Updates in myAccount and myAccountLoggedIn…
… page
- Loading branch information
1 parent
b5387a5
commit 3803e29
Showing
1 changed file
with
56 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,100 +7,114 @@ | |
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:fitsSystemWindows="true"> | ||
|
||
<!-- opens a WebView for 'remove account', replaces the layout above --> | ||
|
||
<RelativeLayout | ||
android:id="@+id/logged_in_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:foregroundGravity="center"> | ||
|
||
<include layout="@layout/toolbar" /> | ||
|
||
<LinearLayout | ||
android:id="@+id/logged_text" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginBottom="15dp" | ||
android:layout_alignParentEnd="true" | ||
android:layout_centerVertical="true" | ||
android:layout_marginBottom="10dp" | ||
android:layout_marginEnd="0dp" | ||
android:gravity="center_horizontal" | ||
android:orientation="vertical" | ||
android:padding="15dp" | ||
android:layout_centerInParent="true" | ||
> | ||
android:padding="15dp"> | ||
|
||
|
||
<ImageView | ||
android:id="@+id/ankidroid_logo" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_gravity="center" | ||
android:layout_marginBottom="0dp" | ||
android:layout_marginStart="-90dp" | ||
android:translationX="30dp" | ||
android:translationY="60dp" | ||
app:srcCompat="@drawable/ankiweb" /> | ||
|
||
<ImageView | ||
android:id="@+id/ankidroid_logo" | ||
android:layout_width="69dp" | ||
android:layout_height="64dp" | ||
<androidx.cardview.widget.CardView | ||
android:id="@+id/cardView" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_gravity="center" | ||
android:layout_marginEnd="-100dp" | ||
android:scaleX="1.5" | ||
android:scaleY="1.5" | ||
app:srcCompat="@drawable/ankiweb_logo" /> | ||
android:translationX="0dp" | ||
android:translationY="0dp" | ||
app:cardCornerRadius="0dp" | ||
app:cardElevation="0dp"> | ||
|
||
<ImageView | ||
android:id="@+id/ankiwebText_logo" | ||
android:layout_width="200dp" | ||
android:layout_height="50dp" | ||
android:layout_gravity="center" | ||
android:layout_marginBottom="50dp" | ||
android:layout_marginStart="-90dp" | ||
android:translationX="30dp" | ||
android:translationY="60dp" | ||
app:srcCompat="@drawable/ankiweb" /> | ||
|
||
<ImageView | ||
android:id="@+id/ankiweb_logo" | ||
android:layout_width="69dp" | ||
android:layout_height="64dp" | ||
android:layout_gravity="center" | ||
android:layout_marginEnd="-100dp" | ||
android:scaleX="1.5" | ||
android:scaleY="1.5" | ||
android:translationX="10dp" | ||
android:translationY="0dp" | ||
app:srcCompat="@drawable/ankiweb_logo" /> | ||
</androidx.cardview.widget.CardView> | ||
|
||
<com.ichi2.ui.FixedTextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/content_vertical_padding" | ||
android:text="@string/logged_as" | ||
android:textSize="@dimen/title_textsize" | ||
android:layout_margin="@dimen/content_vertical_padding"/> | ||
android:textSize="@dimen/title_textsize" /> | ||
|
||
<com.ichi2.ui.FixedTextView | ||
android:id="@+id/username_logged_in" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_margin="@dimen/content_vertical_padding" | ||
android:textSize="@dimen/title_textsize" | ||
android:textStyle="bold" | ||
android:layout_margin="@dimen/content_vertical_padding" | ||
tools:text="[email protected]" | ||
/> | ||
tools:text="[email protected]" /> | ||
|
||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/logout_button" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:minWidth="200dp" | ||
android:layout_gravity="center" | ||
android:text="@string/log_out" | ||
android:layout_margin="@dimen/content_vertical_padding" | ||
/> | ||
android:minWidth="200dp" | ||
android:text="@string/log_out" /> | ||
|
||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/remove_account_button" | ||
app:backgroundTint="@color/material_red_500" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:minWidth="200dp" | ||
android:layout_gravity="center" | ||
android:text="@string/remove_account" | ||
android:layout_margin="@dimen/content_vertical_padding" | ||
/> | ||
android:minWidth="200dp" | ||
android:text="@string/remove_account" | ||
app:backgroundTint="@color/material_red_500" /> | ||
|
||
<com.google.android.material.button.MaterialButton | ||
android:id="@+id/privacy_policy_button" | ||
style="@style/Widget.Material3.Button.TextButton" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_gravity="center" | ||
android:background="@null" | ||
android:textSize="@dimen/abc_text_size_button_material" | ||
style="@style/Widget.Material3.Button.TextButton" | ||
android:padding="3dp" | ||
android:layout_gravity="center" | ||
android:singleLine="true" | ||
android:text="@string/help_title_privacy" /> | ||
android:text="@string/help_title_privacy" | ||
android:textSize="@dimen/abc_text_size_button_material" /> | ||
|
||
</LinearLayout> | ||
|
||
<include layout="@layout/toolbar" /> | ||
</RelativeLayout> | ||
<!-- opens a WebView for 'remove account', replaces the layout above --> | ||
|
||
<FrameLayout | ||
android:id="@+id/remove_account_frame" | ||
android:layout_width="match_parent" | ||
|