BIN
res/drawable-hdpi/ic_camera_white_36dp.png
Normal file
After Width: | Height: | Size: 1009 B |
BIN
res/drawable-hdpi/ic_headset_white_36dp.png
Normal file
After Width: | Height: | Size: 683 B |
BIN
res/drawable-hdpi/ic_image_white_36dp.png
Normal file
After Width: | Height: | Size: 474 B |
BIN
res/drawable-hdpi/ic_local_movies_white_36dp.png
Normal file
After Width: | Height: | Size: 259 B |
BIN
res/drawable-hdpi/ic_person_white_36dp.png
Normal file
After Width: | Height: | Size: 460 B |
BIN
res/drawable-mdpi/ic_camera_white_36dp.png
Normal file
After Width: | Height: | Size: 705 B |
BIN
res/drawable-mdpi/ic_headset_white_36dp.png
Normal file
After Width: | Height: | Size: 457 B |
BIN
res/drawable-mdpi/ic_image_white_36dp.png
Normal file
After Width: | Height: | Size: 351 B |
BIN
res/drawable-mdpi/ic_local_movies_white_36dp.png
Normal file
After Width: | Height: | Size: 215 B |
BIN
res/drawable-mdpi/ic_person_white_36dp.png
Normal file
After Width: | Height: | Size: 360 B |
BIN
res/drawable-xhdpi/ic_camera_white_36dp.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xhdpi/ic_headset_white_36dp.png
Normal file
After Width: | Height: | Size: 797 B |
BIN
res/drawable-xhdpi/ic_image_white_36dp.png
Normal file
After Width: | Height: | Size: 614 B |
BIN
res/drawable-xhdpi/ic_local_movies_white_36dp.png
Normal file
After Width: | Height: | Size: 231 B |
BIN
res/drawable-xhdpi/ic_person_white_36dp.png
Normal file
After Width: | Height: | Size: 548 B |
BIN
res/drawable-xxhdpi/ic_camera_white_36dp.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
res/drawable-xxhdpi/ic_headset_white_36dp.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxhdpi/ic_image_white_36dp.png
Normal file
After Width: | Height: | Size: 938 B |
BIN
res/drawable-xxhdpi/ic_local_movies_white_36dp.png
Normal file
After Width: | Height: | Size: 334 B |
BIN
res/drawable-xxhdpi/ic_person_white_36dp.png
Normal file
After Width: | Height: | Size: 974 B |
BIN
res/drawable-xxxhdpi/ic_camera_white_36dp.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
res/drawable-xxxhdpi/ic_headset_white_36dp.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
res/drawable-xxxhdpi/ic_image_white_36dp.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/drawable-xxxhdpi/ic_local_movies_white_36dp.png
Normal file
After Width: | Height: | Size: 374 B |
BIN
res/drawable-xxxhdpi/ic_person_white_36dp.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
171
res/layout/attachment_type_selector.xml
Normal file
@@ -0,0 +1,171 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="?attachment_type_selector_background"
|
||||
android:elevation="4dp"
|
||||
android:padding="16dp">
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:weightSum="4">
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.thoughtcrime.securesms.components.CircleColorImageView
|
||||
android:id="@+id/gallery_button"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@drawable/ic_image_white_36dp"
|
||||
android:scaleType="center"
|
||||
android:elevation="4dp"
|
||||
app:circleColor="@color/purple_400"/>
|
||||
|
||||
<TextView android:layout_marginTop="10dp"
|
||||
style="@style/AttachmentTypeLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/attachment_type_selector__image"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.thoughtcrime.securesms.components.CircleColorImageView
|
||||
android:id="@+id/audio_button"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@drawable/ic_headset_white_36dp"
|
||||
android:scaleType="center"
|
||||
android:elevation="4dp"
|
||||
app:circleColor="@color/orange_400"/>
|
||||
|
||||
<TextView android:layout_marginTop="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AttachmentTypeLabel"
|
||||
android:text="@string/attachment_type_selector__audio"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.thoughtcrime.securesms.components.CircleColorImageView
|
||||
android:id="@+id/video_button"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@drawable/ic_local_movies_white_36dp"
|
||||
android:scaleType="center"
|
||||
android:elevation="4dp"
|
||||
|
||||
app:circleColor="@color/red_400"/>
|
||||
|
||||
<TextView android:layout_marginTop="10dp"
|
||||
style="@style/AttachmentTypeLabel"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/attachment_type_selector__video"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_weight="1">
|
||||
|
||||
<org.thoughtcrime.securesms.components.CircleColorImageView
|
||||
android:id="@+id/contact_button"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@drawable/ic_person_white_36dp"
|
||||
android:scaleType="center"
|
||||
android:elevation="4dp"
|
||||
app:circleColor="@color/blue_400"/>
|
||||
|
||||
<TextView android:layout_marginTop="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AttachmentTypeLabel"
|
||||
android:text="@string/attachment_type_selector__contact"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:orientation="horizontal"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
android:weightSum="4">
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<org.thoughtcrime.securesms.components.CircleColorImageView
|
||||
android:id="@+id/camera_button"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@drawable/ic_camera_white_36dp"
|
||||
android:scaleType="center"
|
||||
android:elevation="4dp"
|
||||
app:circleColor="@color/green_400"/>
|
||||
|
||||
<TextView android:layout_marginTop="10dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
style="@style/AttachmentTypeLabel"
|
||||
android:text="@string/attachment_type_selector__camera"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="16dp">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="16dp">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_marginLeft="16dp">
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<attr name="theme_type" format="string"/>
|
||||
<attr name="attachment_type_selector_background" format="color"/>
|
||||
<attr name="conversation_list_item_background_selected" format="reference"/>
|
||||
<attr name="conversation_list_item_background_read" format="reference"/>
|
||||
<attr name="conversation_list_item_background_unread" format="reference"/>
|
||||
@@ -139,4 +140,8 @@
|
||||
<attr name="tintColor" format="color" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="CircleColorImageView">
|
||||
<attr name="circleColor" format="color"/>
|
||||
</declare-styleable>
|
||||
|
||||
</resources>
|
||||
|
@@ -561,6 +561,13 @@
|
||||
<string name="SingleRecipientNotificationBuilder_new_signal_message">New Signal message</string>
|
||||
<string name="SingleRecipientNotificationBuilder_contents_hidden">Contents hidden</string>
|
||||
|
||||
<!-- attachment_type_selector -->
|
||||
<string name="attachment_type_selector__image">Image</string>
|
||||
<string name="attachment_type_selector__audio">Audio</string>
|
||||
<string name="attachment_type_selector__video">Video</string>
|
||||
<string name="attachment_type_selector__contact">Contact</string>
|
||||
<string name="attachment_type_selector__camera">Camera</string>
|
||||
|
||||
<!-- change_passphrase_activity -->
|
||||
<string name="change_passphrase_activity__old_passphrase">OLD PASSPHRASE:</string>
|
||||
<string name="change_passphrase_activity__new_passphrase">NEW PASSPHRASE:</string>
|
||||
|
@@ -196,6 +196,10 @@
|
||||
<item name="android:contentDescription">@string/conversation_activity__compose_description</item>
|
||||
</style>
|
||||
|
||||
<style name="AttachmentTypeLabel">
|
||||
<item name="android:textColor">#ff999999</item>
|
||||
</style>
|
||||
|
||||
<!-- RedPhone -->
|
||||
|
||||
<!-- Buttons in the main "button row" of the in-call onscreen touch UI. -->
|
||||
|
@@ -85,6 +85,7 @@
|
||||
<item name="colorAccent">@color/textsecure_primary_dark</item>
|
||||
<item name="android:windowBackground">@color/gray5</item>
|
||||
<!--<item name="android:windowContentOverlay">@drawable/compat_actionbar_shadow_background</item>-->
|
||||
<item name="attachment_type_selector_background">@color/white</item>
|
||||
<item name="conversation_list_item_background_selected">@drawable/list_selected_holo_light</item>
|
||||
<item name="conversation_list_item_background_unread">@drawable/conversation_list_item_unread_background</item>
|
||||
<item name="conversation_list_item_background_read">@drawable/conversation_list_item_background</item>
|
||||
@@ -190,6 +191,7 @@
|
||||
|
||||
<style name="TextSecure.DarkTheme" parent="@style/Theme.AppCompat">
|
||||
<item name="theme_type">dark</item>
|
||||
<item name="attachment_type_selector_background">@color/gray95</item>
|
||||
<item name="actionBarStyle">@style/TextSecure.DarkActionBar</item>
|
||||
<item name="actionBarTabBarStyle">@style/TextSecure.DarkActionBar.TabBar</item>
|
||||
<item name="actionBarPopupTheme">@style/ThemeOverlay.AppCompat.Dark</item>
|
||||
|