Skip to content

Commit

Permalink
formats layout invisible remove
Browse files Browse the repository at this point in the history
  • Loading branch information
tastelessjolt committed Sep 15, 2018
1 parent a3f5b22 commit d6711e3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 0 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ dependencies {
implementation 'com.google.android.material:material:1.0.0-rc01'
implementation 'androidx.cardview:cardview:1.0.0-rc01'

implementation 'com.liulishuo.okdownload:okhttp:1.0.4'
implementation 'com.liulishuo.okdownload:okdownload:1.0.4'

testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ public boolean onEditorAction(TextView v, int actionId, KeyEvent event) {
startPoint(null);
return true;
default:
Log.d("Edit text GOT", actionId + " " + event.getKeyCode());
return false;
}
}
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
</com.google.android.material.appbar.AppBarLayout>
<androidx.core.widget.NestedScrollView
android:id="@+id/mainContent"
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
Expand Down Expand Up @@ -119,7 +121,7 @@
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="18dp"
android:layout_marginRight="18dp"
android:layout_marginEnd="18dp"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:textSize="16sp"
Expand All @@ -140,7 +142,7 @@

app:backgroundTint="@color/backgroundColor"
app:layout_anchor="@id/mainContent"
app:layout_anchorGravity="bottom|right">
app:layout_anchorGravity="bottom|end">

</com.google.android.material.button.MaterialButton>

Expand Down
3 changes: 0 additions & 3 deletions app/src/main/res/layout/formats_layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
style="@style/Widget.MaterialComponents.CardView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:translationZ="0dp"
android:elevation="0dp"
android:visibility="gone"
app:behavior_hideable="true"
app:behavior_peekHeight="300dp"

Expand Down
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.2.0-rc02'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand Down

0 comments on commit d6711e3

Please sign in to comment.