Update advanced settings

This commit is contained in:
Tommaso Berlose
2020-05-03 18:33:08 +02:00
parent 9a978ac8d3
commit 97f8f6535e
116 changed files with 124 additions and 11 deletions

View File

@ -31,7 +31,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:background="?attr/selectableItemBackgroundBorderless"
android:layout_centerVertical="true"
android:id="@+id/action_back"
android:layout_alignParentLeft="true"

View File

@ -29,7 +29,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:background="?attr/selectableItemBackgroundBorderless"
android:layout_centerVertical="true"
android:id="@+id/action_back"
android:layout_alignParentLeft="true"

View File

@ -31,7 +31,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:background="?attr/selectableItemBackgroundBorderless"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:id="@+id/action_back"

View File

@ -31,6 +31,8 @@
android:src="@drawable/ic_splash_logo"
android:layout_alignParentBottom="true"
android:layout_marginBottom="3dp"
android:layout_alignParentLeft="true"
android:visibility="gone"
android:id="@+id/logo"/>
<LinearLayout
android:layout_width="wrap_content"
@ -45,6 +47,21 @@
android:layout_marginBottom="1dp"
style="@style/AnotherWidget.Main.Title"/>
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:layout_width="36dp"
android:layout_height="36dp"
android:padding="2dp"
android:rotation="90"
android:layout_marginEnd="12dp"
android:layout_marginStart="12dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:clickable="true"
android:focusable="true"
android:background="?attr/selectableItemBackgroundBorderless"
android:id="@+id/action_more"
android:src="@drawable/round_more_vert_white_36"
app:tint="@color/colorPrimaryText" />
</RelativeLayout>
<com.google.android.material.card.MaterialCardView

View File

@ -36,7 +36,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:background="?attr/selectableItemBackgroundBorderless"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:id="@+id/action_back"

View File

@ -23,7 +23,7 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="10dp"
android:foreground="?attr/selectableItemBackgroundBorderless"
android:background="?attr/selectableItemBackgroundBorderless"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:id="@+id/action_back"

View File

@ -142,6 +142,44 @@
android:focusable="true"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_feedback"
android:orientation="horizontal">
<ImageView
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_group_work"
android:tint="@color/colorPrimaryText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
style="@style/AnotherWidget.Settings.Title"
android:text="@string/settings_feedback_title"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/settings_feedback_subtitle"
style="@style/AnotherWidget.Settings.Subtitle"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="16dp"
android:paddingBottom="16dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
android:clickable="true"
android:focusable="true"
android:visibility="gone"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:id="@+id/action_website"
android:orientation="horizontal">
<ImageView
@ -186,8 +224,8 @@
android:layout_width="48dp"
android:layout_height="48dp"
android:padding="12dp"
android:src="@drawable/round_cafe"
android:tint="@color/colorPrimaryText"/>
android:src="@drawable/round_favorite"
android:tint="@color/errorColorText"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"