tweak reminder jedi mind tricks

// FREEBIE
This commit is contained in:
Jake McGinty 2015-10-26 12:13:12 -07:00
parent 35bcd30b24
commit 285bd3de0e
8 changed files with 11 additions and 25 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 420 B

View File

@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical" android:orientation="vertical"
android:layout_width="fill_parent" android:layout_width="fill_parent"
android:layout_height="wrap_content"> android:layout_height="wrap_content">
@ -9,6 +10,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible"
android:padding="2dp"
android:gravity="center_vertical" android:gravity="center_vertical"
android:background="?reminder_header_background"> android:background="?reminder_header_background">
@ -23,12 +26,14 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
tools:text="Invite to Signal"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="18sp"/> android:textSize="18sp"/>
<TextView android:id="@+id/reminder_text" <TextView android:id="@+id/reminder_text"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
tools:text="Take your conversation with Jules Bonnot to the next level."
android:fontFamily="sans-serif-light" android:fontFamily="sans-serif-light"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="16sp"/> android:textSize="16sp"/>
@ -51,27 +56,8 @@
android:layout_height="40dp" android:layout_height="40dp"
android:padding="10dp" android:padding="10dp"
android:background="@drawable/touch_highlight_background" android:background="@drawable/touch_highlight_background"
android:src="@drawable/ic_menu_remove_holo_light"/> android:src="@drawable/ic_close_white_24dp"/>
</LinearLayout> </LinearLayout>
<LinearLayout android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="bottom">
<Button android:id="@+id/ok"
android:layout_width="60sp"
android:layout_height="40sp"
android:gravity="center_vertical|center_horizontal"
android:background="@drawable/light_touch_highlight_background"
android:fontFamily="sans-serif-light"
android:textColor="@color/white"
android:clickable="false"
android:text="@string/yes"
android:padding="2dp"/>
</LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View File

@ -1039,16 +1039,16 @@
<string name="reminder_header_expired_build">Your build of Signal has expired!</string> <string name="reminder_header_expired_build">Your build of Signal has expired!</string>
<string name="reminder_header_expired_build_details">Messages will no longer send successfully, please update to the most recent version.</string> <string name="reminder_header_expired_build_details">Messages will no longer send successfully, please update to the most recent version.</string>
<string name="reminder_header_expired_build_button">UPGRADE</string> <string name="reminder_header_expired_build_button">UPGRADE</string>
<string name="reminder_header_sms_default_title">Use as default SMS app?</string> <string name="reminder_header_sms_default_title">Use as default SMS app</string>
<string name="reminder_header_sms_default_text">Tap to make Signal your default SMS app.</string> <string name="reminder_header_sms_default_text">Tap to make Signal your default SMS app.</string>
<string name="reminder_header_sms_default_button">SET</string> <string name="reminder_header_sms_default_button">SET</string>
<string name="reminder_header_sms_import_title">Import system SMS?</string> <string name="reminder_header_sms_import_title">Import system SMS</string>
<string name="reminder_header_sms_import_text">Tap to copy your phone\'s SMS messages into its encrypted database.</string> <string name="reminder_header_sms_import_text">Tap to copy your phone\'s SMS messages into its encrypted database.</string>
<string name="reminder_header_sms_import_button">IMPORT</string> <string name="reminder_header_sms_import_button">IMPORT</string>
<string name="reminder_header_push_title">Enable Signal?</string> <string name="reminder_header_push_title">Enable Signal</string>
<string name="reminder_header_push_text">Upgrade your messaging experience.</string> <string name="reminder_header_push_text">Upgrade your messaging experience.</string>
<string name="reminder_header_push_button">ENABLE</string> <string name="reminder_header_push_button">ENABLE</string>
<string name="reminder_header_invite_title">Invite to Signal?</string> <string name="reminder_header_invite_title">Invite to Signal</string>
<string name="reminder_header_invite_text">Take your conversation with %1$s to the next level.</string> <string name="reminder_header_invite_text">Take your conversation with %1$s to the next level.</string>
<string name="reminder_header_invite_button">INVITE</string> <string name="reminder_header_invite_button">INVITE</string>
<string name="reminder_header_close_button">CLOSE</string> <string name="reminder_header_close_button">CLOSE</string>

View File

@ -41,7 +41,7 @@ public class ReminderView extends LinearLayout {
private void initialize() { private void initialize() {
LayoutInflater.from(getContext()).inflate(R.layout.reminder_header, this, true); LayoutInflater.from(getContext()).inflate(R.layout.reminder_header, this, true);
container = ViewUtil.findById(this, R.id.container); container = ViewUtil.findById(this, R.id.container);
closeButton = ViewUtil.findById(this, R.id.cancel); closeButton = ViewUtil.findById(this, R.id.cancel);
title = ViewUtil.findById(this, R.id.reminder_title); title = ViewUtil.findById(this, R.id.reminder_title);
text = ViewUtil.findById(this, R.id.reminder_text); text = ViewUtil.findById(this, R.id.reminder_text);