diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 4fbc072028..1d147d9f44 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -298,9 +298,15 @@ + + @@ -398,7 +404,7 @@ diff --git a/res/drawable-hdpi/empty_inbox_1.png b/res/drawable-hdpi/empty_inbox_1.png new file mode 100644 index 0000000000..e55a64c175 Binary files /dev/null and b/res/drawable-hdpi/empty_inbox_1.png differ diff --git a/res/drawable-hdpi/empty_inbox_2.png b/res/drawable-hdpi/empty_inbox_2.png new file mode 100644 index 0000000000..44a5e03ef0 Binary files /dev/null and b/res/drawable-hdpi/empty_inbox_2.png differ diff --git a/res/drawable-hdpi/empty_inbox_3.png b/res/drawable-hdpi/empty_inbox_3.png new file mode 100644 index 0000000000..80f31caa28 Binary files /dev/null and b/res/drawable-hdpi/empty_inbox_3.png differ diff --git a/res/drawable-hdpi/empty_inbox_4.png b/res/drawable-hdpi/empty_inbox_4.png new file mode 100644 index 0000000000..9b4e1fd7fa Binary files /dev/null and b/res/drawable-hdpi/empty_inbox_4.png differ diff --git a/res/drawable-hdpi/empty_inbox_5.png b/res/drawable-hdpi/empty_inbox_5.png new file mode 100644 index 0000000000..2b08d08e47 Binary files /dev/null and b/res/drawable-hdpi/empty_inbox_5.png differ diff --git a/res/drawable-hdpi/ic_profile_camera.png b/res/drawable-hdpi/ic_profile_camera.png new file mode 100644 index 0000000000..71201e6aaa Binary files /dev/null and b/res/drawable-hdpi/ic_profile_camera.png differ diff --git a/res/drawable-hdpi/welcome.png b/res/drawable-hdpi/welcome.png new file mode 100644 index 0000000000..6e7735bbdc Binary files /dev/null and b/res/drawable-hdpi/welcome.png differ diff --git a/res/drawable-mdpi/empty_inbox_1.png b/res/drawable-mdpi/empty_inbox_1.png new file mode 100644 index 0000000000..a752e0491f Binary files /dev/null and b/res/drawable-mdpi/empty_inbox_1.png differ diff --git a/res/drawable-mdpi/empty_inbox_2.png b/res/drawable-mdpi/empty_inbox_2.png new file mode 100644 index 0000000000..322d7078c3 Binary files /dev/null and b/res/drawable-mdpi/empty_inbox_2.png differ diff --git a/res/drawable-mdpi/empty_inbox_3.png b/res/drawable-mdpi/empty_inbox_3.png new file mode 100644 index 0000000000..d03d22f7e4 Binary files /dev/null and b/res/drawable-mdpi/empty_inbox_3.png differ diff --git a/res/drawable-mdpi/empty_inbox_4.png b/res/drawable-mdpi/empty_inbox_4.png new file mode 100644 index 0000000000..adcde9db54 Binary files /dev/null and b/res/drawable-mdpi/empty_inbox_4.png differ diff --git a/res/drawable-mdpi/empty_inbox_5.png b/res/drawable-mdpi/empty_inbox_5.png new file mode 100644 index 0000000000..791829166d Binary files /dev/null and b/res/drawable-mdpi/empty_inbox_5.png differ diff --git a/res/drawable-mdpi/ic_profile_camera.png b/res/drawable-mdpi/ic_profile_camera.png new file mode 100644 index 0000000000..20931e83fe Binary files /dev/null and b/res/drawable-mdpi/ic_profile_camera.png differ diff --git a/res/drawable-mdpi/welcome.png b/res/drawable-mdpi/welcome.png new file mode 100644 index 0000000000..a7a5673905 Binary files /dev/null and b/res/drawable-mdpi/welcome.png differ diff --git a/res/drawable-xhdpi/empty_inbox_1.png b/res/drawable-xhdpi/empty_inbox_1.png new file mode 100644 index 0000000000..d937d9294e Binary files /dev/null and b/res/drawable-xhdpi/empty_inbox_1.png differ diff --git a/res/drawable-xhdpi/empty_inbox_2.png b/res/drawable-xhdpi/empty_inbox_2.png new file mode 100644 index 0000000000..f6e31b5886 Binary files /dev/null and b/res/drawable-xhdpi/empty_inbox_2.png differ diff --git a/res/drawable-xhdpi/empty_inbox_3.png b/res/drawable-xhdpi/empty_inbox_3.png new file mode 100644 index 0000000000..93fed0e767 Binary files /dev/null and b/res/drawable-xhdpi/empty_inbox_3.png differ diff --git a/res/drawable-xhdpi/empty_inbox_4.png b/res/drawable-xhdpi/empty_inbox_4.png new file mode 100644 index 0000000000..2f56770e3d Binary files /dev/null and b/res/drawable-xhdpi/empty_inbox_4.png differ diff --git a/res/drawable-xhdpi/empty_inbox_5.png b/res/drawable-xhdpi/empty_inbox_5.png new file mode 100644 index 0000000000..f2232f8064 Binary files /dev/null and b/res/drawable-xhdpi/empty_inbox_5.png differ diff --git a/res/drawable-xhdpi/ic_profile_camera.png b/res/drawable-xhdpi/ic_profile_camera.png new file mode 100644 index 0000000000..75438b902f Binary files /dev/null and b/res/drawable-xhdpi/ic_profile_camera.png differ diff --git a/res/drawable-xhdpi/welcome.png b/res/drawable-xhdpi/welcome.png new file mode 100644 index 0000000000..0211db09fa Binary files /dev/null and b/res/drawable-xhdpi/welcome.png differ diff --git a/res/drawable-xxhdpi/empty_inbox_1.png b/res/drawable-xxhdpi/empty_inbox_1.png new file mode 100644 index 0000000000..ec92812046 Binary files /dev/null and b/res/drawable-xxhdpi/empty_inbox_1.png differ diff --git a/res/drawable-xxhdpi/empty_inbox_2.png b/res/drawable-xxhdpi/empty_inbox_2.png new file mode 100644 index 0000000000..da3c87d0c9 Binary files /dev/null and b/res/drawable-xxhdpi/empty_inbox_2.png differ diff --git a/res/drawable-xxhdpi/empty_inbox_3.png b/res/drawable-xxhdpi/empty_inbox_3.png new file mode 100644 index 0000000000..dfb7a7653d Binary files /dev/null and b/res/drawable-xxhdpi/empty_inbox_3.png differ diff --git a/res/drawable-xxhdpi/empty_inbox_4.png b/res/drawable-xxhdpi/empty_inbox_4.png new file mode 100644 index 0000000000..e04016de3b Binary files /dev/null and b/res/drawable-xxhdpi/empty_inbox_4.png differ diff --git a/res/drawable-xxhdpi/empty_inbox_5.png b/res/drawable-xxhdpi/empty_inbox_5.png new file mode 100644 index 0000000000..546757997f Binary files /dev/null and b/res/drawable-xxhdpi/empty_inbox_5.png differ diff --git a/res/drawable-xxhdpi/ic_profile_camera.png b/res/drawable-xxhdpi/ic_profile_camera.png new file mode 100644 index 0000000000..530d6df4a7 Binary files /dev/null and b/res/drawable-xxhdpi/ic_profile_camera.png differ diff --git a/res/drawable-xxhdpi/welcome.png b/res/drawable-xxhdpi/welcome.png new file mode 100644 index 0000000000..b99099af24 Binary files /dev/null and b/res/drawable-xxhdpi/welcome.png differ diff --git a/res/drawable-xxxhdpi/empty_inbox_1.png b/res/drawable-xxxhdpi/empty_inbox_1.png new file mode 100644 index 0000000000..579cde227a Binary files /dev/null and b/res/drawable-xxxhdpi/empty_inbox_1.png differ diff --git a/res/drawable-xxxhdpi/empty_inbox_2.png b/res/drawable-xxxhdpi/empty_inbox_2.png new file mode 100644 index 0000000000..d46d626cb9 Binary files /dev/null and b/res/drawable-xxxhdpi/empty_inbox_2.png differ diff --git a/res/drawable-xxxhdpi/empty_inbox_3.png b/res/drawable-xxxhdpi/empty_inbox_3.png new file mode 100644 index 0000000000..f6d8cd66eb Binary files /dev/null and b/res/drawable-xxxhdpi/empty_inbox_3.png differ diff --git a/res/drawable-xxxhdpi/empty_inbox_4.png b/res/drawable-xxxhdpi/empty_inbox_4.png new file mode 100644 index 0000000000..0c32a9267f Binary files /dev/null and b/res/drawable-xxxhdpi/empty_inbox_4.png differ diff --git a/res/drawable-xxxhdpi/empty_inbox_5.png b/res/drawable-xxxhdpi/empty_inbox_5.png new file mode 100644 index 0000000000..7247a0b146 Binary files /dev/null and b/res/drawable-xxxhdpi/empty_inbox_5.png differ diff --git a/res/drawable-xxxhdpi/ic_profile_camera.png b/res/drawable-xxxhdpi/ic_profile_camera.png new file mode 100644 index 0000000000..e329c5065d Binary files /dev/null and b/res/drawable-xxxhdpi/ic_profile_camera.png differ diff --git a/res/drawable-xxxhdpi/welcome.png b/res/drawable-xxxhdpi/welcome.png new file mode 100644 index 0000000000..546e482748 Binary files /dev/null and b/res/drawable-xxxhdpi/welcome.png differ diff --git a/res/drawable/labeled_edit_text_background_active.xml b/res/drawable/labeled_edit_text_background_active.xml new file mode 100644 index 0000000000..00a2dc992e --- /dev/null +++ b/res/drawable/labeled_edit_text_background_active.xml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/res/drawable/labeled_edit_text_background_inactive.xml b/res/drawable/labeled_edit_text_background_inactive.xml new file mode 100644 index 0000000000..6360ef28e8 --- /dev/null +++ b/res/drawable/labeled_edit_text_background_inactive.xml @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/res/layout/conversation_list_fragment.xml b/res/layout/conversation_list_fragment.xml index 988f5189fb..d865cb5503 100644 --- a/res/layout/conversation_list_fragment.xml +++ b/res/layout/conversation_list_fragment.xml @@ -28,20 +28,21 @@ + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + tools:src="@drawable/conversation_list_empty_state" /> - + + + + + + + + + diff --git a/res/layout/labeled_edit_text.xml b/res/layout/labeled_edit_text.xml new file mode 100644 index 0000000000..adbf110963 --- /dev/null +++ b/res/layout/labeled_edit_text.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/layout/labeled_edit_text_default.xml b/res/layout/labeled_edit_text_default.xml new file mode 100644 index 0000000000..eb5a297e94 --- /dev/null +++ b/res/layout/labeled_edit_text_default.xml @@ -0,0 +1,11 @@ + + diff --git a/res/layout/phone_text.xml b/res/layout/phone_text.xml new file mode 100644 index 0000000000..f3fc5901d9 --- /dev/null +++ b/res/layout/phone_text.xml @@ -0,0 +1,15 @@ + + diff --git a/res/layout/profile_create_activity.xml b/res/layout/profile_create_activity.xml index 34fa5450c6..ea22a1ab98 100644 --- a/res/layout/profile_create_activity.xml +++ b/res/layout/profile_create_activity.xml @@ -1,127 +1,195 @@ - + - - + - + - + + + + + + + + + + android:id="@+id/emoji_toggle" + android:layout_width="37dp" + android:layout_height="37dp" + android:layout_gravity="center_vertical" + android:layout_marginTop="9dp" + android:layout_marginEnd="32dp" + android:layout_marginRight="32dp" + android:background="@drawable/touch_highlight_background" + android:contentDescription="@string/conversation_activity__emoji_toggle_description" + app:layout_constraintBottom_toBottomOf="@+id/name" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="@+id/name" /> - - - - - - - - - - - + + android:id="@+id/finish_button" + android:layout_width="match_parent" + android:layout_height="50dp" + android:layout_gravity="center_horizontal" + android:layout_marginStart="32dp" + android:layout_marginLeft="32dp" + android:layout_marginEnd="32dp" + android:layout_marginRight="32dp" + android:background="@color/signal_primary" + android:textAllCaps="true" + android:textColor="@color/white" + app:cpb_colorIndicator="@color/white" + app:cpb_colorProgress="@color/textsecure_primary" + app:cpb_cornerRadius="4dp" + app:cpb_selectorIdle="@drawable/progress_button_state" + app:cpb_textIdle="@string/profile_create_activity__finish" + app:layout_constraintBottom_toTopOf="@+id/skip_button" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" /> - +