forked from upstream-mirrors/quik
Update assets and layout for message list
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:radius="24dp" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z" />
|
||||
</vector>
|
||||
@@ -1,9 +1,9 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportHeight="24.0"
|
||||
android:viewportWidth="24.0">
|
||||
<path
|
||||
android:fillColor="#FF000000"
|
||||
android:pathData="M2.01,21L23,12 2.01,3 2,10l15,2 -15,2z"/>
|
||||
android:pathData="M2.01,21L23,12 2.01,3 2,10l15,2 -15,2z" />
|
||||
</vector>
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="18dp"
|
||||
android:topLeftRadius="18dp"
|
||||
android:topRightRadius="18dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="18dp"
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="18dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="18dp"
|
||||
android:topLeftRadius="4dp"
|
||||
android:topRightRadius="18dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
@@ -3,6 +3,6 @@
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:radius="18dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="4dp"
|
||||
android:topLeftRadius="18dp"
|
||||
android:topRightRadius="18dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="18dp"
|
||||
android:topLeftRadius="18dp"
|
||||
android:topRightRadius="4dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
+1
-1
@@ -7,6 +7,6 @@
|
||||
android:bottomRightRadius="4dp"
|
||||
android:topLeftRadius="18dp"
|
||||
android:topRightRadius="4dp" />
|
||||
<solid android:color="@color/list_separator" />
|
||||
<solid android:color="@android:color/white" />
|
||||
|
||||
</shape>
|
||||
@@ -3,6 +3,7 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/backgroundLight"
|
||||
android:orientation="vertical">
|
||||
|
||||
<android.support.v7.widget.RecyclerView
|
||||
@@ -18,22 +19,40 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginRight="8dp"
|
||||
android:background="@drawable/bubble">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/attach"
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/ic_add_black_24dp"
|
||||
android:tint="@color/colorPrimary" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/message"
|
||||
style="@style/TextPrimary"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_weight="1"
|
||||
android:hint="@string/message_hint" />
|
||||
android:background="@null"
|
||||
android:gravity="center_vertical"
|
||||
android:hint="@string/message_hint"
|
||||
android:minHeight="48dp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/send"
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:padding="16dp"
|
||||
android:src="@drawable/ic_send_black_24dp" />
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="48dp"
|
||||
android:padding="12dp"
|
||||
android:src="@drawable/ic_send_black_24dp"
|
||||
android:tint="@color/textSecondary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -12,5 +12,7 @@
|
||||
<color name="textSecondaryLight">#ccffffff</color>
|
||||
<color name="textTertiaryLight">#80ffffff</color>
|
||||
|
||||
<color name="backgroundLight">#f8f8f8</color>
|
||||
|
||||
<color name="list_separator">#F2F2F2</color>
|
||||
</resources>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
<style name="TextPrimary">
|
||||
<item name="android:textColor">@color/textPrimary</item>
|
||||
<item name="android:textColorHint">@color/textTertiary</item>
|
||||
<item name="android:textSize">16sp</item>
|
||||
<item name="android:fontFamily">@font/lato</item>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user