Skip to content

Commit

Permalink
[UI] : padding값 및 툴바 수
Browse files Browse the repository at this point in the history
  • Loading branch information
HJinhee committed Jul 8, 2021
1 parent 8c2953c commit e62ccd1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
20 changes: 9 additions & 11 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:paddingTop="?attr/actionBarSize"
tools:context=".MainActivity">

<!--그림자 있는건 png 파일로 다운 받아야 함-->
Expand All @@ -27,7 +25,7 @@
android:id="@+id/nav_host_fragment_activity_main"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height= "match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
app:layout_constraintBottom_toTopOf="@id/nav_view"
app:layout_constraintLeft_toLeftOf="parent"
Expand All @@ -39,16 +37,16 @@
android:id="@+id/btn_write"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
android:src="@drawable/tabbar_ic_write"
android:layout_margin="40dp"
android:elevation="20dp"
android:scaleType="fitXY"
android:clickable="true"
android:elevation="20dp"
android:focusable="true"
android:translationZ="@dimen/activity_horizontal_margin" />
android:scaleType="fitXY"
android:src="@drawable/tabbar_ic_write"
android:translationZ="@dimen/activity_horizontal_margin"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />


</androidx.constraintlayout.widget.ConstraintLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-night/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.ChaRoAndroid" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<style name="Theme.ChaRoAndroid" parent="Theme.MaterialComponents.Light.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/blue_main</item>
<item name="colorPrimaryVariant">@color/blue_52</item>
Expand Down

0 comments on commit e62ccd1

Please sign in to comment.