2019-12-17 13:27:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-01-06 01:07:55 +00:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-01-07 23:50:11 +00:00
|
|
|
android:id="@+id/contentView"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-01-06 01:07:55 +00:00
|
|
|
android:orientation="vertical"
|
|
|
|
android:background="@drawable/default_session_background"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-01-06 01:07:55 +00:00
|
|
|
<android.support.v7.widget.Toolbar
|
|
|
|
android:id="@+id/toolbar"
|
2019-12-17 13:27:59 +00:00
|
|
|
android:layout_width="match_parent"
|
2020-01-06 01:07:55 +00:00
|
|
|
android:layout_height="?attr/actionBarSize"
|
|
|
|
android:minHeight="?attr/actionBarSize"
|
|
|
|
app:contentInsetLeft="20dp"
|
|
|
|
app:contentInsetRight="20dp"
|
|
|
|
android:theme="?attr/actionBarStyle">
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-01-06 01:07:55 +00:00
|
|
|
<RelativeLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2020-05-11 06:19:26 +00:00
|
|
|
<org.thoughtcrime.securesms.loki.views.ProfilePictureView
|
2020-01-06 01:07:55 +00:00
|
|
|
android:id="@+id/profileButton"
|
|
|
|
android:layout_width="@dimen/small_profile_picture_size"
|
|
|
|
android:layout_height="@dimen/small_profile_picture_size"
|
2020-05-21 01:24:09 +00:00
|
|
|
android:layout_marginLeft="9dp"
|
2020-01-06 03:26:52 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2020-01-07 01:00:30 +00:00
|
|
|
android:layout_centerVertical="true" />
|
2020-01-06 01:07:55 +00:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-21 02:49:46 +00:00
|
|
|
android:text="Session"
|
2020-01-06 01:07:55 +00:00
|
|
|
android:textColor="@color/text"
|
|
|
|
android:textSize="@dimen/very_large_font_size"
|
|
|
|
android:fontFamily="sans-serif-medium"
|
2020-01-06 03:26:52 +00:00
|
|
|
android:layout_alignParentLeft="true"
|
2020-01-06 01:07:55 +00:00
|
|
|
android:layout_centerVertical="true"
|
2020-01-06 03:26:52 +00:00
|
|
|
android:layout_marginLeft="64dp" />
|
2020-01-06 01:07:55 +00:00
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
</android.support.v7.widget.Toolbar>
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-05-11 06:19:26 +00:00
|
|
|
<org.thoughtcrime.securesms.loki.views.SeedReminderView
|
2020-01-09 00:35:43 +00:00
|
|
|
android:id="@+id/seedReminderView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content" />
|
|
|
|
|
2019-12-17 13:27:59 +00:00
|
|
|
<RelativeLayout
|
2020-01-06 01:07:55 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
android:id="@+id/recyclerView"
|
|
|
|
android:layout_width="match_parent"
|
2020-03-16 22:54:58 +00:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingBottom="172dp"
|
|
|
|
android:clipToPadding="false" />
|
2020-01-06 01:07:55 +00:00
|
|
|
|
2020-03-16 04:35:14 +00:00
|
|
|
<View
|
|
|
|
android:id="@+id/gradientView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@drawable/home_activity_gradient" />
|
|
|
|
|
2020-05-11 06:19:26 +00:00
|
|
|
<org.thoughtcrime.securesms.loki.views.NewConversationButtonSetView
|
2020-03-12 04:57:53 +00:00
|
|
|
android:id="@+id/newConversationButtonSet"
|
|
|
|
android:layout_width="252dp"
|
2020-03-15 23:08:08 +00:00
|
|
|
android:layout_height="212dp"
|
2020-01-06 01:07:55 +00:00
|
|
|
android:layout_centerHorizontal="true"
|
2020-03-15 23:08:08 +00:00
|
|
|
android:layout_alignParentBottom="true" />
|
2019-12-17 13:27:59 +00:00
|
|
|
|
2020-04-20 01:54:56 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/emptyStateContainer"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingBottom="32dp"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_centerInParent="true">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:textSize="@dimen/medium_font_size"
|
|
|
|
android:textColor="@color/text"
|
|
|
|
android:text="You don't have any contacts yet" />
|
|
|
|
|
|
|
|
<Button
|
|
|
|
style="@style/MediumProminentOutlineButton"
|
|
|
|
android:id="@+id/createNewPrivateChatButton"
|
|
|
|
android:layout_width="196dp"
|
|
|
|
android:layout_height="@dimen/medium_button_height"
|
|
|
|
android:layout_marginTop="@dimen/medium_spacing"
|
|
|
|
android:text="Start a Session" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
2019-12-17 13:27:59 +00:00
|
|
|
</RelativeLayout>
|
|
|
|
|
2020-01-06 01:07:55 +00:00
|
|
|
</LinearLayout>
|