Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
QuasselDroid-ng
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Janne Mareike Koschinski
QuasselDroid-ng
Commits
d6c5fd6a
Verified
Commit
d6c5fd6a
authored
5 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Fixes crash on rotation
parent
76d6d225
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/src/main/res/layout-land/layout_main.xml
+64
-55
64 additions, 55 deletions
app/src/main/res/layout-land/layout_main.xml
with
64 additions
and
55 deletions
app/src/main/res/layout-land/layout_main.xml
+
64
−
55
View file @
d6c5fd6a
...
@@ -17,79 +17,88 @@
...
@@ -17,79 +17,88 @@
with this program. If not, see <http://www.gnu.org/licenses/>.
with this program. If not, see <http://www.gnu.org/licenses/>.
-->
-->
<
androidx.coordinatorlayout.widget.Coordinato
rLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<
Linea
rLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:gravity=
"bottom"
>
android:gravity=
"bottom"
android:orientation=
"vertical"
>
<
Linea
rLayout
<
androidx.coordinatorlayout.widget.Coordinato
rLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
android:gravity=
"bottom"
>
app:layout_anchor=
"@id/fragment_chatline"
app:layout_anchorGravity=
"top"
>
<
Space
<
LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/shadow_height"
/>
android:layout_height=
"wrap_content"
android:orientation=
"vertical"
app:layout_anchor=
"@id/fragment_chatline"
app:layout_anchorGravity=
"top"
>
<de.kuschku.quasseldroid.util.ui.view.ShadowView
<Space
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/shadow_height"
android:layout_height=
"@dimen/shadow_height"
/>
android:gravity=
"bottom"
/>
</LinearLayout>
<androidx.coordinatorlayout.widget.CoordinatorLayout
<de.kuschku.quasseldroid.util.ui.view.ShadowView
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
match_paren
t"
android:layout_height=
"
@dimen/shadow_heigh
t"
android:
layout_marginBottom=
"?actionBarSize"
android:
gravity=
"bottom"
/>
android:orientation=
"vertical"
>
</LinearLayout
>
<
Frame
Layout
<
androidx.coordinatorlayout.widget.Coordinator
Layout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
>
android:layout_marginBottom=
"?actionBarSize"
android:orientation=
"vertical"
>
<fragment
<FrameLayout
android:id=
"@+id/fragment_messages"
android:name=
"de.kuschku.quasseldroid.ui.chat.messages.MessageListFragment"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
tools:ignore=
"FragmentTagUsage"
app:layout_behavior=
"@string/appbar_scrolling_view_behavior"
>
tools:layout=
"@layout/chat_messages"
/>
<de.kuschku.quasseldroid.util.ui.view.WarningBarView
<de.kuschku.quasseldroid.util.ui.view.WarningBarView
android:id=
"@+id/connection_status"
android:id=
"@+id/connection_status"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:icon=
"@drawable/ic_disconnected"
app:mode=
"none"
/>
<fragment
android:id=
"@+id/fragment_messages"
android:name=
"de.kuschku.quasseldroid.ui.chat.messages.MessageListFragment"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:ignore=
"FragmentTagUsage"
tools:layout=
"@layout/chat_messages"
/>
</FrameLayout>
<androidx.recyclerview.widget.RecyclerView
android:id=
"@+id/autocomplete_list"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
app:icon=
"@drawable/ic_disconnected"
android:background=
"?colorBackgroundCard"
app:mode=
"none"
/>
app:behavior_hideable=
"true"
</FrameLayout>
app:behavior_peekHeight=
"92dp"
app:layout_behavior=
"@string/bottom_sheet_behavior"
<androidx.recyclerview.widget.RecyclerView
tools:listitem=
"@layout/widget_nick"
/>
android:id=
"@+id/autocomplete_list"
<include
android:id=
"@+id/layout_toolbar"
layout=
"@layout/layout_toolbar"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
<fragment
android:id=
"@+id/fragment_chatline"
android:name=
"de.kuschku.quasseldroid.ui.chat.input.ChatlineFragment"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"
wrap_cont
ent"
android:layout_height=
"
match_par
ent"
a
ndroid:background=
"?colorBackgroundCard
"
a
pp:behavior_hideable=
"false
"
app:behavior_
hideable=
"tru
e"
app:behavior_
peekHeight=
"?actionBarSiz
e"
app:behavior
_peekHeight=
"92dp
"
app:
layout_
behavior
=
"@string/drag_intercept_bottom_sheet_behavior
"
app:layout_behavi
or=
"
@string/bottom_sheet_behavior
"
tools:ign
or
e
=
"
FragmentTagUsage
"
tools:l
istitem
=
"@layout/
widget_nick
"
/>
tools:l
ayout
=
"@layout/
chat_chatline
"
/>
<include
android:id=
"@+id/layout_toolbar"
layout=
"@layout/layout_toolbar"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
</LinearLayout>
<fragment
android:id=
"@+id/fragment_chatline"
android:name=
"de.kuschku.quasseldroid.ui.chat.input.ChatlineFragment"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
app:behavior_hideable=
"false"
app:behavior_peekHeight=
"?actionBarSize"
app:layout_behavior=
"@string/drag_intercept_bottom_sheet_behavior"
tools:layout=
"@layout/chat_chatline"
tools:ignore=
"FragmentTagUsage"
/>
</androidx.coordinatorlayout.widget.CoordinatorLayout>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment