Skip to content

Commit

Permalink
UI coincidence implementation FIX(between photo o and photo x)
Browse files Browse the repository at this point in the history
  • Loading branch information
easyhooon committed Jun 20, 2021
1 parent 35c258c commit d296e10
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ class ArticleActivity : AppCompatActivity() {
writerId = articleModel.writerId
articleTitle = articleModel.articleTitle
if (articleModel.articleImageUrl.isEmpty()) {
binding.photoImageRecyclerView.visibility = View.GONE
binding.photoImageRecyclerView.visibility = View.INVISIBLE
} else {
fileNameList = articleModel.articleImageFileName
initImageRecyclerView()
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/res/layout/activity_add_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@
android:id="@+id/titleEditText"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.2"
android:layout_weight="1"
android:paddingTop="8dp"
android:layout_marginHorizontal="16dp"
android:padding="16dp"
android:paddingHorizontal="16dp"
android:background="@android:color/transparent"
android:hint="@string/input_title"
tools:ignore="RtlSymmetry" />
Expand All @@ -79,7 +80,6 @@
android:id="@+id/TitleEditTextUnderLineView"
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginHorizontal="14dp"
android:background="@color/gray_cc" />

<androidx.core.widget.NestedScrollView
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/activity_article.xml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
android:id="@+id/locationInfoLayout"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1.6"
android:layout_weight="1.2"
android:orientation="horizontal"
android:background="@drawable/borderline_top_bottom">

Expand Down Expand Up @@ -205,7 +205,7 @@
android:layout_height="0dp"
android:layout_gravity="center"
android:ems="10"
android:layout_weight="1.4"
android:layout_weight="1.2"
android:layout_margin="10dp"
android:text="@string/contact" />

Expand Down

0 comments on commit d296e10

Please sign in to comment.