Skip to content

Commit

Permalink
fix: reduce overdraw
Browse files Browse the repository at this point in the history
  • Loading branch information
renard314 committed Dec 14, 2016
1 parent f4c02ac commit 48f1c6d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_document.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
android:background="@color/text_background"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/coordinatorLayout"
android:layout_width="match_parent"
Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/layout/fragment_document_image.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
android:inAnimation="@android:anim/fade_in"
android:outAnimation="@android:anim/fade_out"
android:id="@+id/viewSwitcher"
android:background="@android:color/white"
android:layout_width="match_parent"
android:layout_height="match_parent">

Expand Down
3 changes: 1 addition & 2 deletions app/src/main/res/layout/fragment_document_text.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>

<ViewSwitcher xmlns:android="http://schemas.android.com/apk/res/android"
android:background="@color/text_background"
android:inAnimation="@android:anim/fade_in"
android:outAnimation="@android:anim/fade_out"
android:id="@+id/viewSwitcher"
Expand All @@ -22,14 +21,14 @@
android:layout_height="wrap_content">

<EditText
android:background="@null"
android:layout_gravity="top"
android:id="@+id/editText_document"
android:textColor="?android:textColorPrimary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ems="10"
android:inputType="textMultiLine"
android:singleLine="false"
android:paddingLeft="8dp"
android:paddingRight="5dp"/>

Expand Down

0 comments on commit 48f1c6d

Please sign in to comment.