About: Revamp UI
This commit is contained in:
@@ -59,8 +59,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/img_icon"
|
android:layout_below="@+id/img_icon"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="@dimen/margin_normal"
|
|
||||||
android:layout_marginBottom="@dimen/margin_xsmall"
|
|
||||||
android:text="@string/app_name" />
|
android:text="@string/app_name" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
@@ -79,7 +77,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/line2"
|
android:layout_below="@+id/line2"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="@dimen/margin_xsmall"
|
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:text="Made with ❤ in India" />
|
android:text="Made with ❤ in India" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|||||||
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/img_icon"
|
android:id="@+id/img_icon"
|
||||||
android:layout_width="@dimen/icon_size_avatar"
|
android:layout_width="@dimen/icon_size"
|
||||||
android:layout_height="@dimen/icon_size_avatar"
|
android:layout_height="@dimen/icon_size"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="@dimen/margin_small"
|
android:layout_marginTop="@dimen/margin_small"
|
||||||
app:srcCompat="@drawable/bg_placeholder" />
|
app:srcCompat="@drawable/bg_placeholder" />
|
||||||
@@ -50,8 +50,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/img_icon"
|
android:layout_below="@+id/img_icon"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="@dimen/margin_normal"
|
|
||||||
android:layout_marginBottom="@dimen/margin_xsmall"
|
|
||||||
android:text="@string/app_name" />
|
android:text="@string/app_name" />
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatTextView
|
<androidx.appcompat.widget.AppCompatTextView
|
||||||
@@ -70,7 +68,6 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/line2"
|
android:layout_below="@+id/line2"
|
||||||
android:layout_centerHorizontal="true"
|
android:layout_centerHorizontal="true"
|
||||||
android:layout_marginTop="@dimen/margin_xsmall"
|
|
||||||
android:layout_marginBottom="@dimen/margin_small"
|
android:layout_marginBottom="@dimen/margin_small"
|
||||||
android:text="Made with ❤ in India" />
|
android:text="Made with ❤ in India" />
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
@@ -82,10 +79,7 @@
|
|||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:overScrollMode="never"
|
android:overScrollMode="never"
|
||||||
android:paddingStart="@dimen/padding_normal"
|
android:padding="@dimen/padding_small"
|
||||||
android:paddingTop="@dimen/padding_small"
|
|
||||||
android:paddingEnd="@dimen/padding_normal"
|
|
||||||
android:paddingBottom="@dimen/padding_small"
|
|
||||||
app:itemSpacing="@dimen/margin_small"
|
app:itemSpacing="@dimen/margin_small"
|
||||||
tools:listitem="@layout/view_link" />
|
tools:listitem="@layout/view_link" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|||||||
@@ -17,47 +17,59 @@
|
|||||||
~
|
~
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@drawable/bg_outlined_padded">
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:orientation="horizontal"
|
||||||
|
android:padding="@dimen/padding_small">
|
||||||
|
|
||||||
<androidx.appcompat.widget.AppCompatImageView
|
<androidx.appcompat.widget.AppCompatImageView
|
||||||
android:id="@+id/img_icon"
|
android:id="@+id/img_icon"
|
||||||
android:layout_width="@dimen/icon_size_category"
|
android:layout_width="@dimen/icon_size_default"
|
||||||
android:layout_height="@dimen/icon_size_category"
|
android:layout_height="@dimen/icon_size_default"
|
||||||
android:layout_centerVertical="true" />
|
android:layout_gravity="center_vertical"
|
||||||
|
tools:src="@drawable/ic_menu_about" />
|
||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<View
|
||||||
android:id="@+id/line1"
|
android:layout_width="@dimen/margin_xxsmall"
|
||||||
|
android:layout_height="match_parent"
|
||||||
|
android:layout_marginStart="@dimen/margin_xlarge"
|
||||||
|
android:layout_marginEnd="@dimen/margin_xlarge"
|
||||||
|
android:background="@drawable/divider_line"
|
||||||
|
android:backgroundTint="?colorControlHighlight" />
|
||||||
|
|
||||||
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignBaseline="@id/img_icon"
|
android:orientation="vertical">
|
||||||
android:layout_marginStart="@dimen/margin_small"
|
|
||||||
android:layout_toEndOf="@+id/img_icon"
|
|
||||||
android:singleLine="true"
|
|
||||||
android:textAppearance="@style/TextAppearance.Aurora.Line1" />
|
|
||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/line2"
|
android:id="@+id/line1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/line1"
|
android:singleLine="true"
|
||||||
android:layout_alignStart="@id/line1"
|
android:textAppearance="@style/TextAppearance.Aurora.SubTitle"
|
||||||
android:layout_toEndOf="@+id/img_icon"
|
tools:text="Title" />
|
||||||
android:maxLines="2"
|
|
||||||
android:textAppearance="@style/TextAppearance.Aurora.Line2" />
|
|
||||||
|
|
||||||
<com.google.android.material.textview.MaterialTextView
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:id="@+id/line3"
|
android:id="@+id/line2"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@+id/line2"
|
android:maxLines="2"
|
||||||
android:layout_alignStart="@id/line1"
|
android:textAppearance="@style/TextAppearance.Aurora.Line2"
|
||||||
android:layout_toEndOf="@+id/img_icon"
|
tools:text="Subtitle" />
|
||||||
android:maxLines="2"
|
|
||||||
android:textAppearance="@style/TextAppearance.Aurora.Line3"
|
<com.google.android.material.textview.MaterialTextView
|
||||||
android:textColor="?colorAccent"
|
android:id="@+id/line3"
|
||||||
android:textIsSelectable="true"
|
android:layout_width="match_parent"
|
||||||
android:visibility="gone" />
|
android:layout_height="wrap_content"
|
||||||
</RelativeLayout>
|
android:maxLines="2"
|
||||||
|
android:textAppearance="@style/TextAppearance.Aurora.Line3"
|
||||||
|
android:textColor="?colorAccent"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
android:visibility="gone"
|
||||||
|
tools:text="Link" />
|
||||||
|
</LinearLayout>
|
||||||
|
</LinearLayout>
|
||||||
Reference in New Issue
Block a user