diff options
Diffstat (limited to 'app/src/main/res/layout/activity_log.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_log.xml | 74 |
1 files changed, 38 insertions, 36 deletions
diff --git a/app/src/main/res/layout/activity_log.xml b/app/src/main/res/layout/activity_log.xml index af15ec2..a44f657 100644 --- a/app/src/main/res/layout/activity_log.xml +++ b/app/src/main/res/layout/activity_log.xml @@ -7,50 +7,52 @@ <include layout="@layout/app_toolbar" /> - <LinearLayout + <RelativeLayout android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" - android:orientation="vertical" android:padding="@dimen/space_m"> - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:orientation="horizontal" - android:layout_marginBottom="@dimen/space_m"> - - <Button - android:id="@+id/refresh" - style="@style/Widget.Rsend.Button.Secondary" - android:layout_width="0dp" + <LinearLayout + android:id="@+id/logActions" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_weight="1" - android:layout_marginEnd="@dimen/space_s" - android:text="Refresh" /> + android:layout_alignParentTop="true" + android:layout_marginBottom="@dimen/space_m" + android:orientation="horizontal"> - <Button - android:id="@+id/clear" - style="@style/Widget.Rsend.Button.Secondary" - android:layout_width="0dp" - android:layout_height="wrap_content" - android:layout_weight="1" - android:text="Clear" /> - </LinearLayout> + <Button + android:id="@+id/refresh" + style="@style/Widget.Rsend.Button.Secondary" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginEnd="@dimen/space_s" + android:layout_weight="1" + android:text="Refresh" /> - <ScrollView - style="@style/Widget.Rsend.Card" - android:layout_width="match_parent" - android:layout_height="0dp" - android:layout_weight="1"> + <Button + android:id="@+id/clear" + style="@style/Widget.Rsend.Button.Secondary" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" + android:text="Clear" /> + </LinearLayout> - <TextView - android:id="@+id/log" + <ScrollView + style="@style/Widget.Rsend.Card" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:textAppearance="@style/TextAppearance.Rsend.Mono" - android:textSize="11sp" - android:textIsSelectable="true" /> - </ScrollView> - </LinearLayout> + android:layout_height="match_parent" + android:layout_alignParentBottom="true" + android:layout_below="@id/logActions"> + + <TextView + android:id="@+id/log" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textAppearance="@style/TextAppearance.Rsend.Mono" + android:textIsSelectable="true" + android:textSize="11sp" /> + </ScrollView> + </RelativeLayout> </LinearLayout> |