|
@@ -5,47 +5,13 @@
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical"
|
|
android:orientation="vertical"
|
|
|
- android:padding="@dimen/common_spacing"
|
|
|
|
|
tools:context=".view.fragment.MaterialManagementFragment">
|
|
tools:context=".view.fragment.MaterialManagementFragment">
|
|
|
|
|
|
|
|
- <RelativeLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:id="@+id/iv_icon"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_centerVertical="true" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_module_name"
|
|
|
|
|
- style="@style/CommonTextView"
|
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
|
|
- android:layout_toRightOf="@id/iv_icon" />
|
|
|
|
|
-
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/tv_user"
|
|
|
|
|
- style="@style/CommonTextView"
|
|
|
|
|
- android:layout_alignParentRight="true"
|
|
|
|
|
- android:layout_centerVertical="true" />
|
|
|
|
|
-
|
|
|
|
|
- <ImageView
|
|
|
|
|
- android:layout_width="@dimen/common_icon_size"
|
|
|
|
|
- android:layout_height="@dimen/common_icon_size"
|
|
|
|
|
- android:layout_centerVertical="true"
|
|
|
|
|
- android:layout_marginRight="@dimen/common_spacing_small"
|
|
|
|
|
- android:layout_toLeftOf="@id/tv_user"
|
|
|
|
|
- android:background="@mipmap/avatar" />
|
|
|
|
|
- </RelativeLayout>
|
|
|
|
|
-
|
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
<androidx.fragment.app.FragmentContainerView
|
|
|
android:id="@+id/nav_host"
|
|
android:id="@+id/nav_host"
|
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
android:name="androidx.navigation.fragment.NavHostFragment"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
app:defaultNavHost="true"
|
|
app:defaultNavHost="true"
|
|
|
app:navGraph="@navigation/nav_graph" />
|
|
app:navGraph="@navigation/nav_graph" />
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|