| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<androidx.drawerlayout.widget.DrawerLayout |
| 3 |
xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 5 |
xmlns:tools="http://schemas.android.com/tools" |
| 6 |
android:id="@+id/activity_main_drawer_layout" |
| 7 |
android:layout_width="match_parent" |
| 8 |
android:layout_height="match_parent" |
| 9 |
android:fitsSystemWindows="true" |
| 10 |
tools:openDrawer="start"> |
| 11 |
|
| 12 |
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 13 |
xmlns:app="http://schemas.android.com/apk/res-auto" |
| 14 |
xmlns:tools="http://schemas.android.com/tools" |
| 15 |
android:layout_width="match_parent" |
| 16 |
android:layout_height="match_parent" |
| 17 |
android:orientation="vertical"> |
| 18 |
<androidx.appcompat.widget.Toolbar |
| 19 |
android:id="@+id/toolbar" |
| 20 |
android:minHeight="?attr/actionBarSize" |
| 21 |
android:background="@color/mygray" |
| 22 |
android:layout_width="match_parent" |
| 23 |
android:layout_height="wrap_content"> |
| 24 |
<Button |
| 25 |
android:id="@+id/filters" |
| 26 |
android:textAllCaps="false" |
| 27 |
android:layout_marginStart="30dp" |
| 28 |
android:layout_width="wrap_content" |
| 29 |
android:layout_height="40dp" |
| 30 |
android:background="@drawable/button_border" |
| 31 |
android:text="Filters"/> |
| 32 |
<Button |
| 33 |
android:id="@+id/options" |
| 34 |
android:textAllCaps="false" |
| 35 |
android:layout_marginStart="30dp" |
| 36 |
android:layout_width="wrap_content" |
| 37 |
android:layout_height="40dp" |
| 38 |
android:background="@drawable/button_border" |
| 39 |
android:text="Options"/> |
| 40 |
</androidx.appcompat.widget.Toolbar> |
| 41 |
<View |
| 42 |
android:background="@color/black" |
| 43 |
android:layout_width="match_parent" |
| 44 |
android:layout_height="2dp" /> |
| 45 |
<com.hwloc.lstopo.ZoomView.ZoomView |
| 46 |
android:layout_width="wrap_content" |
| 47 |
android:layout_height="fill_parent" |
| 48 |
android:id="@+id/zoomview"> |
| 49 |
|
| 50 |
<RelativeLayout |
| 51 |
android:layout_width="wrap_content" |
| 52 |
android:layout_height="wrap_content" |
| 53 |
android:id="@+id/zoom"> |
| 54 |
<HorizontalScrollView |
| 55 |
android:id="@+id/h_scrollview" |
| 56 |
android:layout_width="fill_parent" |
| 57 |
android:layout_height="wrap_content"> |
| 58 |
<RelativeLayout |
| 59 |
android:id="@+id/relative_layout" |
| 60 |
android:layout_width="wrap_content" |
| 61 |
android:layout_height="wrap_content" |
| 62 |
android:orientation="vertical" |
| 63 |
app:layout_constraintRight_toRightOf="parent" |
| 64 |
tools:context="com.android.lstopo.com.example.lstopo.MainActivity"> |
| 65 |
|
| 66 |
</RelativeLayout> |
| 67 |
</HorizontalScrollView> |
| 68 |
</RelativeLayout> |
| 69 |
</com.hwloc.lstopo.ZoomView.ZoomView> |
| 70 |
|
| 71 |
</LinearLayout> |
| 72 |
<com.google.android.material.navigation.NavigationView |
| 73 |
android:id="@+id/activity_main_nav_view" |
| 74 |
android:layout_width="wrap_content" |
| 75 |
android:layout_height="match_parent" |
| 76 |
app:itemIconTint="@color/drawer_item" |
| 77 |
app:itemTextColor="@color/drawer_item" |
| 78 |
app:itemBackground="@android:color/transparent" |
| 79 |
android:layout_gravity="start" |
| 80 |
android:fitsSystemWindows="true" |
| 81 |
app:headerLayout="@layout/activity_main_nav_header" |
| 82 |
app:menu="@menu/activity_main_menu_drawer" /> |
| 83 |
|
| 84 |
</androidx.drawerlayout.widget.DrawerLayout> |