Tweak reminder layout

Closes #6586
// FREEBIE
This commit is contained in:
Mateo Hernandez 2017-04-26 22:24:34 -05:00 committed by Moxie Marlinspike
parent 58a5e1f33c
commit da6a00c4dc

View File

@ -1,69 +1,55 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical" android:id="@+id/container"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout android:id="@+id/container"
android:orientation="horizontal"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:background="@drawable/reminder_background"
tools:visibility="visible"
android:padding="2dp"
android:gravity="center_vertical"
android:focusable="true" android:focusable="true"
android:nextFocusRight="@+id/cancel" android:nextFocusRight="@+id/cancel"
android:background="@drawable/reminder_background"> android:orientation="horizontal"
android:visibility="gone"
tools:visibility="visible">
<LinearLayout android:id="@+id/reminder" <LinearLayout
android:id="@+id/reminder"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:layout_margin="10dp" android:layout_margin="16dp"
android:orientation="vertical"> android:orientation="vertical">
<TextView android:id="@+id/reminder_title" <TextView
android:id="@+id/reminder_title"
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="4dp"
tools:text="Invite to Signal"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="18sp"/> android:textSize="18sp"
tools:text="Invite to Signal"/>
<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"
tools:text="Take your conversation with Jules Bonnot to the next level."/>
</LinearLayout> </LinearLayout>
<LinearLayout android:layout_width="wrap_content" <ImageButton
android:layout_height="match_parent" android:id="@+id/cancel"
android:gravity="right" android:layout_width="48dp"
android:layout_marginLeft="15dp" android:layout_height="48dp"
android:orientation="vertical"> android:layout_marginTop="2dp"
android:background="?selectableItemBackgroundBorderless"
<LinearLayout android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:gravity="top">
<ImageButton android:id="@+id/cancel"
android:layout_width="40dp"
android:layout_height="40dp"
android:padding="10dp"
android:focusable="true" android:focusable="true"
android:nextFocusRight="@+id/container"
android:nextFocusLeft="@+id/container" android:nextFocusLeft="@+id/container"
android:background="@drawable/touch_highlight_background" android:nextFocusRight="@+id/container"
android:src="@drawable/ic_close_white_24dp"/> android:src="@drawable/ic_close_white_24dp"
</LinearLayout> android:contentDescription="@string/InviteActivity_cancel"/>
</LinearLayout>
</LinearLayout> </LinearLayout>
</LinearLayout>