Différencier le contenu de l'écran principal de celui des écrans de convs
This commit is contained in:
parent
1b9069290c
commit
a34bbf582c
|
@ -9,7 +9,7 @@ import android.view.MenuItem
|
|||
import android.view.View
|
||||
import android.widget.AdapterView
|
||||
import android.widget.ListView
|
||||
import kotlinx.android.synthetic.main.content_main.*
|
||||
import kotlinx.android.synthetic.main.content_conversation.*
|
||||
import kotlinx.android.synthetic.main.fragment_message.view.*
|
||||
import kotlinx.android.synthetic.main.view_compose.*
|
||||
import xyz.johnny.norntalk.R.id.action_secure
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
tools:context="xyz.johnny.norntalk.ConversationActivity">
|
||||
|
||||
<include
|
||||
layout="@layout/content_main"
|
||||
layout="@layout/content_conversation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@id/compose_include" />
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
android:layout_height="match_parent" >
|
||||
|
||||
<ListView
|
||||
android:id="@+id/fragment_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:transcriptMode="normal"
|
||||
android:stackFromBottom="true"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="4dp"/>
|
||||
android:transcriptMode="normal" />
|
||||
|
||||
</FrameLayout>
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
tools:context="xyz.johnny.norntalk.ui_components.ConversationFragment">
|
||||
|
||||
<include layout="@layout/conversation_view"
|
||||
|
@ -10,4 +12,4 @@
|
|||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
</FrameLayout>
|
||||
|
|
Loading…
Reference in a new issue