Skip to content

Commit 8c76434

Browse files
feat: view 수정
- 툴바에 로고 추가 - fragment 배경 색 변경
1 parent 79e21bb commit 8c76434

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

app/src/main/res/layout/activity_main.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@
2828
android:paddingStart="0dp"
2929
android:paddingEnd="8dp"
3030
app:contentInsetStartWithNavigation="0dp"
31+
app:logo="@drawable/device_info_icon"
3132
app:navigationIcon="@drawable/side_menu_button" />
3233

3334
<androidx.fragment.app.FragmentContainerView
3435
android:id="@+id/fragment_container"
3536
android:name="androidx.navigation.fragment.NavHostFragment"
3637
android:layout_width="match_parent"
3738
android:layout_height="match_parent"
39+
android:background="@color/color_eeeeee"
3840
app:defaultNavHost="true"
3941
app:navGraph="@navigation/navigation_graph" />
4042

app/src/main/res/layout/fragment_device_info.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
<androidx.constraintlayout.widget.ConstraintLayout
1414
android:layout_width="match_parent"
15-
android:layout_height="match_parent"
16-
android:background="@color/white">
15+
android:layout_height="match_parent">
1716

1817
<View
1918
android:id="@+id/topView"

app/src/main/res/layout/fragment_sim_info.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
<androidx.constraintlayout.widget.ConstraintLayout
1414
android:layout_width="match_parent"
15-
android:layout_height="match_parent"
16-
android:background="@color/white">
15+
android:layout_height="match_parent">
1716

1817
<View
1918
android:id="@+id/topView"

app/src/main/res/layout/fragment_system.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
<androidx.constraintlayout.widget.ConstraintLayout
1414
android:layout_width="match_parent"
15-
android:layout_height="match_parent"
16-
android:background="@color/white">
15+
android:layout_height="match_parent">
1716

1817
<View
1918
android:id="@+id/topView"
@@ -68,7 +67,7 @@
6867
app:layout_constraintBottom_toBottomOf="parent"
6968
app:layout_constraintStart_toEndOf="@id/iv_power"
7069
app:layout_constraintTop_toBottomOf="@id/tv_last_boot_time_title"
71-
tools:text="20230710" />
70+
tools:text="3일 전" />
7271

7372
</androidx.constraintlayout.widget.ConstraintLayout>
7473

0 commit comments

Comments
 (0)