visual improvements
new icon
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.google.android.material.appbar.AppBarLayout
|
||||
android:id="@+id/appBar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:elevation="0dp">
|
||||
@@ -25,9 +26,9 @@
|
||||
android:id="@+id/toolbar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="?actionBarSize"
|
||||
android:background="@color/n1_50"
|
||||
android:background="?android:windowBackground"
|
||||
android:elevation="0dp"
|
||||
app:layout_collapseMode="pin"
|
||||
app:layout_collapseMode="parallax"
|
||||
app:menu="@menu/fragment_conversations" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageView
|
||||
@@ -37,11 +38,13 @@
|
||||
android:elevation="0dp" />
|
||||
|
||||
<androidx.appcompat.widget.LinearLayoutCompat
|
||||
android:id="@+id/avatarContainer"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="30dp"
|
||||
android:orientation="horizontal">
|
||||
android:orientation="horizontal"
|
||||
app:layout_collapseParallaxMultiplier="0.5">
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:layout_width="30dp"
|
||||
@@ -49,7 +52,7 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_search"
|
||||
android:tint="@color/a1_500" />
|
||||
android:tint="?colorSecondary3Variant" />
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:id="@+id/avatar"
|
||||
@@ -96,13 +99,11 @@
|
||||
android:layout_gravity="end|bottom"
|
||||
android:layout_margin="16dp"
|
||||
android:src="@drawable/ic_baseline_create_24"
|
||||
app:backgroundTint="@color/a2_200"
|
||||
app:elevation="3dp"
|
||||
app:fabSize="normal"
|
||||
app:layout_behavior="com.google.android.material.behavior.HideBottomViewOnScrollBehavior"
|
||||
app:pressedTranslationZ="1dp"
|
||||
app:shapeAppearanceOverlay="@style/RoundedView.56"
|
||||
app:tint="@color/a2_700"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_margin="12dp"
|
||||
android:background="@drawable/ic_message_panel_background"
|
||||
android:backgroundTint="@color/a1_0"
|
||||
android:backgroundTint="?colorSurface"
|
||||
android:clickable="true"
|
||||
android:elevation="3dp"
|
||||
android:focusable="true"
|
||||
@@ -220,7 +220,7 @@
|
||||
android:layout_marginEnd="18dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_baseline_attach_file_24"
|
||||
android:tint="@color/a1_500" />
|
||||
android:tint="?colorOnSurface" />
|
||||
|
||||
<androidx.appcompat.widget.AppCompatImageButton
|
||||
android:id="@+id/action"
|
||||
@@ -230,7 +230,7 @@
|
||||
android:layout_marginEnd="20dp"
|
||||
android:background="?selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_round_mic_24"
|
||||
android:tint="@color/a1_500" />
|
||||
android:tint="?colorOnSurface" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
@@ -38,11 +38,13 @@
|
||||
android:visibility="gone">
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:id="@+id/placeholderBack"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@color/n1_50" />
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:id="@+id/placeholder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:src="@drawable/ic_account_circle_cut"
|
||||
@@ -69,7 +71,34 @@
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/ic_online_pc"
|
||||
app:tint="@color/a3_200" />
|
||||
app:tint="?colorSecondary2" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/pin"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="20dp"
|
||||
android:layout_gravity="start|top"
|
||||
android:visibility="gone"
|
||||
tools:visibility="visible">
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="18dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/ic_back"
|
||||
android:backgroundTint="@color/n2_500"
|
||||
android:elevation="0.5dp" />
|
||||
|
||||
<com.meloda.fast.widget.CircleImageView
|
||||
android:id="@+id/pinIcon"
|
||||
android:layout_width="14dp"
|
||||
android:layout_height="14dp"
|
||||
android:layout_gravity="center"
|
||||
android:elevation="1dp"
|
||||
android:src="@drawable/ic_round_push_pin_24"
|
||||
app:tint="@color/n2_0" />
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
@@ -137,7 +166,7 @@
|
||||
android:layout_weight="1"
|
||||
android:fontFamily="@font/google_sans_regular"
|
||||
android:maxLines="2"
|
||||
android:textColor="@color/n1_900"
|
||||
android:textColor="?textColorPrimary"
|
||||
android:textSize="22sp"
|
||||
tools:text="Title" />
|
||||
|
||||
@@ -150,10 +179,10 @@
|
||||
android:layout_marginEnd="4dp"
|
||||
android:layout_weight="0"
|
||||
android:background="@drawable/ic_back"
|
||||
android:backgroundTint="@color/a1_600"
|
||||
android:backgroundTint="?colorSecondary3"
|
||||
android:gravity="center"
|
||||
android:minWidth="18dp"
|
||||
android:textColor="@color/a1_0"
|
||||
android:textColor="?colorOnSecondary3"
|
||||
android:textSize="10sp"
|
||||
android:visibility="gone"
|
||||
tools:text="12"
|
||||
@@ -171,7 +200,7 @@
|
||||
android:alpha="0.5"
|
||||
android:fontFamily="@font/roboto_regular"
|
||||
android:gravity="end|center_vertical"
|
||||
android:textColor="@color/n2_500"
|
||||
android:textColor="?textColorSecondaryVariant"
|
||||
tools:text="20:00" />
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -198,7 +227,7 @@
|
||||
android:layout_marginEnd="4dp"
|
||||
android:src="@drawable/ic_baseline_attach_file_24"
|
||||
android:visibility="gone"
|
||||
app:tint="@color/n2_500"
|
||||
app:tint="?textColorSecondaryVariant"
|
||||
tools:visibility="visible" />
|
||||
|
||||
<com.google.android.material.textview.MaterialTextView
|
||||
@@ -208,7 +237,7 @@
|
||||
android:alpha="0.7"
|
||||
android:fontFamily="@font/roboto_regular"
|
||||
android:maxLines="2"
|
||||
android:textColor="@color/n1_900"
|
||||
android:textColor="?textColorPrimary"
|
||||
android:textSize="16sp"
|
||||
tools:text="Message" />
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
Reference in New Issue
Block a user