Tweak attachment type selector look

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2017-04-18 16:56:45 -07:00
parent 2b79e131a7
commit d00671e7a5
37 changed files with 25 additions and 32 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 585 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 838 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 570 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 303 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 577 B

View File

@ -29,11 +29,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/gallery_button" android:id="@+id/gallery_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_image_white_36dp" android:src="@drawable/ic_image_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__gallery_description" android:contentDescription="@string/attachment_type_selector__gallery_description"
app:circleColor="@color/purple_400"/> app:circleColor="@color/purple_400"/>
@ -53,11 +52,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/audio_button" android:id="@+id/audio_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_headset_white_36dp" android:src="@drawable/ic_headset_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__audio_description" android:contentDescription="@string/attachment_type_selector__audio_description"
app:circleColor="@color/orange_400"/> app:circleColor="@color/orange_400"/>
@ -77,11 +75,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/document_button" android:id="@+id/document_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_insert_drive_file_white_36dp" android:src="@drawable/ic_insert_drive_file_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__document_description" android:contentDescription="@string/attachment_type_selector__document_description"
app:circleColor="@color/red_400"/> app:circleColor="@color/red_400"/>
@ -101,11 +98,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/contact_button" android:id="@+id/contact_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_person_white_36dp" android:src="@drawable/ic_person_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__contact_description" android:contentDescription="@string/attachment_type_selector__contact_description"
app:circleColor="@color/blue_400"/> app:circleColor="@color/blue_400"/>
@ -136,11 +132,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/camera_button" android:id="@+id/camera_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_camera_white_36dp" android:src="@drawable/ic_camera_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__camera_description" android:contentDescription="@string/attachment_type_selector__camera_description"
app:circleColor="@color/green_400"/> app:circleColor="@color/green_400"/>
@ -162,11 +157,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/location_button" android:id="@+id/location_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_location_on_white_36dp" android:src="@drawable/ic_location_on_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__location_description" android:contentDescription="@string/attachment_type_selector__location_description"
app:circleColor="@color/blue_grey_400"/> app:circleColor="@color/blue_grey_400"/>
@ -187,11 +181,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/giphy_button" android:id="@+id/giphy_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_gif_white_36dp" android:src="@drawable/ic_gif_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__gif_description" android:contentDescription="@string/attachment_type_selector__gif_description"
app:circleColor="@color/cyan_400"/> app:circleColor="@color/cyan_400"/>
@ -211,11 +204,10 @@
<org.thoughtcrime.securesms.components.CircleColorImageView <org.thoughtcrime.securesms.components.CircleColorImageView
android:id="@+id/close_button" android:id="@+id/close_button"
android:layout_width="60dp" android:layout_width="53dp"
android:layout_height="60dp" android:layout_height="53dp"
android:src="@drawable/ic_keyboard_arrow_down_white_36dp" android:src="@drawable/ic_keyboard_arrow_down_white_24dp"
android:scaleType="center" android:scaleType="center"
android:elevation="4dp"
android:contentDescription="@string/attachment_type_selector__drawer_description" android:contentDescription="@string/attachment_type_selector__drawer_description"
app:circleColor="@color/gray50"/> app:circleColor="@color/gray50"/>

View File

@ -218,6 +218,7 @@
<style name="AttachmentTypeLabel"> <style name="AttachmentTypeLabel">
<item name="android:textColor">#ff999999</item> <item name="android:textColor">#ff999999</item>
<item name="android:textSize">14sp</item>
</style> </style>
<!-- RedPhone --> <!-- RedPhone -->